Compare commits

..

2 commits

4 changed files with 15 additions and 8 deletions

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
imports = [ imports = [
./ai ./ai
@ -12,5 +13,4 @@
# Persistence # Persistence
plugins.persistence.enable = true; plugins.persistence.enable = true;
} }

View file

@ -9,16 +9,17 @@
settings.completion.callable.snippets = "add_parentheses"; settings.completion.callable.snippets = "add_parentheses";
}; };
lint = { conform-nvim.settings = {
lintersByFt = { formatters_by_ft = {
rust = [ "cargo" ]; rust = [ "cargo" ];
}; };
linters = { formatters = {
cargo = { cargo = {
cmd = "${pkgs.rustfmt}/bin/cargo-fmt"; command = "cargo-fmt";
}; };
}; };
}; };
}; };
} }

View file

@ -1,4 +1,5 @@
{ pkgs, ... }: { { pkgs, ... }:
{
plugins.telescope = { plugins.telescope = {
enable = true; enable = true;
extensions = { extensions = {
@ -17,6 +18,11 @@
action = "find_files"; action = "find_files";
options.desc = "Find project files"; options.desc = "Find project files";
}; };
"<leader>f" = {
action = "live_grep";
options.desc = "Livegrep";
};
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{
description = "neo2005 flake"; description = "neo2005 flake";
# Flake reused directly from https://github.com/Ahwxorg/nixvim-config/ # Flake reused directly from https://github.com/Ahwxorg/nixvim-config/