nvim-treesitter/queries/foam/textobjects.scm
2022-01-08 13:20:52 +01:00

8 lines
329 B
Scheme

(dict) @class.outer
((dict_core) @class.inner)
((key_value value: _? @_start (_)* _? @parameter.inner)
(#make-range! "function.inner" @_start @parameter.inner)) @function.outer
(code (_)* @class.inner) @class.outer
((comment) @_start ((comment)+) @_end
(#make-range! "comment.outer" @_start @_end))
(comment) @comment.inner