๐Ÿ“ฆ yochem / cmp-htmx

Complete HTMX attributes using nvim-cmp

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
cmpnvim-cmp
๐Ÿ“ฅ Clone https://github.com/yochem/cmp-htmx.git
HTTPS git clone https://github.com/yochem/cmp-htmx.git
SSH git clone git@github.com:yochem/cmp-htmx.git
CLI gh repo clone yochem/cmp-htmx
Yochem van Rosmalen Yochem van Rosmalen Add README 71f6e56 2 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ after
๐Ÿ“ lua
๐Ÿ“ scripts
๐Ÿ“„ .gitignore
๐Ÿ“„ README.md
๐Ÿ“„ README.md

cmp-htmx

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...

Install

E.g. using lazy.nvim:

{
    "hrsh7th/nvim-cmp",
    dependencies = {
        "yochem/cmp-htmx"
    },
    config = {
        sources = require('cmp').config.sources({
            { name = "cmp-htmx" }
        }
    }
}