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