changes to nvim, added podman to user

This commit is contained in:
2026-05-15 11:47:23 +01:00
parent 0545039d39
commit 5e83cc9863
5 changed files with 66 additions and 55 deletions
+10 -4
View File
@@ -36,7 +36,7 @@
colorschemes.gruvbox-material.enable = true;
extraPackages = with pkgs; [
# formatters
nixfmt
alejandra
rustfmt
# misc
ripgrep
@@ -60,7 +60,7 @@
enable = true;
settings = {
formatters_by_ft = {
nix = [ "nixfmt" ];
nix = [ "alejandra" ];
rust = [ "rustfmt" ];
"_" = [
"squeeze_blanks"
@@ -187,8 +187,8 @@
"<C-e>" = "cmp.mapping.close()";
"<C-f>" = "cmp.mapping.scroll_docs(4)";
"<CR>" = "cmp.mapping.confirm({ select = true })";
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
"<S-Tab>" = "cmp.mapping(function(fallback) if cmp.visible() then cmp.select_prev_item() else fallback() end end, {'i', 's'})";
"<Tab>" = "cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() else fallback() end end, {'i', 's'})";
};
};
};
@@ -208,6 +208,9 @@
enable = true;
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
bash
css
html
javascript
json
lua
make
@@ -216,6 +219,8 @@
nix
regex
toml
tsx
typescript
vim
vimdoc
xml
@@ -224,6 +229,7 @@
];
settings = {
highlight.enable = true;
indent.enable = true;
};
};
};