Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Added Nix support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaisia-Estrel committed May 31, 2022
1 parent 8f95088 commit 8c712b6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions queries/nix/nvimGPS.scm
Original file line number Diff line number Diff line change
@@ -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)


0 comments on commit 8c712b6

Please sign in to comment.