nvim-treesitter/queries/foam/textobjects.scm

9 lines
329 B
Scheme
Raw Normal View History

2021-12-14 13:45:56 +01:00
(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