Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.51 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.51 KB
HTMX-LS logo HTMX-LS logo

HTMX-LS

This is so much a work in progress. At this point id does not allow any functionality of an lsp.

I've made it as my pet project for an OS competition. Hopefully someone will find it useful in the future.

This project's been made for a challenge called 100 commits where participants to encourage participants to work on their pet projects.

RoadMap

  • Give hover info for htmx tags
  • Allow autocomplete for htmx tags
  • Give suggestions for keywords within htmx tags
  • Give simple diagnostics about what you should and shouldn't do

Integration

Neovim

You have to build the project than source the file in client/nvim/client.lua

V*Code

The WIP extension can be found in client/vscode

Development

General

As of right now the general goal is just to provide completion for properties prefixed with hx- received without even looking at the context.

After that, would be to perform some code actions that make sense and allow for amazing utility around htmx.

Build

cargo build

# OR auto-build on file save, requires `cargo-watch`
cargo install cargo-watch
cargo watch -x build