feat: add context to top bar in nixvim

This commit is contained in:
Mohammad Rafiq 2025-03-09 21:42:57 +08:00
parent d53b064c0c
commit 1ed7506ae5
3 changed files with 18 additions and 0 deletions

View file

@ -4,6 +4,8 @@
./nixvim/nvim-tree.nix # filetree
./nixvim/noice.nix # custom CMDLINE
./nixvim/lualine.nix # custom statusline
./nixvim/treesitter.nix # syntax highlighting
./nixvim/treesitter-context.nix # context line
];
programs.nixvim = {
enable = true;

View file

@ -0,0 +1,5 @@
{
programs.nixvim.plugins.treesitter-context = {
enable = true;
};
}

View file

@ -0,0 +1,11 @@
{
programs.nixvim.plugins.treesitter = {
enable = true;
folding = true;
settings = {
auto_install = true;
highlight.enable = true;
indent.enable = true;
};
};
}