diff --git a/nvim/lua/conf/lspconfig/init.lua b/nvim/lua/conf/lspconfig/init.lua index 80ebddbf..37aded79 100644 --- a/nvim/lua/conf/lspconfig/init.lua +++ b/nvim/lua/conf/lspconfig/init.lua @@ -9,29 +9,29 @@ lspconfig.eslint.setup({ }) end, }) -lspconfig.lua_ls.setup { - 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 = { 'hs', 'vim' }, - }, - workspace = { - checkThirdParty = false, - -- Make the server aware of Neovim runtime files - library = vim.api.nvim_get_runtime_file("", true), - }, - -- Do not send telemetry data containing a randomized but unique identifier - telemetry = { - enable = false, - }, - }, - }, -} +-- lspconfig.lua_ls.setup { + -- 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 = { 'hs', 'vim' }, + -- }, + -- workspace = { + -- checkThirdParty = false, + -- -- Make the server aware of Neovim runtime files + -- library = vim.api.nvim_get_runtime_file("", true), + -- }, + -- -- Do not send telemetry data containing a randomized but unique identifier + -- telemetry = { + -- enable = false, + -- }, + -- }, + -- }, +-- } lspconfig.tsserver.setup {} lspconfig.yamlls.setup {} diff --git a/nvim/lua/conf/mason/init.lua b/nvim/lua/conf/mason/init.lua index a8555e11..26b21dc8 100644 --- a/nvim/lua/conf/mason/init.lua +++ b/nvim/lua/conf/mason/init.lua @@ -6,7 +6,7 @@ require("mason-lspconfig").setup { "eslint", "golangci_lint_ls", "gopls", - "lua_ls", + -- "lua_ls", "perlnavigator", "rust_analyzer", "tsserver",