aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #376 from thetarnav/enum-memberDanielGavin2024-05-052-20/+11
|\ \ | |/ |/| Add a symbol for explicit `enum.member` selectors
| * Add a symbol for explicit `enum.member` selectorsDamian Tarnawski2024-05-052-20/+11
|/
* Add Or_Branch_Expr to semantic tokensDanielGavin2024-05-051-39/+48
|
* Add Or_Branch_Expr to get_document_positionDanielGavin2024-05-051-27/+41
|
* Log the json that failsDanielGavin2024-05-051-5/+14
|
* Merge pull request #380 from thetarnav/tm-grammar-add-e-escapeDanielGavin2024-05-041-1/+1
|\ | | | | Add `\e` to allowed escape sequences in strings
| * Add `\e` to allowed escape sequences in stringsDamian Tarnawski2024-05-041-1/+1
| |
* | TypoDanielGavin2024-05-041-1/+1
| |
* | Merge branch 'master' of https://github.com/DanielGavin/olsDanielGavin2024-05-044-15/+57
|\|
| * Merge pull request #373 from thetarnav/semantic-tokens-import-namespaceDanielGavin2024-05-024-15/+57
| |\ | | | | | | Highlight import namespace using semantic tokens
| | * SimplifyDamian Tarnawski2024-05-021-8/+7
| | |
| | * Use spacesDamian Tarnawski2024-05-021-2/+2
| | |
| | * Highlight import namespace using semantic tokensDamian Tarnawski2024-05-024-16/+59
| |/ | | | | | | | | | | | | 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.
* / Check if index is -1DanielGavin2024-05-041-16/+20
|/
* Use filepath.abs on ols executable pathDanielGavin2024-05-023-16/+26
|
* Fix issues with space in { on comp literals without types.DanielGavin2024-04-284-10/+42
|
* Fix issues with comp literal returnsDanielGavin2024-04-281-1/+5
|
* Fix nightlyDanielGavin2024-04-281-4/+2
|
* TypoDanielGavin2024-04-282-5/+7
|
* Fix CIDanielGavin2024-04-283-10/+18
|
* Fix issues with comments in case clauseDanielGavin2024-04-283-9/+43
|
* Split case clause when it's too big.DanielGavin2024-04-282-34/+45
|
* Merge pull request #369 from thetarnav/semantic-tokens-aliasesDanielGavin2024-04-271-641/+241
|\ | | | | Simplify and improve semantic tokens system further
| * Fix getting wrong symbol for selectorsDamian Tarnawski2024-04-271-4/+5
| |
| * Simplify and improve semantic tokens system furtherDamian Tarnawski2024-04-271-641/+240
|/ | | | | | | | | | | | | | | | | | | | - Remove the remaining tokens for operators, those will be handled by syntax highlighting - Improve `visit_value_decl` mostly around making aliases: ```odin foo :: proc() {} bar :: foo ``` now `bar` will be highlighted as a `.Function` - Add `src` to `SemanticTokenBuilder` to avoid it being passed around to every proc - Tried to reduce the amount of procedures and repeated code Now most of the work is done by `visit_node`, which walks the ast looking for identifiers, and `visit_ident`, which writes the token for that identifier based on it's symbol
* Merge pull request #368 from thetarnav/semantic-tokens-improvementsDanielGavin2024-04-263-508/+284
|\ | | | | Multiple improvements to semantic tokens feature
| * Multiple improvements to semantic tokens featureDamian Tarnawski2024-04-253-508/+284
| | | | | | | | | | | | | | | | | | | | | | - Removed the reflection mechanism mentioned in #366 - Made `SemanticTokenModifiers` into a `bit_set`. Since modifiers allow multiple flags. - Removed all semantic tokens for keywords, as they WILL be highlighted by the syntax highlighter. - Added a bunch of missing semantic tokens in `visit_node` and `visit_selector` - Added a bit_set visit code to `visit_node` - Added readonly modifiers to value declarations
* | New config to only call check on saved package.Daniel Gavin2024-04-256-52/+70
|/
* Merge pull request #365 from thetarnav/attributes-grammarDanielGavin2024-04-231-0/+32
|\ | | | | Add attributes grammar
| * Better match commas in attributesDamian Tarnawski2024-04-231-2/+4
| |
| * Add attributes grammarDamian Tarnawski2024-04-231-0/+30
|/
* Merge branch 'master' of https://github.com/DanielGavin/olsDanielGavin2024-04-2218-42/+131
|\
| * Merge pull request #362 from thetarnav/better-import-grammarDanielGavin2024-04-203-2/+31
| |\ | | | | | | Highlight namespaces in import declarations
| | * 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 .npmrc file to enforce hoisted install strategyDamian Tarnawski2024-04-202-2/+3
| | | | | | | | | | | | `vsce` doesn't work with linked strategy that users might default to
| * | Merge pull request #360 from Feoramund/fix-autocomplete-importDanielGavin2024-04-201-8/+24
| |\ \ | | | | | | | | Fix autocomplete for import
| | * | Fix autocomplete for importFeoramund2024-04-191-8/+24
| | |/
| * | Merge pull request #361 from Feoramund/fix-crash-on-save-incomplete-importDanielGavin2024-04-201-1/+2
| |\ \ | | |/ | |/| Fix crash caused by slicing incomplete import
| | * Fix crash caused by slicing incomplete importFeoramund2024-04-191-1/+2
| |/
| * Merge pull request #359 from harold-b/fake-methods-receiverDanielGavin2024-04-182-9/+43
| |\ | | | | | | Emit proc "receiver" when using fake methods.
| | * Fix procs in external packages not getting receiver completion.Harold Brenes2024-04-181-18/+20
| | |
| | * Emit proc "receiver" when using fake methods.Harold Brenes2024-04-182-8/+40
| | |
| * | Merge pull request #356 from Feoramund/move-core-baseDanielGavin2024-04-1812-20/+29
| |\ \ | | |/ | |/| Move packages to new base collection
| | * Move packages to new base collectionFeoramund2024-04-1712-20/+29
| | |
| * | Merge pull request #358 from Feoramund/remove-deprecated-ptr-from-stringDanielGavin2024-04-181-1/+1
| |\ \ | | | | | | | | Replace deprecated ptr_from_string with raw_data
| | * | Replace deprecated ptr_from_string with raw_dataFeoramund2024-04-171-1/+1
| | |/
| * | Merge pull request #357 from Feoramund/find-intrinsics-in-baseDanielGavin2024-04-181-1/+1
| |\ \ | | | | | | | | Look for intrinsics in base instead of core
| | * | Look for intrinsics in base instead of coreFeoramund2024-04-171-1/+1
| | |/
| * | Merge pull request #352 from Feoramund/fix-col-off-by-one-check-errorDanielGavin2024-04-181-1/+1
| |\ \ | | |/ | |/| Fix column off-by-1 error in check