aboutsummaryrefslogtreecommitdiff
path: root/editors/vscode/syntaxes/odin.tmLanguage.json
Commit message (Collapse)AuthorAgeFilesLines
* add format placeholders to vscode syntaxColter2025-01-121-0/+8
| | | all the % formats, as specified here https://pkg.odin-lang.org/core/fmt/
* Added new_clone, free, and free_all to odin.tmLanguage.jsondozn2024-12-271-1/+1
|
* Add grammar for ternary exp and union member accessDamian Tarnawski2024-09-251-6/+36
|
* Add grammar for new file-tags and shabang commentsDamian Tarnawski2024-09-151-26/+48
|
* Add spread and range operators to the syntax highlightingDamian Tarnawski2024-06-251-11/+14
|
* Add punctuation tokens to comments and inline some rulesDamian Tarnawski2024-06-241-52/+36
|
* Change scope for tags to `entity.name.tag.odin`Damian Tarnawski2024-06-141-1/+1
|
* Minor fixes to tm grammarsDamian Tarnawski2024-06-141-4/+4
| | | | | | - add `\` to punctuation - change scope for `context` to a `keyword.context.odin` - fix edge case with `case` being matched in struct declarations
* Add `\e` to allowed escape sequences in stringsDamian Tarnawski2024-05-041-1/+1
|
* Highlight import namespace using semantic tokensDamian Tarnawski2024-05-021-8/+0
| | | | | | | Removes highlighting the namespace in import path from tm grammars, and added it instead to the semantic tokens. So it works the same way between editors.
* Better match commas in attributesDamian Tarnawski2024-04-231-2/+4
|
* Add attributes grammarDamian Tarnawski2024-04-231-0/+30
|
* Add normal string fallbackDamian Tarnawski2024-04-201-3/+4
|
* Add improved grammars for import declarationsDamian Tarnawski2024-04-201-0/+27
| | | | highlights namespace that the import provides
* Add bit_field keyword to tm grammarsDamian Tarnawski2024-04-091-3/+3
|
* Add grammar for ansi color sequences in stringsDamian Tarnawski2024-03-161-0/+4
|
* Remove where-clause from syntaxDamian Tarnawski2024-01-241-13/+13
|
* Major changes to the Odin textmate syntax grammarDamian Tarnawski2023-12-251-281/+273
|
* Fix raw string escape grammarDamian Tarnawski2023-12-221-2/+1
|
* Merge pull request #260 from thetarnav/update-basic-typesDanielGavin2023-10-101-5/+41
|\ | | | | Update basic-types grammar
| * Fix scope for any and typeidDamian Tarnawski2023-10-101-1/+1
| |
| * Replace storage.type with support.type for basic typesDamian Tarnawski2023-10-101-14/+14
| |
| * Update basic-types grammarDamian Tarnawski2023-10-101-10/+46
| |
* | Actually include all strings to proc definitionDamian Tarnawski2023-10-101-1/+1
| |
* | Add calling convention grammar to proc declarationDamian Tarnawski2023-10-101-51/+55
|/
* Minor grammar updatesDamian Tarnawski2023-10-041-5/+44
| | | | | | | - Remove `export` and `set` as keywords - Add `or_break` and `or_continue` as keywords - Add `&` and `^` as operators - Add string beginning and ending quotes as punctuation
* Prioritize detecting types over procedure callsDamian Tarnawski2023-06-241-1/+1
|
* Merge commit '17071812ee1cf4fe1ef8b2601e87450a35ac7eb2' into tm-fixesDamian Tarnawski2023-06-241-1/+1
|\
| * Don't mark builtin proc calls on property accessDamian Tarnawski2023-06-241-1/+1
| |
* | Merge commit '7786a0c7ade271c804ebc32b6fa05d3d0428b814' into tm-fixesDamian Tarnawski2023-06-231-7/+1
|\|
| * Add more builtin proceduresDamian Tarnawski2023-06-231-7/+1
| |
* | Handle generic parameters in proc return typeDamian Tarnawski2023-06-231-97/+66
| |
* | Assert `proc` keyword position at word boundryDamian Tarnawski2023-06-231-3/+3
| |
* | Fix nesting procedure declarationsDamian Tarnawski2023-06-231-2/+3
|/
* Improve texmate grmmars for procedure declarationsDamian Tarnawski2023-06-211-146/+309
|
* Add missing `.odin` scopeDamian Tarnawski2023-06-181-1/+1
|
* Replace property access procedure call with general oneDamian Tarnawski2023-06-181-9/+14
|
* textmate improvementsDamian Tarnawski2023-06-181-17/+20
| | | | | | | | | | | | Add `distinct` to `storage.type.odin`. Not sure if that's the right scope, but it get's colored correctly Add `context` to `variable.other.object.odin` Remove `assertf` and `panicf` from function builtins (they are from a module) Add procedute calls to `entity.name.function`. And a separate capture for `module.proc()` syntax
* Improve textmate grammarsDamian Tarnawski2023-06-181-9/+29
| | | | | | Separates some operators to their own categories Mark basic types as primitives
* Use InitializeOptions as the global setting, and override if specified ↵DanielGavin2023-05-291-14/+21
| | | | through ols.json
* Add support for matrix typesDaniel Gavin2022-10-271-2/+2
|
* Try to use recursion map on pointers to prevent stackoverflow crashesDaniel Gavin2022-10-231-1/+1
|
* Add support for or_else and or_return keywordsVitalii Kravchenko2022-06-051-2/+2
|
* add grammar to extensionDaniel Gavin2021-05-051-0/+339