mirror of
https://github.com/vim/vim.git
synced 2026-11-24 13:04:46 +01:00
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>
21 lines
3.4 KiB
Plaintext
Generated
21 lines
3.4 KiB
Plaintext
Generated
| +0&#ffffff0@1|c+0#00e0e07&|a|l@1|b|a|c|k|:+0#e000e06&| +0#0000000&|(+0#e000e06&|A+0#00e0003&|,+0#e000e06&| +0#0000000&|I+0#00e0003&|n|t|)+0#e000e06&| +0#0000000&|-+0#af5f00255&|>| +0#0000000&|B+0#00e0003&| +0#0000000&@49
|
|
@2|`|w|h|e|n|`|:+0#e000e06&| +0#0000000&|(+0#e000e06&|*+0#af5f00255&|L+0#00e0003&|o|g|i|c|S|t|a|t|e|m|e|n|t||+0#af5f00255&|B+0#00e0003&|o@1|l|e|a|n||+0#af5f00255&|S+0#00e0003&|t|r|i|n|g|)+0#e000e06&|?+0#af5f00255&| +0#0000000&@31
|
|
@2|/+0#0000e05&|*| |B|l|o|c|k| |c|o|m@1|e|n|t| |*|/| +0#0000000&|l+0#00e0003&|o|c|a|l| +0#0000000&|f+0#00e0003&|i|x|e|d| +0#0000000&|c+0#00e0003&|o|n|s|t| +0#0000000&|c+0#00e0e07&|o|u|n|t|:+0#e000e06&| +0#0000000&|U+0#00e0003&|I|n|t|8| +0#0000000&|=+0#af5f00255&| +0#0000000&|1+0#e000002&| +0#0000000&@18
|
|
|}+0#e000e06&| +0#0000000&@73
|
|
@75
|
|
>t+0#00e0003&|y|p|e|a|l|i|a|s| +0#0000000&|W+0#00e0003&|e@1|k|d|a|y| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|M|O|"||+0#af5f00255&|"+0#e000002&|T|U|"||+0#af5f00255&|W+0#00e0003&|e@1|k|e|n|d| +0#0000000&@37
|
|
|t+0#00e0003&|y|p|e|a|l|i|a|s| +0#0000000&|M+0#00e0003&|u|l|t|i|l|i|n|e| +0#0000000&|=+0#af5f00255&| +0#0000000&@53
|
|
@2|"+0#e000002&|a|"| +0#0000000&@69
|
|
@2||+0#af5f00255&|T+0#00e0003&|h|i|n|g| +0#0000000&@66
|
|
@2||+0#af5f00255&|n+0#e000e06&|o|t|h|i|n|g| +0#0000000&@64
|
|
@75
|
|
|@+0#e000e06&|D|e|p|r|e|c|a|t|e|d| +0#0000000&|{+0#e000e06&| +0#0000000&|m+0#00e0e07&|e|s@1|a|g|e| +0#0000000&|=+0#af5f00255&| +0#0000000&|"+0#e000002&|U|s|e| |b|a|r|"| +0#0000000&|}+0#e000e06&| +0#0000000&@39
|
|
|f+0#af5f00255&|u|n|c|t|i|o|n| +0#0000000&|m+0#00e0e07&|a|p|<+0#e000e06&|R+0#00e0003&|>+0#e000e06&|(|f+0#0000000&|:+0#e000e06&| +0#0000000&|(+0#e000e06&|B+0#00e0003&|a|s|e|)+0#e000e06&| +0#0000000&|-+0#af5f00255&|>| +0#0000000&|R+0#00e0003&|)+0#e000e06&|:| +0#0000000&|L+0#00e0003&|i|s|t|<+0#e000e06&|R+0#00e0003&|>+0#e000e06&| +0#0000000&|=+0#af5f00255&| +0#0000000&|F+0#00e0003&|o@1|.+0#e000e06&|o+0#00e0e07&|f|(+0#e000e06&|f+0#0000000&|.+0#e000e06&|a+0#00e0e07&|p@1|l|y|(+0#e000e06&|t+0#af5f00255&|h|i|s|)+0#e000e06&@1| +0#0000000&@10
|
|
@75
|
|
|/+0#0000e05&@1| |N|u|m|b|e|r|s| +0#0000000&@64
|
|
|i+0#00e0e07&|n|t| +0#0000000&|=+0#af5f00255&| +0#0000000&|1+0#e000002&|_|0@2|_|0@2| +0#0000000&|++0#af5f00255&| +0#0000000&|0+0#e000002&|x|1|F|_|F@1| +0#0000000&|++0#af5f00255&| +0#0000000&|0+0#e000002&|b|1|0|1|0|_|1|0|1|0| +0#0000000&|++0#af5f00255&| +0#0000000&|0+0#e000002&|o|7|_|7| +0#0000000&|++0#af5f00255&| +0#0000000&|4+0#e000002&|2| +0#0000000&@22
|
|
|f+0#00e0e07&|l|o|a|t| +0#0000000&|=+0#af5f00255&| +0#0000000&|1+0#e000002&|.|5| +0#0000000&|++0#af5f00255&| +0#0000000&|.+0#e000002&|5| +0#0000000&|++0#af5f00255&| +0#0000000&|1+0#e000002&|_|0|.|0|_|1| +0#0000000&|++0#af5f00255&| +0#0000000&|2+0#e000002&|e|-|3| +0#0000000&|++0#af5f00255&| +0#0000000&|1+0#e000002&|.|5|E|+|1|0| +0#0000000&|++0#af5f00255&| +0#0000000&|3+0#e000002&|e|1|_|0| +0#0000000&@23
|
|
|i+0#00e0e07&|n|v|a|l|i|d| +0#0000000&|=+0#af5f00255&| +0#0000000&|1|_@1|0@2| |++0#af5f00255&| +0#0000000&|1|_| |++0#af5f00255&| +0#0000000&|0|x|G| |++0#af5f00255&| +0#0000000&|0|b|2| |++0#af5f00255&| +0#0000000&|0|o|8| @35
|
|
|c+0#00e0e07&|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
|
|
@57|1|9|,|1| @9|2|6|%|
|