1
0
Fork 0

nvim: fix ts_ls

This commit is contained in:
Daniel Kempkens 2024-10-02 13:48:58 +02:00
parent c7d89d7f1b
commit 863f58527c
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -91,7 +91,7 @@
:includeInlayPropertyDeclarationTypeHints true :includeInlayPropertyDeclarationTypeHints true
:includeInlayFunctionLikeReturnTypeHints true :includeInlayFunctionLikeReturnTypeHints true
:includeInlayEnumMemberValueHints true}] :includeInlayEnumMemberValueHints true}]
(lsp.tsserver.setup (->> {:cmd [:typescript-language-server :--stdio] (lsp.ts_ls.setup (->> {:cmd [:typescript-language-server :--stdio]
: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))))