Module queries

Module queries 

Source

Statics§

HX_ANY_HTML
Replace “NAME” with any html attribute. At the moment not used query.
HX_GO_TAGS
Go comments are inside of function. @hx_comment - comment. Tag starts after ‘@’.
HX_HTML
Find hx-lsp attribute. Used for goto implementation.
HX_JS_TAGS
JavaScript/TypeScript comments are inside any type of function. @hx_comment - comment. Tag starts after ‘@’.
HX_NAME
Search for htmx attributes, annotated by @attr_name @attr_name must start with hx-.
HX_PYTHON_TAGS
Python comments work much more different than in other languages. They can be everywhere. Because of identation it has no information about scope. @hx_comment - comment. Tag starts after ‘@’.
HX_RUST_TAGS
Rust comments should be inside of function, closure or block. @hx_comment - comment. Tag starts after ‘@’.
HX_VALUE
Searches for position in completion.