nvim-vtsls
nvim-vtsls copied to clipboard
Increasing maxTsServerMemory
I'm using LazyVim and constantly facing issues with increasing the memory size on the tsserver, tried adding the option through the lsp config plugin, but it didn´t have any effect.
Here's what I tried:
return {
"neovim/nvim-lspconfig",
opts = function()
servers = {
vtsls = {
initialization_options = {
typescript = {
tsserver = {
maxTsServerMemory=32768,
},
},
},
},
}
end,
}
Do I need to change this in another location or try something else?
initialization_options -> settings