diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-01-16 01:20:48 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-01-16 01:20:48 +0100 |
commit | e6b577799965acd039ddfa88b3c3fd912d192365 (patch) | |
tree | 8fc3d330e3d2f32a29299b74184412a4c2814b2e /lua | |
parent | 8c49afa20b3afcc1c78558a7c7f77c57673bba8e (diff) |
checkpoint
Diffstat (limited to 'lua')
-rw-r--r-- | lua/config/lsp.lua | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 888143b..7b52c79 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -2,7 +2,6 @@ local diagnostic = vim.diagnostic local lbuf = vim.lsp.buf local map = vim.keymap.set -local lspconfig = require("lspconfig") local builtin = require("telescope.builtin") map("n", " <cr>", lbuf.code_action, { desc = "Code actions" }) @@ -33,19 +32,19 @@ map("n", " vf", diagnostic.open_float, { desc = "Diagnostics open floating windo -- [[ LSP Setups ]] -- lspconfig.gopls.setup({ - -- settings = { - -- gopls = { - -- hints = { - -- assignVariableTypes = true, - -- compositeLiteralFields = true, - -- compositeLiteralTypes = true, - -- constantValues = true, - -- functionTypeParameters = true, - -- parameterNames = true, - -- rangeVariableTypes = true, - -- }, - -- }, - -- }, +-- settings = { +-- gopls = { +-- hints = { +-- assignVariableTypes = true, +-- compositeLiteralFields = true, +-- compositeLiteralTypes = true, +-- constantValues = true, +-- functionTypeParameters = true, +-- parameterNames = true, +-- rangeVariableTypes = true, +-- }, +-- }, +-- }, -- }) -- lspconfig.clangd.setup({}) -- lspconfig.emmet_ls.setup({}) @@ -56,7 +55,8 @@ map("n", " vf", diagnostic.open_float, { desc = "Diagnostics open floating windo -- "-NoLog", -- "-NoProfile", -- "-Command", --- "/home/aluc/.local/share/nvim/mason/packages/powershell-editor-services/PowerShellEditorServices/Start-EditorServices.ps1", +-- "/home/aluc/.local/share/nvim/mason/packages/" .. +-- "powershell-editor-services/PowerShellEditorServices/Start-EditorServices.ps1", -- }, -- }) -- lspconfig.lua_ls.setup({ @@ -112,7 +112,6 @@ autocmd("LspAttach", { local ls = require("luasnip") -local map = vim.keymap.set local parse_snippet = ls.parser.parse_snippet map({ "i", "s" }, "<C-h>", function() |