injections.scm 662 B

123456789101112131415161718192021222324252627
  1. (lua_statement (script (body) @lua))
  2. (lua_statement (chunk) @lua)
  3. ; (ruby_statement (script (body) @ruby))
  4. ; (ruby_statement (chunk) @ruby)
  5. ; (python_statement (script (body) @python))
  6. ; (python_statement (chunk) @python)
  7. ;; (perl_statement (script (body) @perl))
  8. ;; (perl_statement (chunk) @perl)
  9. ; (autocmd_statement (pattern) @regex)
  10. ((set_item
  11. option: (option_name) @_option
  12. value: (set_value) @vim)
  13. (#any-of? @_option
  14. "includeexpr" "inex"
  15. "printexpr" "pexpr"
  16. "formatexpr" "fex"
  17. "indentexpr" "inde"
  18. "foldtext" "fdt"
  19. "foldexpr" "fde"
  20. "diffexpr" "dex"
  21. "patchexpr" "pex"
  22. "charconvert" "ccv"))
  23. ; (comment) @comment