From b27f91770d559dfbdbb3d7356d19c96cd43b4b72 Mon Sep 17 00:00:00 2001 From: pwnwriter Date: Mon, 7 Oct 2024 08:10:25 -0400 Subject: [PATCH] chore(lsp): complete function brackets in tyserver --- lua/plugins/mini_nvim.lua | 10 ++++------ lua/plugins/servers.lua | 5 +++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lua/plugins/mini_nvim.lua b/lua/plugins/mini_nvim.lua index 02b3419..2a0e710 100644 --- a/lua/plugins/mini_nvim.lua +++ b/lua/plugins/mini_nvim.lua @@ -110,12 +110,10 @@ M.clue = { } M.notify = { - window = { -winblend = 0, - - }, - - } + window = { + winblend = 0, + }, +} M.git = {} diff --git a/lua/plugins/servers.lua b/lua/plugins/servers.lua index fc3648c..73fde57 100644 --- a/lua/plugins/servers.lua +++ b/lua/plugins/servers.lua @@ -46,6 +46,11 @@ lspconfig.ts_ls.setup { hostInfo = "neovim", }, single_file_support = true, + settings = { + completions = { + completeFunctionCalls = true, + }, + }, } lspconfig.gleam.setup {}