Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgmtx/lite-plugin-vale
A Lite and Lite-XL plugin providing syntax highlighting for the Vale programming language.
https://github.com/pgmtx/lite-plugin-vale
editor lite lua plugin
Last synced: about 15 hours ago
JSON representation
A Lite and Lite-XL plugin providing syntax highlighting for the Vale programming language.
- Host: GitHub
- URL: https://github.com/pgmtx/lite-plugin-vale
- Owner: pgmtx
- License: mit
- Created: 2024-03-04T09:06:30.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-04T11:59:22.000Z (9 months ago)
- Last Synced: 2024-04-17T21:59:31.187Z (7 months ago)
- Topics: editor, lite, lua, plugin
- Language: Lua
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lite-plugin-vale
A Lite and Lite-XL plugin providing syntax highlighting for the [Vale](https://vale.dev/) programming language.
![Screenshot of vale file showing syntax highlighting](example.png)
*This piece of code comes from Vale's [arrays implementation](https://github.com/ValeLang/Vale/blob/master/stdlib/src/arrays/arrays.vale).*
## Installation
Simply add the [language_vale.lua](language_vale.lua) file to the `plugins` directory (on Linux it is `~/.config/lite-xl/plugins`) and restart the editor.
## Why I made this
I wanted to try out Vale, but the VSCode extension was outdated (it was old keywords).
Also, I was looking for another code editor, and found Lite-XL.
Aside from finding correct Lua patterns (which differs a bit from regex), coding a plugin for this editor is simple and accessible.## Helpful websites
- Lite-XL [tutorial](https://lite-xl.com/en/tutorials/syntax-highlighting) for syntax highlighting.
- [Lua patterns](https://gitspartv.github.io/lua-patterns/) to check what you pattern does and look for errors.