neovim: remove hlcolors breaking config, add pylsp

This commit is contained in:
Anthony Rodriguez 2024-09-24 00:41:01 +02:00
parent e7ab95b05a
commit f842cf4513
Signed by: nezia
GPG key ID: EE3BE97C040A86CE

View file

@ -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;