diff options
| author | Nicolás Baquero <88566759+Cheveniko@users.noreply.github.com> | 2024-09-10 15:27:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-10 16:27:24 -0400 |
| commit | 6a1587729eaa2c462438b4421f12d502dd5b6016 (patch) | |
| tree | 286ab0a43ceaa9400ceec1fd927b7d3c808569dd /nvim/init.lua | |
| parent | 87ea0aa32bab7673793c71aed79c7f44ee02caf3 (diff) | |
| download | dots-6a1587729eaa2c462438b4421f12d502dd5b6016.tar.gz | |
feat: update references of tsserver to ts_ls (#1131)
Diffstat (limited to 'nvim/init.lua')
| -rw-r--r-- | nvim/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 13c8143..ea86b79 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -614,8 +614,8 @@ require('lazy').setup({ -- Some languages (like typescript) have entire language plugins that can be useful: -- https://github.com/pmizio/typescript-tools.nvim -- - -- But for many setups, the LSP (`tsserver`) will work just fine - -- tsserver = {}, + -- But for many setups, the LSP (`ts_ls`) will work just fine + -- ts_ls = {}, -- lua_ls = { @@ -656,7 +656,7 @@ require('lazy').setup({ local server = servers[server_name] or {} -- This handles overriding only values explicitly passed -- by the server configuration above. Useful when disabling - -- certain features of an LSP (for example, turning off formatting for tsserver) + -- certain features of an LSP (for example, turning off formatting for ts_ls) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) require('lspconfig')[server_name].setup(server) end, |