Syntax highlighting, snippets, and editor support for the Nyx programming language.
Features
- Syntax highlighting for all Nyx keywords, types, operators, strings, numbers, comments
- String interpolation highlighting inside
${} - 25+ snippets for common patterns (
fn,class,match,for,if, etc.) - Bracket matching and auto-closing for
{},(),[],"",|| - Comment toggling with Ctrl+/
- Auto-indentation on
{and} - Code folding support
Snippets
| Prefix | Description |
|---|---|
fn |
Function |
fnr |
Function with return type |
class |
Class |
classi |
Class with inheritance |
if / ife |
If / If-else |
forr |
For range loop |
forin |
For-in loop |
fori |
For indexed loop |
while / loop |
While / Infinite loop |
match / matche |
Match statement / expression |
lam |
Lambda |
var / let / const |
Variable declarations |
pr / pri |
Print / Print with interpolation |
result |
Function returning Result |
coro |
Coroutine |
imp |
Import |
native |
Load native module |
enum |
Enum |
About Nyx
Nyx is an embeddable scripting language built by Nemesis Security. Fast, typed, and designed to not make you want to throw your keyboard.