diff options
author | Josh Rahm <rahm@google.com> | 2022-10-11 19:10:36 +0000 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-10-11 19:10:36 +0000 |
commit | ad86b5db74922285699ab2a1dbb2ff20e6268a33 (patch) | |
tree | 6fbfa163656252307d6069525896917eab956c74 /runtime/queries/vim/injections.scm | |
parent | 242f75745009b3a0a2108d98ce6c02b6e13aac3f (diff) | |
parent | 760b399f6c0c6470daa0663752bd22886997f9e6 (diff) | |
download | rneovim-ad86b5db74922285699ab2a1dbb2ff20e6268a33.tar.gz rneovim-ad86b5db74922285699ab2a1dbb2ff20e6268a33.tar.bz2 rneovim-ad86b5db74922285699ab2a1dbb2ff20e6268a33.zip |
Merge remote-tracking branch 'upstream/master' into userreg
Diffstat (limited to 'runtime/queries/vim/injections.scm')
-rw-r--r-- | runtime/queries/vim/injections.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/runtime/queries/vim/injections.scm b/runtime/queries/vim/injections.scm new file mode 100644 index 0000000000..e2dea8fe75 --- /dev/null +++ b/runtime/queries/vim/injections.scm @@ -0,0 +1,26 @@ +(lua_statement (script (body) @lua)) +(lua_statement (chunk) @lua) +; (ruby_statement (script (body) @ruby)) +; (ruby_statement (chunk) @ruby) +; (python_statement (script (body) @python)) +; (python_statement (chunk) @python) +;; (perl_statement (script (body) @perl)) +;; (perl_statement (chunk) @perl) + +; (autocmd_statement (pattern) @regex) + +((set_item + option: (option_name) @_option + value: (set_value) @vim) + (#any-of? @_option + "includeexpr" "inex" + "printexpr" "pexpr" + "formatexpr" "fex" + "indentexpr" "inde" + "foldtext" "fdt" + "foldexpr" "fde" + "diffexpr" "dex" + "patchexpr" "pex" + "charconvert" "ccv")) + +; (comment) @comment |