revert settings change

This commit is contained in:
OneOfOne 2023-10-03 16:18:14 -05:00
parent cb61b30515
commit bfb47ccf4f
No known key found for this signature in database
GPG key ID: F3A4E8B6760B7805

View file

@ -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,
}, },