From f842cf4513f962c5f74eae48bedffed2c979adb0 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 24 Sep 2024 00:41:01 +0200 Subject: [PATCH] neovim: remove hlcolors breaking config, add pylsp --- home/common/programs/nixvim/plugins/lsp.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/home/common/programs/nixvim/plugins/lsp.nix b/home/common/programs/nixvim/plugins/lsp.nix index 63b6b4e..53bf072 100644 --- a/home/common/programs/nixvim/plugins/lsp.nix +++ b/home/common/programs/nixvim/plugins/lsp.nix @@ -75,6 +75,7 @@ gopls.enable = true; nixd.enable = true; lua-ls.enable = true; + pylsp.enable = true; clangd = { enable = true; cmd = [ @@ -85,7 +86,6 @@ }; keymaps = { lspBuf = { - K = "hover"; gr = { action = "references"; desc = "Go to references"; @@ -130,13 +130,6 @@ } ]; }; - postConfig = '' - local pmenu_bg = vim.api.nvim_get_hl_by_name("Pmenu", true).background - local pmenu_fg = vim.api.nvim_get_hl_by_name("Pmenu", true).foreground - - vim.api.nvim_set_hl(0, "NormalFloat", { bg = pmenu_bg, fg = pmenu_fg }) - vim.api.nvim_set_hl(0, "FloatBorder", { bg = pmenu_bg, fg = pmenu_fg }) - ''; }; cmp = { enable = true;