chore(home-manager): put neovim plugins configuration in a separate directory
This commit is contained in:
parent
a8c87655ac
commit
d9aecb3e19
16 changed files with 13 additions and 84 deletions
12
modules/home-manager/cli/neovim/files/plugins/conform.lua
Normal file
12
modules/home-manager/cli/neovim/files/plugins/conform.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
require("conform").setup({
|
||||
format_on_save = {
|
||||
-- These options will be passed to conform.format()
|
||||
timeout_ms = 500,
|
||||
lsp_format = "never",
|
||||
},
|
||||
formatters_by_ft = {
|
||||
yaml = {"yamlfmt"},
|
||||
sh = { "shfmt" },
|
||||
["_"] = { "trim_whitespace" },
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue