feat: add context to top bar in nixvim
This commit is contained in:
parent
d53b064c0c
commit
1ed7506ae5
3 changed files with 18 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
./nixvim/nvim-tree.nix # filetree
|
./nixvim/nvim-tree.nix # filetree
|
||||||
./nixvim/noice.nix # custom CMDLINE
|
./nixvim/noice.nix # custom CMDLINE
|
||||||
./nixvim/lualine.nix # custom statusline
|
./nixvim/lualine.nix # custom statusline
|
||||||
|
./nixvim/treesitter.nix # syntax highlighting
|
||||||
|
./nixvim/treesitter-context.nix # context line
|
||||||
];
|
];
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
5
users/modules/programs/nixvim/treesitter-context.nix
Normal file
5
users/modules/programs/nixvim/treesitter-context.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.treesitter-context = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
11
users/modules/programs/nixvim/treesitter.nix
Normal file
11
users/modules/programs/nixvim/treesitter.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
programs.nixvim.plugins.treesitter = {
|
||||||
|
enable = true;
|
||||||
|
folding = true;
|
||||||
|
settings = {
|
||||||
|
auto_install = true;
|
||||||
|
highlight.enable = true;
|
||||||
|
indent.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue