fixed formatting
This commit is contained in:
parent
6a7dc04b6d
commit
b33f3c3f53
|
|
@ -12,6 +12,7 @@ require("formatter").setup(
|
||||||
filetype = {
|
filetype = {
|
||||||
typescriptreact = {prettierd},
|
typescriptreact = {prettierd},
|
||||||
json = {prettierd},
|
json = {prettierd},
|
||||||
|
jsonc = {prettierd},
|
||||||
css = {prettierd},
|
css = {prettierd},
|
||||||
scss = {prettierd},
|
scss = {prettierd},
|
||||||
markdown = {prettierd},
|
markdown = {prettierd},
|
||||||
|
|
@ -72,7 +73,7 @@ vim.api.nvim_exec(
|
||||||
[[
|
[[
|
||||||
augroup FormatAutogroup
|
augroup FormatAutogroup
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufWritePost *.h,*.cpp,*.rs,*.lua,*.tsx,*.ts,*.js,*.jsx,*.json FormatWrite
|
autocmd BufWritePost *.h,*.cpp,*.rs,*.lua,*.tsx,*.ts,*.js,*.jsx,*.json,*.jsonc FormatWrite
|
||||||
augroup END
|
augroup END
|
||||||
]],
|
]],
|
||||||
true
|
true
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,7 @@ require "window-picker".setup(
|
||||||
buftype = {"terminal", "quickfix"}
|
buftype = {"terminal", "quickfix"}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selection_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
selection_chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
other_win_hl_color = "#519aba"
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue