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
|
# Themes
|
||||||
./plugins/themes/default.nix
|
./plugins/themes/default.nix
|
||||||
|
|
||||||
# Syntax Highlighting
|
# Editor plugins and configurations
|
||||||
./plugins/treesitter/default.nix
|
./plugins/editor/neo-tree.nix
|
||||||
|
./plugins/editor/treesitter.nix
|
||||||
|
|
||||||
# Git
|
# Git
|
||||||
./plugins/git/lazygit.nix
|
./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