aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasheed Atanda <atandarash@gmail.com>2025-08-31 18:34:55 +0100
committerGitHub <noreply@github.com>2025-08-31 10:34:55 -0700
commiteeae0957130a02860b2d154a74d50f180a2d0910 (patch)
tree9de2f9055638a1a03a564eb7c5570e23e657765f
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.tar
nvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.tar.gz
nvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.tar.bz2
nvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.tar.lz
nvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.tar.xz
nvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.tar.zst
nvim-lspconfig-eeae0957130a02860b2d154a74d50f180a2d0910.zip
fix(vtsls): inform the LS its client is neovim #4048
-rw-r--r--lsp/vtsls.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp/vtsls.lua b/lsp/vtsls.lua
index 258e8eaa..d9c2f1e4 100644
--- a/lsp/vtsls.lua
+++ b/lsp/vtsls.lua
@@ -68,6 +68,9 @@
---@type vim.lsp.Config
return {
cmd = { 'vtsls', '--stdio' },
+ init_options = {
+ hostInfo = 'neovim',
+ },
filetypes = {
'javascript',
'javascriptreact',