Skip to content

Commit

Permalink
Remove redundant lua ls setup
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed Dec 31, 2024
1 parent 01bca65 commit 96f3271
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions nvim/lua/plugins/mason.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,36 +37,6 @@ local function configure()
end

if os.execute("is termux") ~= 0 then
lsp_config.lua_ls.setup({
on_attach = on_attach,
capabilities = capabilities,
settings = {
Lua = {
runtime = {
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
version = "LuaJIT",
},
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = { "vim" },
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
checkThirdParty = false,
},
-- Do not send telemetry data containing a randomized but unique identifier
telemetry = {
enable = false,
},
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
},
},
})

lsp_config.ts_ls.setup({
on_attach = on_attach,
capabilities = capabilities,
Expand Down

0 comments on commit 96f3271

Please sign in to comment.