diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-01-14 15:55:59 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-01-14 15:55:59 +0100 |
| commit | 2fe1e0e5209edc66e896077fd4d368ec43e5911b (patch) | |
| tree | 4d9ba759de483bc1ae0852e13927ec86a55655c3 /nvim/lua/plugins | |
| parent | c24691dc29a973e80d877fafafe26a7794b8b019 (diff) | |
| download | dotfiles-2fe1e0e5209edc66e896077fd4d368ec43e5911b.tar.gz dotfiles-2fe1e0e5209edc66e896077fd4d368ec43e5911b.tar.bz2 dotfiles-2fe1e0e5209edc66e896077fd4d368ec43e5911b.zip | |
neovim: Bneutzer wieder ts_ls als LSP
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/lsp.lua | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 17ca039..825ffb6 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua | |||
| @@ -38,8 +38,22 @@ return { | |||
| 38 | capabilities = capabilities, | 38 | capabilities = capabilities, |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | vim.lsp.config.tsserver = { | 41 | vim.lsp.config.ts_ls = { |
| 42 | capabilities = capabilities, | 42 | capabilities = capabilities, |
| 43 | settings = { | ||
| 44 | typescript = { | ||
| 45 | inlayHints = { | ||
| 46 | includeInlayParameterNameHints = "all", | ||
| 47 | includeInlayVariableTypeHints = true, | ||
| 48 | includeInlayFunctionLikeReturnTypeHints = true, | ||
| 49 | }, | ||
| 50 | }, | ||
| 51 | javascript = { | ||
| 52 | inlayHints = { | ||
| 53 | includeInlayParameterNameHints = "all", | ||
| 54 | }, | ||
| 55 | }, | ||
| 56 | }, | ||
| 43 | } | 57 | } |
| 44 | 58 | ||
| 45 | vim.lsp.config.pyright = { | 59 | vim.lsp.config.pyright = { |
| @@ -59,7 +73,7 @@ return { | |||
| 59 | "bashls", -- npm install -g bash-language-server, pkg install hs-ShellCheck | 73 | "bashls", -- npm install -g bash-language-server, pkg install hs-ShellCheck |
| 60 | "clangd", -- pkg install llvm | 74 | "clangd", -- pkg install llvm |
| 61 | "lua_ls", -- pkg install lua-language-server | 75 | "lua_ls", -- pkg install lua-language-server |
| 62 | "tsserver", -- npm install -g typescript typescript-language-server | 76 | "ts_ls", -- npm install -g typescript typescript-language-server |
| 63 | "pyright", -- npm install -g pyright, brew install pyright | 77 | "pyright", -- npm install -g pyright, brew install pyright |
| 64 | }) | 78 | }) |
| 65 | end, | 79 | end, |
