Add more CMP and Python changes
This commit is contained in:
parent
70de88bf6c
commit
99c63cd15f
2 changed files with 8 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
||||||
map = mode: key: action: { mode = mode; key = key; action = action; };
|
map = mode: key: action: { mode = mode; key = key; action = action; };
|
||||||
nmap = key: action: map [ "n" ] key action;
|
nmap = key: action: map [ "n" ] key action;
|
||||||
nvmap = key: action: map [ "n" "v" ] 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; };
|
desc = d: { options.desc = d; };
|
||||||
silent = { options.silent = true; };
|
silent = { options.silent = true; };
|
||||||
expr = { options.expr = true; };
|
expr = { options.expr = true; };
|
||||||
|
@ -123,6 +123,11 @@
|
||||||
trouble.enable = true;
|
trouble.enable = true;
|
||||||
# Indentation guides
|
# Indentation guides
|
||||||
indent-blankline.enable = true;
|
indent-blankline.enable = true;
|
||||||
|
# cmp
|
||||||
|
cmp-buffer.enable = true;
|
||||||
|
cmp-path.enable = true;
|
||||||
|
cmp-nvim-lsp.enable = true;
|
||||||
|
|
||||||
|
|
||||||
# Popup to show shortcuts
|
# Popup to show shortcuts
|
||||||
which-key = {
|
which-key = {
|
||||||
|
@ -219,7 +224,7 @@
|
||||||
};
|
};
|
||||||
sources = [
|
sources = [
|
||||||
{ name = "nvim_lua"; }
|
{ name = "nvim_lua"; }
|
||||||
{ name = "nvim_lsp"; }
|
{ name = "nvim_llsp"; }
|
||||||
{ name = "path"; }
|
{ name = "path"; }
|
||||||
{ name = "buffer"; }
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
fuzzy = true;
|
fuzzy = true;
|
||||||
};
|
};
|
||||||
pylint.enabled = true;
|
pylint.enabled = true;
|
||||||
|
pylsp_mypy.enabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue