mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
To enable some features (like adding tree-sitter queries) we need to add files to specific directories in the runtime path (queries/lang/file.scm for tree-sitter queries for example). This commit adds support for specifying such files. You must be careful to not have any collisions between `files` and `extraFiles`.
9 lines
116 B
Nix
9 lines
116 B
Nix
{
|
|
query = {
|
|
extraFiles = {
|
|
"queries/lua/injections.scm" = ''
|
|
;; extends
|
|
'';
|
|
};
|
|
};
|
|
}
|