added a few more plugins, got cmp+luasnip working.
LSP is the last major milestone now.
This commit is contained in:
parent
030822d6c1
commit
25b2b07a46
16 changed files with 490 additions and 159 deletions
20
nix/nvim/treesitter/rainbow-delimiters.nix
Normal file
20
nix/nvim/treesitter/rainbow-delimiters.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
configs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
plugins.rainbow-delimiters = {
|
||||
enable = true;
|
||||
highlight = [
|
||||
"RainbowDelimiterYellow"
|
||||
"RainbowDelimiterBlue"
|
||||
"RainbowDelimiterOrange"
|
||||
"RainbowDelimiterGreen"
|
||||
"RainbowDelimiterViolet"
|
||||
"RainbowDelimiterCyan"
|
||||
# "RainbowDelimiterRed"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
22
nix/nvim/treesitter/treesitter.nix
Normal file
22
nix/nvim/treesitter/treesitter.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
configs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
plugins.treesitter = {
|
||||
enable = true;
|
||||
folding = true;
|
||||
indent = true;
|
||||
nixvimInjections = true;
|
||||
};
|
||||
plugins.treesitter-context.enable = true;
|
||||
plugins.indent-blankline.enable = true;
|
||||
extraPlugins = [
|
||||
pkgs.vimPlugins.treesj
|
||||
];
|
||||
};
|
||||
imports = [
|
||||
./rainbow-delimiters.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue