mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-27 12:30:04 +08:00
20 lines
564 B
Scheme
Vendored
20 lines
564 B
Scheme
Vendored
((function_call
|
|
name: [
|
|
(identifier) @_cdef_identifier
|
|
(_ _ (identifier) @_cdef_identifier)
|
|
]
|
|
arguments: (arguments (string content: _ @c)))
|
|
(#eq? @_cdef_identifier "cdef"))
|
|
|
|
((function_call
|
|
name: (_) @_vimcmd_identifier
|
|
arguments: (arguments (string content: _ @vim)))
|
|
(#any-of? @_vimcmd_identifier "vim.cmd" "vim.api.nvim_command" "vim.api.nvim_exec"))
|
|
|
|
((function_call
|
|
name: (_) @_vimcmd_identifier
|
|
arguments: (arguments (string content: _ @query) .))
|
|
(#eq? @_vimcmd_identifier "vim.treesitter.query.set_query"))
|
|
|
|
(comment) @comment
|