Compare commits

...

2 commits

4 changed files with 15 additions and 8 deletions

View file

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

View file

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

View file

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

View file

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