nix-config/modules/nixvim/treesitter.nix
Oliver Davies 9afe0e9271
All checks were successful
/ check (push) Successful in 39s
Enable qmk.nvim plugin
Add the qmk.nvim plugin to automatically format and update ZMK and QMK
keyboard layouts in their configuration files.

GitHub repo: https://github.com/codethread/qmk.nvim
YouTube video by linkarzu: https://www.youtube.com/watch?v=menWdCt3Go0

Commit after formatting:
https://code.oliverdavies.uk/opdavies/glove80-zmk-config/commit/fb674

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
2025-11-06 22:14:26 +00:00

51 lines
958 B
Nix

{
flake.modules.nixvim.custom =
{ pkgs, ... }:
{
plugins = {
treesitter = {
enable = true;
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
bash
comment
css
csv
devicetree
dockerfile
gitattributes
gitignore
go
html
javascript
json
kdl
lua
luadoc
make
markdown
markdown_inline
nix
php
phpdoc
query
rst
scss
sql
terraform
twig
typescript
vim
vimdoc
vue
xml
yaml
];
settings.highlight.enable = true;
};
treesitter-textobjects.enable = true;
};
};
}