Syntax highlighting and autocompletion for Leaf 3.
Just get Atom, and then:
- either navigate to
Preferences > Install
and search forleaf
. The package is calledlanguage-leaf-atom
, should be the first one in the results... - ...or get it here.
In .leaf
files will highlight Leaf tags, HTML and JS. Works as intended (mostly, still need to handle some edge cases).
In .leaf
files will offer autocompletion for built-in Leaf tags (v.3 supported currently, will add Leaf Kit support after it becomes stable).
Autocompletion should work for both #tag
and tag
variants (i.e., you don't need to type the #
character first). You can tab through the parameters afterwards. Snippets with body (i.e., space between the {
and }
chracters) support tabbing inside it to further speed up the development! 🥳
The package is still in development: see the project for current progress. Leaf Kit support coming after syntax is established.
If you encounter any problems with the package, please make an issue or fork the repo and make a pull request. 🙏!