summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/highlight/ut
Commit message (Collapse)AuthorAgeFilesLines
* YQL-20496: Fix highlighting againvitya-smirnov2025-11-101-1/+2
| | | | | | | | | | | | Fixed [issues](https://nda.ya.ru/t/e98IQkef7Mhm96): 1. Types had higher precedence than UDF and so `Yson::Parse` was badly highlighted. So function unit was split to let types to highlight `Decimal(...)` correctly, as well as UDFs. 2. There was a hack in a Monaco generator (probably I forgot to fix it) with hardcoded rules for embedded language, so JSON rule was forgotted to be deleted. commit_hash:b24527891525dad65bfbafbc209fd3cb7f087f32
* YQL-20496: Fix YQL highlighting dramaticallyvitya-smirnov2025-11-011-2/+2
| | | | | | | | | | - Highlight embedded languages in Shiki - Generate Monaco playground template - Highlight type as type even in function context - Removed an embedded JSON support - Fix YQLs highlighting for Monaco and highlight-js - Fix string embedded language in Monaco commit_hash:d140266b26c73e9623d878a44e7c0c1152d5c437
* YQL-20496: Highlight hints as keywordsvitya-smirnov2025-10-291-1/+1
| | | | | | User asked to highlight hints as keywords despite they are actually have options semantics, because it is more familiar and intuitive. commit_hash:9c0b63afea781aabfd33189abddb9d0a0ffbaa08
* YQL-20496: Improve YQL highlightingvitya-smirnov2025-10-091-1/+14
| | | | commit_hash:edf72fd8386c41f858f677152612bd58680506a6
* YQL-19616: Enumerate types DRYvitya-smirnov2025-08-041-1/+2
| | | | | | Replaced hardcoded types list at highlighting generator with core enumerator. commit_hash:68fa56ed73fabf015a2469ed6bcc4e2481456647
* YQL-19616: Generate YQL TextMate Bundlevitya-smirnov2025-07-311-2/+2
| | | | | | | | - Introduced the Generator interface. - Made tool to generate content to stdout and file. - Supported TextMate Bundle, tested on IDEA and TextMate. - Fixed UDF highlighting priority. commit_hash:bcbc446a2fe58da3400f0e981a03d821b8f77dae
* YQL-19616: Improve TextMate and Vim grammarsvitya-smirnov2025-07-221-2/+2
| | | | | | | | | - Fixed multiline tokens - Fixed REAL number display - Disabled punctuation highlighting - Refactored by extracting properties to core highlighting commit_hash:a2d1eb6e4e49b1cb785b90accbdecebe977faa13
* YQL-19616: Generate Vim SQL syntax highlightingvitya-smirnov2025-07-151-2/+2
| | | | | | | | | | Introduced a Vim syntax highlighting for YQL. This is a replacement for an existing almost manually written conguration. It uses regexes generated from the original ANTLR4 grammar. Now only Default lexer mode is supported. commit_hash:85fa094593bd9d80373754a492b46ede1a50148d
* Intermediate changesrobot-piglet2025-05-122-0/+103
commit_hash:3a624a323006078de71f50747f7b2e8cadba7ccd