missing files
This commit is contained in:
parent
4cc1aa7a15
commit
ac3f869b1d
6 changed files with 336 additions and 0 deletions
10
lua/custom/plugins/neoformat.lua
Normal file
10
lua/custom/plugins/neoformat.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
vim.g.neoformat_try_node_exe = 1
|
||||
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
pattern = { "*.json", "*.jsonc", "*.js", "*.ts", "*.tsx", "*.jsx" },
|
||||
command = "silent Neoformat prettier",
|
||||
})
|
||||
|
||||
return {
|
||||
"sbdchd/neoformat",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue