diff --git a/README.md b/README.md index 3c1f5d9..73e03c0 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Here is a example of how it can look in a fully configured statusline * LaTeX * Lua * Norg +* Nix * Ocaml * Php * Python diff --git a/queries/nix/nvimGPS.scm b/queries/nix/nvimGPS.scm new file mode 100644 index 0000000..1ac6313 --- /dev/null +++ b/queries/nix/nvimGPS.scm @@ -0,0 +1,10 @@ +; Functions +((binding + attrpath: (attrpath) @function-name + expression: (parenthesized_expression expression: (function_expression))) @scope-root) + +; Bindings +((binding + attrpath: (attrpath) @container-name) @scope-root) + +