Add more CMP and Python changes

This commit is contained in:
albert 2024-02-16 18:56:48 +09:00
parent 70de88bf6c
commit 99c63cd15f
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 8 additions and 2 deletions

View file

@ -27,7 +27,7 @@
map = mode: key: action: { mode = mode; key = key; action = action; };
nmap = key: action: map [ "n" ] key action;
nvmap = key: action: map [ "n" "v" ] key action;
imap = key: action: map [ "i" ] key action;
# imap = key: action: map [ "i" ] key action;
desc = d: { options.desc = d; };
silent = { options.silent = true; };
expr = { options.expr = true; };
@ -123,6 +123,11 @@
trouble.enable = true;
# Indentation guides
indent-blankline.enable = true;
# cmp
cmp-buffer.enable = true;
cmp-path.enable = true;
cmp-nvim-lsp.enable = true;
# Popup to show shortcuts
which-key = {
@ -219,7 +224,7 @@
};
sources = [
{ name = "nvim_lua"; }
{ name = "nvim_lsp"; }
{ name = "nvim_llsp"; }
{ name = "path"; }
{ name = "buffer"; }
];

View file

@ -26,6 +26,7 @@
fuzzy = true;
};
pylint.enabled = true;
pylsp_mypy.enabled = true;
};
};
};