feat(nvf): add some misc options to nvimTree

This commit is contained in:
Mohammad Rafiq 2025-03-03 10:37:43 +08:00
parent dfc32c0863
commit ecb3cd59a6

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { _: {
config.vim = { config.vim = {
# TODO: Install catppuccin # TODO: Install catppuccin
theme.enable = true; theme.enable = true;
@ -36,6 +36,8 @@
}; };
hijack_cursor = true; hijack_cursor = true;
view.side = "right"; view.side = "right";
disable_netrw = true;
hijack_netrw = true;
}; };
# TODO: # TODO:
# - allow me to move files around with vim bindings # - allow me to move files around with vim bindings
@ -44,26 +46,30 @@
# Languages # Languages
languages = { languages = {
markdown.enable = true; markdown.enable = true;
}; python.enable = true;
nix = {
languages.nix = { enable = true;
enable = true; format.enable = true;
format.enable = true; lsp.enable = true;
lsp.enable = true; treesitter.enable = true;
treesitter.enable = true; extraDiagnostics.enable = true;
extraDiagnostics.enable = true; };
}; };
# Lazy Loaded Plugins # Lazy Loaded Plugins
lazy.plugins = { # lazy.plugins = {
# aerial.nvim = { package = aerial.nvim; after = "print('aerial loaded')"; }; # # aerial.nvim = { package = aerial.nvim; after = "print('aerial loaded')"; };
}; # };
# Load Plugins after Built-Ins # # Load Plugins after Built-Ins
extraPlugins = with pkgs.vimPlugins; { # extraPlugins =
#harpoon = { package = harpoon; setup = "require('harpoon').setup {}"; }; # /*
}; # with pkgs.vimPlugins;
# Add directly to init.lua # */
# Attribute names denote the section names # {
#luaConfigRC = { aquarium = "vim.cmd('colorscheme aquarium')"; }; # #harpoon = { package = harpoon; setup = "require('harpoon').setup {}"; };
# };
# # Add directly to init.lua
# # Attribute names denote the section names
# #luaConfigRC = { aquarium = "vim.cmd('colorscheme aquarium')"; };
}; };
} }