Updates nvim config
This commit is contained in:
parent
21596087a5
commit
629929a1fc
16 changed files with 108 additions and 162 deletions
|
|
@ -1,26 +0,0 @@
|
|||
return {
|
||||
"stevearc/conform.nvim",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim",
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
},
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
typescriptreact = { "prettierd" },
|
||||
typescript = { "prettierd" },
|
||||
javascript = { "prettierd" },
|
||||
javascriptreact = { "prettierd" },
|
||||
html = { "prettierd" },
|
||||
css = { "prettierd" },
|
||||
yaml = { "prettierd" },
|
||||
markdown = { "prettierd" },
|
||||
json = { "prettierd" },
|
||||
lua = { "stylua" },
|
||||
},
|
||||
format_on_save = {
|
||||
-- These options will be passed to conform.format()
|
||||
timeout_ms = 300,
|
||||
lsp_format = "fallback",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue