Skip to content

Commit

Permalink
Fix deperecation warning
Browse files Browse the repository at this point in the history
I'm awaiting
williamboman/mason-lspconfig.nvim#458 to be
resolved.
  • Loading branch information
alau committed Sep 6, 2024
1 parent c7d80c5 commit 322e5b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dot_config/nvim/lua/alau/plugin_configs/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ lspconfig.pyright.setup({
})

-- typescript
lspconfig.tsserver.setup({
lspconfig.ts_ls.setup({
capabilities = capabilities,
on_attach = on_attach,
single_file_suppert = true
Expand Down
4 changes: 2 additions & 2 deletions dot_config/nvim/lua/alau/plugin_configs/mason.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require("mason").setup()
require("mason-lspconfig").setup({
ensure_installed = {
"lua_ls", "pyright", "tsserver", "sqlls", "rust_analyzer",
"terraformls", "dockerls", "helm_ls", "jsonls", "gopls"
"lua_ls", "pyright", "ts_ls", "sqlls", "rust_analyzer", "terraformls",
"dockerls", "helm_ls", "jsonls", "gopls"
}
})
require("mason-nvim-lint").setup()
Expand Down

0 comments on commit 322e5b1

Please sign in to comment.