HTMX source to use with nvim-cmp. Still under development. Current feature list and TODO's:
- Get all HTMX attributes and add to completion menu
- Labels
-
InsertText
with set cursor position between the quotes. - Documentation
- Documentation in Markdown
- Reference in documentation to full documentation online
- Placeholders in inserted text
- More...
E.g. using lazy.nvim:
{
"hrsh7th/nvim-cmp",
dependencies = {
"yochem/cmp-htmx"
},
config = {
sources = require('cmp').config.sources({
{ name = "cmp-htmx" }
}
}
}