chore: clang-format from macports for neoformat
parent
ed96ac96fc
commit
b28d588bf1
|
@ -58,7 +58,22 @@ vim.g.loaded_netrw = 1
|
||||||
vim.g.loaded_netrwPlugin = 1
|
vim.g.loaded_netrwPlugin = 1
|
||||||
|
|
||||||
-- Use plugin neoformat
|
-- 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.neoformat_enabled_go = { "gofumpt" }
|
||||||
|
|
||||||
vim.g.shfmt_opt = "-ci"
|
vim.g.shfmt_opt = "-ci"
|
||||||
|
|
||||||
-- Use plugin vim-go
|
-- Use plugin vim-go
|
||||||
|
|
|
@ -92,17 +92,6 @@ if command -v nnn &>/dev/null; then
|
||||||
export NNN_PLUG="p:-preview-tui"
|
export NNN_PLUG="p:-preview-tui"
|
||||||
fi
|
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
|
# https://gitlab.com/phoneybadger/pokemon-colorscripts
|
||||||
if command -v pokemon-colorscripts &>/dev/null; then
|
if command -v pokemon-colorscripts &>/dev/null; then
|
||||||
pokemon-colorscripts --no-title -r 1-8
|
pokemon-colorscripts --no-title -r 1-8
|
||||||
|
|
Loading…
Reference in New Issue