Vibescript
Sublime Text package for Vibescript
Details
Installs
- Total 8
- Win 7
- Mac 1
- Linux 0
| 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 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 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 | 1 | 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.