Skip to content

Commit

Permalink
Add tsserver into the mix
Browse files Browse the repository at this point in the history
  • Loading branch information
xbili committed Jan 8, 2024
1 parent 6af8706 commit 719a69f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ capabilities = require("cmp_nvim_lsp").default_capabilities(capabilities)
local mason_lspconfig = require("mason-lspconfig")

mason_lspconfig.setup({
ensure_installed = { "lua_ls", "luau_lsp" },
ensure_installed = { "lua_ls", "luau_lsp", "tsserver" },
})

-- Make sure that we do not load up lua_ls if we are in a Roblox project
Expand Down Expand Up @@ -669,6 +669,8 @@ else
})
end

require("lspconfig")["tsserver"].setup({})

-- [[ Configure nvim-cmp ]]
-- See `:help cmp`
local cmp = require("cmp")
Expand Down

0 comments on commit 719a69f

Please sign in to comment.