neovim: remove hlcolors breaking config, add pylsp
This commit is contained in:
parent
e7ab95b05a
commit
f842cf4513
1 changed files with 1 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue