// just copy and paste the treesitter query into // ...runtime/queries/html/injections.scm // // in neovim, similar thing except add a double back slash in front of @ so `...\\@...` ((attribute (attribute_name) @attribute (quoted_attribute_value (attribute_value) @injection.content)) (#any-match? @attribute "^(x-data|:[a-z.-]+|@[a-z.-]+|x-bind|x-on:[a-z.-]+|x-text|x-html|x-model|x-show|x-for|x-if|x-init|x-effect|x-ref|x-cloak|x-ignore)$" ) (#set! injection.language "javascript"))