fix(typescript): bring back function call completion snippets

This commit is contained in:
Iordanis Petkakis 2023-12-26 11:36:18 +02:00
parent 629bdd64ec
commit d10320d4ad

View file

@ -17,7 +17,6 @@ return {
-- make sure mason installs the server -- make sure mason installs the server
servers = { servers = {
---@type lspconfig.options.tsserver ---@type lspconfig.options.tsserver
---@diagnostic disable-next-line: missing-fields
tsserver = { tsserver = {
keys = { keys = {
{ {
@ -47,6 +46,12 @@ return {
desc = "Remove Unused Imports", desc = "Remove Unused Imports",
}, },
}, },
---@diagnostic disable-next-line: missing-fields
settings = {
completions = {
completeFunctionCalls = true,
},
},
}, },
}, },
}, },