mirror of
https://github.com/sadan4/nvim.git
synced 2025-06-08 12:53:02 -04:00
things
This commit is contained in:
parent
8b69dfe4bf
commit
555767ac22
4 changed files with 50 additions and 0 deletions
|
@ -70,6 +70,48 @@ require("formatter").setup({
|
|||
}
|
||||
end,
|
||||
},
|
||||
typescriptreact = {
|
||||
require("formatter.filetypes.typescriptreact").eslint_d,
|
||||
function()
|
||||
return {
|
||||
args = {
|
||||
"--stdin",
|
||||
"--fix-to-stdout",
|
||||
},
|
||||
exe = "eslint_d",
|
||||
stdin = true,
|
||||
try_node_modules = true,
|
||||
}
|
||||
end,
|
||||
},
|
||||
javascript = {
|
||||
require("formatter.filetypes.javascript").eslint_d,
|
||||
function ()
|
||||
return {
|
||||
args = {
|
||||
"--stdin",
|
||||
"--fix-to-stdout",
|
||||
},
|
||||
exe = "eslint_d",
|
||||
stdin = true,
|
||||
try_node_modules = true,
|
||||
}
|
||||
end
|
||||
},
|
||||
javascriptreact = {
|
||||
require("formatter.filetypes.javascriptreact").eslint_d,
|
||||
function ()
|
||||
return {
|
||||
args = {
|
||||
"--stdin",
|
||||
"--fix-to-stdout",
|
||||
},
|
||||
exe = "eslint_d",
|
||||
stdin = true,
|
||||
try_node_modules = true,
|
||||
}
|
||||
end
|
||||
},
|
||||
cpp = {
|
||||
require("formatter.filetypes.c").clangformat,
|
||||
function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue