add nix ftplugin
This commit is contained in:
11
lua/plugins/conform.lua
Normal file
11
lua/plugins/conform.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
'stevearc/conform.nvim',
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
python = { "isort", "black" },
|
||||
rust = { "rustfmt", lsp_format = "fallback" },
|
||||
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user