Initial support for release 24.05

This commit is contained in:
2024-05-27 14:54:35 +01:00
parent 8eef59ae28
commit 3054e7bb1e
7 changed files with 251 additions and 226 deletions

View File

@ -42,7 +42,7 @@ in {
providers.wl-copy.enable = true;
};
plugins.comment-nvim.enable = true;
plugins.comment.enable = true;
plugins.hmts.enable = true;
@ -73,18 +73,20 @@ in {
plugins.nvim-autopairs.enable = true;
plugins.nvim-cmp = {
plugins.cmp = {
enable = true;
autoEnableSources = true;
sources = [
{ name = "nvim_lsp"; }
{ name = "path"; }
{ name = "buffer"; }
];
mapping = {
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
"<CR>" = "cmp.mapping.confirm({ select = true })";
settings = {
sources = [
{ name = "nvim_lsp"; }
{ name = "path"; }
{ name = "buffer"; }
];
mapping = {
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
"<CR>" = "cmp.mapping.confirm({ select = true })";
};
};
};