nvim: fix tsserver

This commit is contained in:
Daniel Kempkens 2023-11-27 13:45:25 +01:00
parent f2c2d365ea
commit 17dd4438d3
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -70,10 +70,7 @@
:includeInlayPropertyDeclarationTypeHints true :includeInlayPropertyDeclarationTypeHints true
:includeInlayFunctionLikeReturnTypeHints true :includeInlayFunctionLikeReturnTypeHints true
:includeInlayEnumMemberValueHints true}] :includeInlayEnumMemberValueHints true}]
(lsp.tsserver.setup (->> {:cmd [:typescript-language-server (lsp.tsserver.setup (->> {:cmd [:typescript-language-server :--stdio]
:--stdio
:--tsserver-path
:tsserver]
:settings {:typescript {:inlayHints inlay-hints} :settings {:typescript {:inlayHints inlay-hints}
:javascript {:inlayHints inlay-hints}}} :javascript {:inlayHints inlay-hints}}}
(vim.tbl_extend :force default-config)))) (vim.tbl_extend :force default-config))))