ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vibescript

by mgomes ST4

Sublime Text package for Vibescript

Details

Installs

  • Total 4
  • Win 3
  • Mac 1
  • Linux 0
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 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
Windows 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 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 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
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 .vibe files, 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

  1. Clone this repo into ~/Library/Application Support/Sublime Text/Packages/ as Vibescript:
git clone https://github.com/mgomes/sublime-vibescript.git \
     "$HOME/Library/Application Support/Sublime Text/Packages/Vibescript"
  1. 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.