update(vim): cleanup
This commit is contained in:
parent
d2a05ae764
commit
00d3d2d3f8
1 changed files with 10 additions and 14 deletions
24
hm/vim.nix
24
hm/vim.nix
|
|
@ -293,11 +293,6 @@ in
|
||||||
plugin = vp.conform-nvim;
|
plugin = vp.conform-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ''
|
config = ''
|
||||||
require("conform").setup({
|
|
||||||
formatters_by_ft = {
|
|
||||||
-- lua = { "stylua" }
|
|
||||||
}
|
|
||||||
})
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -347,17 +342,18 @@ in
|
||||||
config = ''
|
config = ''
|
||||||
require("conform").setup({
|
require("conform").setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
javascript = { "prettier" },
|
|
||||||
typescript = { "prettier" },
|
|
||||||
javascriptreact = { "prettier" },
|
|
||||||
typescriptreact = { "prettier" },
|
|
||||||
svelte = { "prettier" },
|
|
||||||
css = { "prettier" },
|
css = { "prettier" },
|
||||||
html = { "prettier" },
|
|
||||||
json = { "prettier" },
|
|
||||||
yaml = { "prettier" },
|
|
||||||
markdown = { "prettier" },
|
|
||||||
graphql = { "prettier" },
|
graphql = { "prettier" },
|
||||||
|
html = { "prettier" },
|
||||||
|
javascript = { "prettier" },
|
||||||
|
javascriptreact = { "prettier" },
|
||||||
|
json = { "prettier" },
|
||||||
|
markdown = { "prettier" },
|
||||||
|
svelte = { "prettier" },
|
||||||
|
typescript = { "prettier" },
|
||||||
|
typescriptreact = { "prettier" },
|
||||||
|
yaml = { "prettier" },
|
||||||
|
-- lua = { "stylua" }
|
||||||
},
|
},
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
-- These options will be passed to conform.format()
|
-- These options will be passed to conform.format()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue