chore: clang-format from macports for neoformat

main
sudo pacman -Syu 2023-05-14 20:49:11 +07:00
parent ed96ac96fc
commit b28d588bf1
2 changed files with 15 additions and 11 deletions

View File

@ -58,7 +58,22 @@ vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- Use plugin neoformat
vim.g.neoformat_cpp_clangformatmacports = {
exe = "clang-format-mp-15",
args = { "-style=file" },
}
vim.g.neoformat_enabled_cpp = { "clangformatmacports" }
vim.g.neoformat_c_clangformatmacports = {
exe = "clang-format-mp-15",
args = { "-style=file" },
}
vim.g.neoformat_enabled_c = { "clangformatmacports" }
vim.g.neoformat_enabled_go = { "gofumpt" }
vim.g.shfmt_opt = "-ci"
-- Use plugin vim-go

View File

@ -92,17 +92,6 @@ if command -v nnn &>/dev/null; then
export NNN_PLUG="p:-preview-tui"
fi
# TODO: Randomly choose which fun way to start
# https://github.com/dylanaraps/pfetch
# if command -v pfetch &>/dev/null; then
# pfetch
# fi
# https://github.com/shlomif/fortune-mod
# if command -v fortune &>/dev/null; then
# fortune
# fi
# https://gitlab.com/phoneybadger/pokemon-colorscripts
if command -v pokemon-colorscripts &>/dev/null; then
pokemon-colorscripts --no-title -r 1-8