From d10320d4add276dd9f779e7f6d00366b82b07b78 Mon Sep 17 00:00:00 2001 From: Iordanis Petkakis Date: Tue, 26 Dec 2023 11:36:18 +0200 Subject: [PATCH] fix(typescript): bring back function call completion snippets --- lua/lazyvim/plugins/extras/lang/typescript.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/lang/typescript.lua b/lua/lazyvim/plugins/extras/lang/typescript.lua index 1033900f..4bb280d6 100644 --- a/lua/lazyvim/plugins/extras/lang/typescript.lua +++ b/lua/lazyvim/plugins/extras/lang/typescript.lua @@ -17,7 +17,6 @@ return { -- make sure mason installs the server servers = { ---@type lspconfig.options.tsserver - ---@diagnostic disable-next-line: missing-fields tsserver = { keys = { { @@ -47,6 +46,12 @@ return { desc = "Remove Unused Imports", }, }, + ---@diagnostic disable-next-line: missing-fields + settings = { + completions = { + completeFunctionCalls = true, + }, + }, }, }, },