aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/tsserver.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lspconfig/tsserver.lua b/lua/lspconfig/tsserver.lua
index 76c21359..44d92fdd 100644
--- a/lua/lspconfig/tsserver.lua
+++ b/lua/lspconfig/tsserver.lua
@@ -9,6 +9,7 @@ end
configs[server_name] = {
default_config = {
+ init_options = { hostInfo = 'neovim' },
cmd = { bin_name, '--stdio' },
filetypes = { 'javascript', 'javascriptreact', 'javascript.jsx', 'typescript', 'typescriptreact', 'typescript.tsx' },
root_dir = function(fname)