Skip to content

Commit

Permalink
move attributes to the correct folder
Browse files Browse the repository at this point in the history
  • Loading branch information
itepastra committed Mar 5, 2024
1 parent aadd3c7 commit a3c18d3
Show file tree
Hide file tree
Showing 26 changed files with 25 additions and 25 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 25 additions & 25 deletions lsp/src/htmx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,51 +81,51 @@ pub fn hx_hover(text_params: TextDocumentPositionParams) -> Option<HxCompletion>

pub static HX_EXTENSIONS: phf::Map<&'static str, &'static [HxCompletion]> = phf::phf_map! {
"class-tools" => build_completion![
("classes", "./hx-ext/class-tools/classes.md")
("classes", "./attributes/class-tools/classes.md")
] as &[_],
"client-side-templates" => build_completion![
("handlebars-template", "./hx-ext/client-side-templates/handlebars-template.md"),
("mustache-template", "./hx-ext/client-side-templates/mustache-template.md"),
("nunjucks-template", "./hx-ext/client-side-templates/nunjucks-template.md"),
("xslt-template", "./hx-ext/client-side-templates/xslt-template.md")
("handlebars-template", "./attributes/client-side-templates/handlebars-template.md"),
("mustache-template", "./attributes/client-side-templates/mustache-template.md"),
("nunjucks-template", "./attributes/client-side-templates/nunjucks-template.md"),
("xslt-template", "./attributes/client-side-templates/xslt-template.md")
] as &[_],
"head-support" => build_completion![
("hx-head", "./hx-ext/head-support/hx-head.md")
("hx-head", "./attributes/head-support/hx-head.md")
] as &[_],
"include-vals" => build_completion![
("include-vals", "./hx-ext/include-vals/include-vals.md")
("include-vals", "./attributes/include-vals/include-vals.md")
] as &[_],
"loading-states" => build_completion![
("data-loading", "./hx-ext/loading-states/data-loading.md"),
("data-loading-target", "./hx-ext/loading-states/data-loading-target.md"),
("data-loading-states", "./hx-ext/loading-states/data-loading-states.md"),
("data-loading-path", "./hx-ext/loading-states/data-loading-path.md"),
("data-loading-disable", "./hx-ext/loading-states/data-loading-disable.md"),
("data-loading-delay", "./hx-ext/loading-states/data-loading-delay.md"),
("data-loading-class", "./hx-ext/loading-states/data-loading-class.md"),
("data-loading-class-remove", "./hx-ext/loading-states/data-loading-class-remove.md"),
("data-loading-aria-busy", "./hx-ext/loading-states/data-loading-aria-busy.md")
("data-loading", "./attributes/loading-states/data-loading.md"),
("data-loading-target", "./attributes/loading-states/data-loading-target.md"),
("data-loading-states", "./attributes/loading-states/data-loading-states.md"),
("data-loading-path", "./attributes/loading-states/data-loading-path.md"),
("data-loading-disable", "./attributes/loading-states/data-loading-disable.md"),
("data-loading-delay", "./attributes/loading-states/data-loading-delay.md"),
("data-loading-class", "./attributes/loading-states/data-loading-class.md"),
("data-loading-class-remove", "./attributes/loading-states/data-loading-class-remove.md"),
("data-loading-aria-busy", "./attributes/loading-states/data-loading-aria-busy.md")
] as &[_],
"path-deps" => build_completion![
("path-deps", "./hx-ext/path-deps/path-deps.md")
("path-deps", "./attributes/path-deps/path-deps.md")
] as &[_],
"preload" => build_completion![
("preload", "./hx-ext/preload/preload.md"),
("preload-images", "./hx-ext/preload/preload-images.md")
("preload", "./attributes/preload/preload.md"),
("preload-images", "./attributes/preload/preload-images.md")
] as &[_],
"remove-me" => build_completion![
("remove-me", "./hx-ext/remove-me/remove-me.md")
("remove-me", "./attributes/remove-me/remove-me.md")
] as &[_],
"response-targets" => build_completion![
("hx-target-error", "./hx-ext/response-targets/hx-target-error.md")
("hx-target-error", "./attributes/response-targets/hx-target-error.md")
] as &[_],
"ws" => build_completion![
("ws-connect", "./hx-ext/ws/ws-connect.md"),
("ws-send", "./hx-ext/ws/ws-send.md")
("ws-connect", "./attributes/ws/ws-connect.md"),
("ws-send", "./attributes/ws/ws-send.md")
] as &[_],
"sse" => build_completion![
("sse-connect", "./hx-ext/sse/sse-connect.md"),
("sse-swap", "./hx-ext/sse/sse-swap.md")
("sse-connect", "./attributes/sse/sse-connect.md"),
("sse-swap", "./attributes/sse/sse-swap.md")
] as &[_],
"ajax-header" => build_completion![

Expand Down

0 comments on commit a3c18d3

Please sign in to comment.