add neotree and move treesitter
This commit is contained in:
parent
c268b0f2a8
commit
ddd4cd924f
3 changed files with 32 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
29
config/plugins/editor/neo-tree.nix
Normal file
29
config/plugins/editor/neo-tree.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue