neovim config

This commit is contained in:
2023-11-20 18:40:30 +01:00
parent 206194af6a
commit 20387d6f41
5 changed files with 415 additions and 2 deletions

View File

@@ -4,4 +4,37 @@
zsh = import ./programs/zsh.nix { inherit pkgs; };
rbw = import ./programs/bitwarden.nix;
git = import ./programs/git.nix;
nixvim = import ./programs/nixvim.nix { inherit pkgs; };
nushell = {
enable = true;
extraConfig = ''
let carapace_completer = { |spans|
carapace $spans.0 nushell $spans | from json
}
$env.config = {
show_banner: false,
completions: {
case_sensitive: false
quick: true
partial: true
algorithm: "fuzzy"
external: {
enable: true
max_results: 100
completer: $carapace_completer
}
}
}
$env.PATH = ($env.PATH | split row (char esep) | append /usr/bin/env)
$env.EDITOR = nvim
'';
};
carapace = {
enable = true;
enableNushellIntegration = true;
};
}