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