Skip to content

Commit

Permalink
fix(lsp-config): update tsserver handler to ts_ls
Browse files Browse the repository at this point in the history
- Updated the handler for tsserver to ts_ls as per the changes in nvim-lspconfig (neovim/nvim-lspconfig#3232).
  • Loading branch information
CoMfUcIoS committed Sep 6, 2024
1 parent dc2ff0e commit 9e040bf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"aurora": { "branch": "master", "commit": "af3e80a8ca4f9a6e3bd40e2ba12073c1d0041a81" },
"auto-save.nvim": { "branch": "main", "commit": "5fe9ab0c42f0457f2a973e814a6352b8eeb04730" },
"auto-session": { "branch": "main", "commit": "a90aa7730efa60fdcc7e00497a8f36d94a6da709" },
"avante.nvim": { "branch": "main", "commit": "33c9ac216df66a39ec393aa29e1bc79e0c140319" },
"avante.nvim": { "branch": "main", "commit": "7015dde5bfa0f63af774614248a3c59466c93c79" },
"bamboo": { "branch": "master", "commit": "02230fc2461e916d9e2a44b5f3487376d9ca3042" },
"base16": { "branch": "master", "commit": "6ac181b5733518040a33017dde654059cd771b7c" },
"blue-moon": { "branch": "master", "commit": "69cbaf2a2b28a94ba7c8dc1bb5e86ceb5501785a" },
Expand Down Expand Up @@ -81,7 +81,7 @@
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" },
"nvim-autopairs": { "branch": "master", "commit": "fd2badc24e675f947162a16c124d395bde80dbd6" },
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
"nvim-dap": { "branch": "master", "commit": "281a2e4cd1e7a17cea7ecb1745d84a8ab1249925" },
"nvim-dap": { "branch": "master", "commit": "20a4859ebde1c9bc8e96f8cc11a20667e7fdd516" },
"nvim-dap-go": { "branch": "main", "commit": "5511788255c92bdd845f8d9690f88e2e0f0ff9f2" },
"nvim-dap-ui": { "branch": "master", "commit": "1c351e4e417d4691da12948b6ecf966936a56d28" },
"nvim-lint": { "branch": "master", "commit": "a7ce9c78a7c710c28bee56dfab10a5c0c80b7fb5" },
Expand All @@ -92,20 +92,20 @@
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
"nvim-tmux-navigation": { "branch": "main", "commit": "4898c98702954439233fdaf764c39636681e2861" },
"nvim-tree.lua": { "branch": "master", "commit": "ea55ef12036897fdc4476b115a395d2a34965c82" },
"nvim-treesitter": { "branch": "master", "commit": "3826d0c42ac635f560479b5b6ab522f6627a3466" },
"nvim-treesitter": { "branch": "master", "commit": "093b29f2b409278e2ed69a90462fee54714b5a84" },
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" },
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" },
"nvim-web-devicons": { "branch": "master", "commit": "9793801f974bba70e4ac5d7eae6c4f5659993d8e" },
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
"oceanic-next": { "branch": "master", "commit": "09833f72d5ba23de2e8bcae18f479f326f5f677a" },
"octo.nvim": { "branch": "master", "commit": "b4923dc97555c64236c4535b2adf75c74c00caca" },
"octo.nvim": { "branch": "master", "commit": "ccc5279367876f2d7586d4e0da8dc7f880f29b2c" },
"one_monokai": { "branch": "main", "commit": "18da45f4b0fdfa8ff2c354ac748e03cb910725e6" },
"plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" },
"poimandres": { "branch": "main", "commit": "77635055e686ae3c8a519198006ff0b43b6b2eae" },
"pomo.nvim": { "branch": "main", "commit": "7e06e5221d8d1e596a0ab29dd4d7fcee5f3cd05a" },
"rasmus": { "branch": "main", "commit": "86d608bd1d12a53b39d9b4b2847cd7c3ea81d473" },
"render-markdown.nvim": { "branch": "main", "commit": "2f9d4f0be8784ed4fef5960eb7b80bf60c5fdf56" },
"rest.nvim": { "branch": "main", "commit": "a29c53427b94d773d7352118c5fb9ca9b5772bc3" },
"rest.nvim": { "branch": "main", "commit": "9e00468da985082faa472e689ffda59e63154270" },
"rose-pine": { "branch": "main", "commit": "8b1fd252255a7f2c41b4192a787ab62660b29f72" },
"selenized": { "branch": "main", "commit": "a43e34d91c3ed9b9c6803150b62458f81e000f31" },
"solarized": { "branch": "master", "commit": "d69a263c97cbc765ca442d682b3283aefd61d4ac" },
Expand Down
1 change: 1 addition & 0 deletions lua/plugins/avante.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ return {
-- add any opts here
provider = "copilot",
},
build = "make",
keys = {
{
"<leader>za",
Expand Down
4 changes: 4 additions & 0 deletions lua/plugins/lsp-config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ return {
mason_lspconfig.setup_handlers({
-- default handler for installed servers
function(server_name)
-- https://github.com/neovim/nvim-lspconfig/pull/3232
if server_name == "tsserver" then
server_name = "ts_ls"
end
lspconfig[server_name].setup({
capabilities = capabilities,
})
Expand Down

0 comments on commit 9e040bf

Please sign in to comment.