mirror of
https://github.com/softinio/nix-config.git
synced 2025-10-19 03:26:40 -07:00
re-organize nixvim
This commit is contained in:
parent
7584b9ebfc
commit
10e3123b7f
22 changed files with 480 additions and 219 deletions
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue