This small extension provides token-based syntax highlighting and basic editor bracket/comment support for Flum source files (.flum). It highlights comments, keywords, word and symbol operators, identifiers, atoms, numbers, byte arrays, strings, interpolation, regular expressions, and substitutions. Lowercase- and underscore-starting identifiers use a variable scope; uppercase-starting identifiers use a function-like scope. Uppercase identifiers in type expressions after : use a type scope, including in nested groups and interpolation expressions. This is a lexical heuristic, not semantic analysis; computed type expressions can contain values that are not types. Colors depend on the selected VS Code theme. The extension does not include parsing, diagnostics, or language-server features.
Use from this repository
In VS Code, choose File > Open Folder and open the vscode-flum folder, not the repository root.
Press F5 to launch the Run Flum Extension configuration. A new Extension Development Host window opens.
In that window, open any .flum file from the repository to see highlighting.
After editing the extension, use Developer: Reload Window in the Extension Development Host to load the changes. The extension is declarative and has no build or runtime dependencies.