re-organize nixvim

This commit is contained in:
Salar Rahmanian 2025-10-05 15:47:32 -07:00
parent 7584b9ebfc
commit 10e3123b7f
22 changed files with 480 additions and 219 deletions

View file

@ -1,69 +0,0 @@
{ pkgs, ... }:
{
programs.nixvim.plugins = {
treesitter = {
enable = true;
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
awk
bash
c
cpp
css
dockerfile
fish
git-rebase
gitattributes
gitcommit
gitignore
go
haskell
hocon
html
http
java
javascript
json
json5
jsonc
lua
make
markdown
markdown-inline
nix
proto
python
rust
scala
sql
swift
terraform
toml
typescript
vim
xml
yaml
];
nixvimInjections = true;
settings = {
highlight.enable = true;
indent.enable = true;
};
folding = false;
};
treesitter-refactor = {
enable = true;
highlightDefinitions = {
enable = true;
# Set to false if you have an `updatetime` of ~100.
clearOnCursorMove = false;
};
};
hmts.enable = true;
};
}