diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-01-09 16:30:15 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-01-09 16:30:15 +0100 |
commit | f88a9fd277076c713c7dc4a6c72af067d6eb86a6 (patch) | |
tree | d0512407072dec92a8e6afaba8dd6a19918ef4eb | |
parent | 17179db065988423638e3f30b831b7d553380687 (diff) |
checkpoint
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | lua/config/lsp.lua | 60 |
2 files changed, 31 insertions, 30 deletions
@@ -1,2 +1,3 @@ lazy-lock.json spell +*~ diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 7f23175..888143b 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -32,7 +32,7 @@ map("n", " vf", diagnostic.open_float, { desc = "Diagnostics open floating windo -- [[ LSP Setups ]] -lspconfig.gopls.setup({ +-- lspconfig.gopls.setup({ -- settings = { -- gopls = { -- hints = { @@ -46,10 +46,10 @@ lspconfig.gopls.setup({ -- }, -- }, -- }, -}) -lspconfig.clangd.setup({}) -lspconfig.emmet_ls.setup({}) -lspconfig.ts_ls.setup({}) +-- }) +-- lspconfig.clangd.setup({}) +-- lspconfig.emmet_ls.setup({}) +-- lspconfig.ts_ls.setup({}) -- lspconfig.powershell_es.setup({ -- cmd = { -- "pwsh", @@ -59,31 +59,31 @@ lspconfig.ts_ls.setup({}) -- "/home/aluc/.local/share/nvim/mason/packages/powershell-editor-services/PowerShellEditorServices/Start-EditorServices.ps1", -- }, -- }) -lspconfig.lua_ls.setup({ - -- with neovim support - on_init = function(client) - local path = client.workspace_folders[1].name - if vim.loop.fs_stat(path .. "/.luarc.json") or vim.loop.fs_stat(path .. "/.luarc.jsonc") then - return - end - - client.config.settings.Lua = vim.tbl_deep_extend("force", client.config.settings.Lua, { - runtime = { - version = "LuaJIT", - }, - -- Make the server aware of Neovim runtime files - workspace = { - checkThirdParty = false, - library = { - vim.env.VIMRUNTIME, - }, - }, - }) - end, - settings = { - Lua = {}, - }, -}) +-- lspconfig.lua_ls.setup({ +-- -- with neovim support +-- on_init = function(client) +-- local path = client.workspace_folders[1].name +-- if vim.loop.fs_stat(path .. "/.luarc.json") or vim.loop.fs_stat(path .. "/.luarc.jsonc") then +-- return +-- end +-- +-- client.config.settings.Lua = vim.tbl_deep_extend("force", client.config.settings.Lua, { +-- runtime = { +-- version = "LuaJIT", +-- }, +-- -- Make the server aware of Neovim runtime files +-- workspace = { +-- checkThirdParty = false, +-- library = { +-- vim.env.VIMRUNTIME, +-- }, +-- }, +-- }) +-- end, +-- settings = { +-- Lua = {}, +-- }, +-- }) -- rounded border around floating windows local _border = "rounded" |