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;
|
gopls.enable = true;
|
||||||
nixd.enable = true;
|
nixd.enable = true;
|
||||||
lua-ls.enable = true;
|
lua-ls.enable = true;
|
||||||
|
pylsp.enable = true;
|
||||||
clangd = {
|
clangd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cmd = [
|
cmd = [
|
||||||
|
@ -85,7 +86,6 @@
|
||||||
};
|
};
|
||||||
keymaps = {
|
keymaps = {
|
||||||
lspBuf = {
|
lspBuf = {
|
||||||
K = "hover";
|
|
||||||
gr = {
|
gr = {
|
||||||
action = "references";
|
action = "references";
|
||||||
desc = "Go to 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 = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue