1
Files
flake-nixinator/config/neovim/store/treesitter-parsers/queries/nasm/textobjects.scm

18 lines
465 B
Scheme

;; textobjects querries for Helix editor
(preproc_multiline_macro
body: (body) @function.inside) @function.around
(struc_declaration
body: (struc_declaration_body) @class.inside) @class.around
(struc_instance
body: (struc_instance_body) @class.inside) @class.around
(preproc_function_def_parameters
(word) @parameter.inside)
(call_syntax_arguments
(_) @parameter.inside)
(operand) @parameter.inside
(comment) @comment.inside
(comment)+ @comment.around