Vibescript
Sublime Text package for Vibescript
Details
Installs
- Total 22
- Win 19
- Mac 3
- Linux 0
| Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Vibescript package for Sublime Text
Adds Vibescript syntax support to Sublime Text.
Features
- Syntax highlighting for
.vibefiles, including strings with interpolation, regex literals,%w[...]/%i(...)arrays, symbols, enums, typed signatures, and directive comments - Comment toggling and indentation rules
- Symbol indexing for classes, methods, and enums
Language server
Diagnostics, hover documentation, and completions live in the separate
LSP-vibescript package, so this
package works standalone for highlighting. Install LSP-vibescript alongside
Sublime's LSP package to add language-server features.
Development install
- Clone this repo into
~/Library/Application Support/Sublime Text/Packages/asVibescript:
git clone https://github.com/mgomes/sublime-vibescript.git \
"$HOME/Library/Application Support/Sublime Text/Packages/Vibescript"
- Restart Sublime Text
The syntax tests expect the package to be installed as Vibescript.
Syntax tests
Open tests/syntax_test_vibescript.vibe and run Build (⌘B) to execute the
assertions in-editor. CI runs the same tests with Sublime's headless
syntax_tests binary.
Known limitations
Regex literals are detected with a heuristic (a / that does not follow a
value and is not followed by a space or =), so half-spaced division like
a /b may highlight as a regex. a / b and a/b highlight correctly.