https://github.com/yochem/cmp-htmx
Complete HTMX attributes using nvim-cmp
https://github.com/yochem/cmp-htmx
cmp nvim-cmp
Last synced: 7 months ago
JSON representation
Complete HTMX attributes using nvim-cmp
- Host: GitHub
- URL: https://github.com/yochem/cmp-htmx
- Owner: yochem
- Created: 2023-08-16T15:52:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T16:03:52.000Z (over 2 years ago)
- Last Synced: 2025-03-31T08:47:04.611Z (11 months ago)
- Topics: cmp, nvim-cmp
- Language: Lua
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cmp-htmx
HTMX source to use with [nvim-cmp](https://github.com/hrsh7th/nvim-cmp). Still
under development. Current feature list and TODO's:
- [x] Get all HTMX attributes and add to completion menu
- [x] Labels
- [x] `InsertText` with set cursor position between the quotes.
- [x] Documentation
- [ ] Documentation in Markdown
- [ ] Reference in documentation to full documentation online
- [ ] Placeholders in inserted text
- [ ] More...
## Install
E.g. using lazy.nvim:
```lua
{
"hrsh7th/nvim-cmp",
dependencies = {
"yochem/cmp-htmx"
},
config = {
sources = require('cmp').config.sources({
{ name = "cmp-htmx" }
}
}
}
```