Vibescript
Sublime Text package for Vibescript
Details
Installs
- Total 19
- Win 17
- Mac 2
- Linux 0
| Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 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 | 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 |
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.