Add VSCode syntax highlighting extension for Flux
Adds the vscode-flux extension with TextMate grammar covering keywords, types, literals, operators, comments, and function/struct name highlighting. Supports .flux and .flx file extensions.
This commit is contained in:
34
vscode-flux/package.json
Normal file
34
vscode-flux/package.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "flux-lang",
|
||||
"displayName": "Flux",
|
||||
"description": "Syntax highlighting for the Flux programming language — a simple, fast systems language in the spirit of C and Rust.",
|
||||
"version": "0.1.0",
|
||||
"publisher": "flux-lang",
|
||||
"engines": {
|
||||
"vscode": "^1.74.0"
|
||||
},
|
||||
"categories": [
|
||||
"Programming Languages"
|
||||
],
|
||||
"contributes": {
|
||||
"languages": [
|
||||
{
|
||||
"id": "flux",
|
||||
"aliases": ["Flux", "flux"],
|
||||
"extensions": [".flux", ".flx"],
|
||||
"configuration": "./language-configuration.json",
|
||||
"icon": {
|
||||
"light": "./icons/flux-light.png",
|
||||
"dark": "./icons/flux-dark.png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
{
|
||||
"language": "flux",
|
||||
"scopeName": "source.flux",
|
||||
"path": "./syntaxes/flux.tmLanguage.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user