neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

injections.scm (864B)


      1 (lua_statement
      2  (script
      3    (body) @injection.content
      4    (#set! injection.language "lua")))
      5 
      6 (lua_statement
      7  (chunk) @injection.content
      8  (#set! injection.language "lua"))
      9 
     10 (ruby_statement
     11  (script
     12    (body) @injection.content
     13    (#set! injection.language "ruby")))
     14 
     15 (ruby_statement
     16  (chunk) @injection.content
     17  (#set! injection.language "ruby"))
     18 
     19 (python_statement
     20  (script
     21    (body) @injection.content
     22    (#set! injection.language "python")))
     23 
     24 (python_statement
     25  (chunk) @injection.content
     26  (#set! injection.language "python"))
     27 
     28 ((set_item
     29  option: (option_name) @_option
     30  value: (set_value) @injection.content)
     31  (#any-of? @_option
     32    "includeexpr" "inex" "printexpr" "pexpr" "formatexpr" "fex" "indentexpr" "inde" "foldtext" "fdt"
     33    "foldexpr" "fde" "diffexpr" "dex" "patchexpr" "pex" "charconvert" "ccv")
     34  (#set! injection.language "vim"))