mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
Add formatter for typescript and typescriptreact (#920)
This commit is contained in:
parent
75b5cc4d9f
commit
3dfb4184b7
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ O.formatters.filetype["javascriptreact"] = {
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
O.formatters.filetype["javascript"] = O.formatters.filetype["javascriptreact"]
|
O.formatters.filetype["javascript"] = O.formatters.filetype["javascriptreact"]
|
||||||
|
O.formatters.filetype["typescript"] = O.formatters.filetype["javascriptreact"]
|
||||||
|
O.formatters.filetype["typescriptreact"] = O.formatters.filetype["javascriptreact"]
|
||||||
|
|
||||||
require("formatter.config").set_defaults {
|
require("formatter.config").set_defaults {
|
||||||
logging = false,
|
logging = false,
|
||||||
|
|
Loading…
Reference in a new issue