Files
Jan Claußen ef73034ed7 runtime(pkl): Add indent script and update syntax script
Indent the contents of objects, classes, lists and argument lists, and
continuation lines after '=', '->', operators, if conditions and else,
like the Tree-sitter indent queries of the official Neovim plugin.
Method chains and union types are indented once. The contents of
multiline strings and block comments keep their indentation, as it is
part of the text.

Include a more mature syntax file that reflects the official Tree-sitter
highlighter.

closes: #21609

Assisted-by: Claude Code
Signed-off-by: Jan Claußen <jan.claussen10@web.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-10-31 18:05:02 +00:00

21 lines
3.0 KiB
Plaintext
Generated

|c+0#00e0e07#ffffff0|o|n|s|t|a|n|t|s| +0#0000000&|=+0#af5f00255&| +0#0000000&|N+0#e000002&|a|N| +0#0000000&|++0#af5f00255&| +0#0000000&|I+0#e000002&|n|f|i|n|i|t|y| +0#0000000&|++0#af5f00255&| +0#0000000&|n+0#e000002&|u|l@1| +0#0000000&|++0#af5f00255&| +0#0000000&|t+0#e000002&|r|u|e| +0#0000000&|++0#af5f00255&| +0#0000000&|f+0#e000002&|a|l|s|e| +0#0000000&@26
@75
|/+0#0000e05&@1| |S|t|r|i|n|g|s|,| |e|s|c|a|p|e|s| |a|n|d| |i|n|t|e|r|p|o|l|a|t|i|o|n| +0#0000000&@37
|s+0#00e0e07&|t|r|i|n|g| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|t|a|b|\+0#e000e06&|t| +0#e000002&|n|e|w|l|i|n|e|\+0#e000e06&|n| +0#e000002&|q|u|o|t|e|\+0#e000e06&|"| +0#e000002&|u|n|i|c|o|d|e|\+0#e000e06&|u|{|1+0#0000000&|F|6|0@1|}+0#e000e06&| +0#e000002&|\+0#e000e06&|(|n+0#0000000&|a|m|e|)+0#e000e06&|"+0#e000002&| +0#0000000&@15
|i+0#00e0e07&|n|v|a|l|i|d|E|s|c|a|p|e| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|\|q| |\|b| |\|0|"| +0#0000000&@48
>r+0#00e0e07&|a|w| +0#0000000&|=+0#af5f00255&| +0#0000000&|#+0#e000002&|"|n|o| |e|s|c|a|p|e| |\|t| |b|u|t| |\+0#e000e06&|#|t| +0#e000002&|a|n|d| |\+0#e000e06&|#|(|i+0#0000000&|n|t|e|r|p|o|l|a|t|e|d|)+0#e000e06&|"+0#e000002&|#| +0#0000000&@23
|r+0#00e0e07&|a|w|e|s|t| +0#0000000&|=+0#af5f00255&| +0#0000000&|#+0#e000002&@5|"|o|n|l|y| |\+0#e000e06&|#@5|n| +0#e000002&|a|n|d| |\+0#e000e06&|#@5|(|x+0#0000000&|)+0#e000e06&|"+0#e000002&|#@5| +0#0000000&@23
|m+0#00e0e07&|u|l|t|i|l|i|n|e| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&@2| +0#0000000&@59
| +0#e000002&@1|L|i|n|e| |o|n|e| |\+0#e000e06&|(|v+0#0000000&|a|l|u|e|.+0#e000e06&|n+0#0000000&|a|m|e|)+0#e000e06&| +0#0000000&@50
| +0#e000002&@1|C|o|n|t|i|n|u|e|d| |\+0#e000e06&| +0#0000000&@61
| +0#e000002&@1|l|i|n|e| +0#0000000&@68
| +0#e000002&@1|"@2| +0#0000000&@69
|r+0#00e0e07&|a|w|M|u|l|t|i|l|i|n|e| +0#0000000&|=+0#af5f00255&| +0#0000000&|#+0#e000002&|"@2| +0#0000000&@55
| +0#e000002&@1|"|q|u|o|t|e|s|"| |a|n|d| |\+0#e000e06&|#|(|x+0#0000000&|)+0#e000e06&| +0#0000000&@54
| +0#e000002&@1|"@2|#| +0#0000000&@68
@75
|/+0#0000e05&@1| |O|p|e|r|a|t|o|r|s| |a|n|d| |e|x|p|r|e|s@1|i|o|n|s| +0#0000000&@46
|o+0#00e0e07&|p|s| +0#0000000&|=+0#af5f00255&| +0#0000000&|a| |?+0#af5f00255&@1| +0#0000000&|b| ||+0#af5f00255&|>| +0#0000000&|c| |&+0#af5f00255&@1| +0#0000000&|!+0#af5f00255&|d+0#0000000&| ||+0#af5f00255&@1| +0#0000000&|e| |*+0#af5f00255&@1| +0#0000000&|2+0#e000002&| +0#0000000&|~+0#af5f00255&|/| +0#0000000&|3+0#e000002&| +0#0000000&|%+0#af5f00255&| +0#0000000&|4+0#e000002&| +0#0000000&|<+0#af5f00255&|=| +0#0000000&|5+0#e000002&| +0#0000000&|>+0#af5f00255&|=| +0#0000000&|6+0#e000002&| +0#0000000&|!+0#af5f00255&|=| +0#0000000&|7+0#e000002&| +0#0000000&|=+0#af5f00255&@1| +0#0000000&|8+0#e000002&| +0#0000000&@12
|a+0#00e0e07&|c@1|e|s@1| +0#0000000&|=+0#af5f00255&| +0#0000000&|f|o@1|?+0#af5f00255&|.+0#e000e06&|b+0#0000000&|a|r|!+0#af5f00255&@1|.+0#e000e06&|b+0#0000000&|a|z| |i+0#af5f00255&|s| +0#0000000&|B+0#00e0003&|a|s|e| +0#0000000&|a+0#e000e06&|s| +0#0000000&|O+0#00e0003&|t|h|e|r| +0#0000000&@34
@57|3|7|,|1| @9|6|3|%|