mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
revert settings change
This commit is contained in:
parent
cb61b30515
commit
bfb47ccf4f
1 changed files with 14 additions and 10 deletions
|
|
@ -1,11 +1,3 @@
|
||||||
local fmt_opts = {
|
|
||||||
format = {
|
|
||||||
indentSize = vim.o.shiftwidth,
|
|
||||||
convertTabsToSpaces = vim.o.expandtab,
|
|
||||||
tabSize = vim.o.tabstop,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
||||||
-- add typescript to treesitter
|
-- add typescript to treesitter
|
||||||
|
|
@ -42,8 +34,20 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
settings = {
|
settings = {
|
||||||
typescript = fmt_opts,
|
typescript = {
|
||||||
javascript = fmt_opts,
|
format = {
|
||||||
|
indentSize = vim.o.shiftwidth,
|
||||||
|
convertTabsToSpaces = vim.o.expandtab,
|
||||||
|
tabSize = vim.o.tabstop,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
javascript = {
|
||||||
|
format = {
|
||||||
|
indentSize = vim.o.shiftwidth,
|
||||||
|
convertTabsToSpaces = vim.o.expandtab,
|
||||||
|
tabSize = vim.o.tabstop,
|
||||||
|
},
|
||||||
|
},
|
||||||
completions = {
|
completions = {
|
||||||
completeFunctionCalls = true,
|
completeFunctionCalls = true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue