add neotree and move treesitter

This commit is contained in:
Roel de Cort 2024-04-17 15:31:10 +02:00
parent c268b0f2a8
commit ddd4cd924f
3 changed files with 32 additions and 2 deletions

View file

@ -8,8 +8,9 @@
# Themes
./plugins/themes/default.nix
# Syntax Highlighting
./plugins/treesitter/default.nix
# Editor plugins and configurations
./plugins/editor/neo-tree.nix
./plugins/editor/treesitter.nix
# Git
./plugins/git/lazygit.nix

View file

@ -0,0 +1,29 @@
{ pkgs, ... }: {
plugins.neo-tree = {
enable = true;
sources = [ "filesystem" "buffers" "git_status" "document_symbols" ];
addBlankLineAtTop = true;
fileSystem = {
window = {
bindToCwd = false;
};
};
window = {
mappings = {
};
};
defaultComponentConfigs = {
indent = {
expanderCollapsed = "";
expanderExpanded = "";
expanderHighlight = "NeoTreeExpander";
};
};
};
}