mirror of
https://github.com/vim/vim.git
synced 2025-10-22 08:34:29 -04:00
runtime(java): Fold adjacent "import" declarations
Also, distinguish (by abbreviating their names) and manage foldable kinds of syntax items: blocks of code ("b"), plain comments ("c"), Javadoc comments ("d"), adjacent "import" declarations ("i"). Fold all qualifying items by default; otherwise, do not fold items of explicitly delisted kinds. For example, ------------------------------------------------------------ let g:java_ignore_folding = "bcdi" ------------------------------------------------------------ Resolves zzzyxwvut/java-vim#12. closes: #18492 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
97d1255558
commit
143686b3c4
@@ -1,20 +1,20 @@
|
||||
| +0#0000e05#a8a8a8255@1|/+0&#ffffff0|*| |1|2@1|||.@65
|
||||
| +0&#a8a8a8255@1|.+0&#ffffff0@23|*|/| +0#0000000&|i+0#00e0003&|n|t|e|r|f|a|c|e| +0#0000000&|F|o|l|d|e|n|a|b|l|e| |{+0#00e0003&| +0#0000000&@23
|
||||
| +0#0000e05#a8a8a8255@1>}+0#00e0003#ffffff0| +0#0000000&@71
|
||||
|~+0#4040ff13&| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
| +0#0000000&@56|1|2@1|,|1| @8|B|o|t|
|
||||
| +0#0000e05#a8a8a8255@1| +0#0000000#ffffff0@72
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@3|s+0#00e0003&|t|a|t|i|c| +0#0000000&|{+0#0000001#ffff4012| +0#0000000#ffffff0@60
|
||||
||+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@7|S+0#e000002&|t|r|i|n|g| +0#0000000&|i+0#e000e06&|m|p|o|r|t|<+0#0000e05&|2|0|6|0|>|$+0#0000000&| |=| |"@2| @38
|
||||
||+0#0000e05#a8a8a8255| |i+0#e000002#ffffff0|m|p|o|r|t| |j|a|v|a|.|l|a|n|g|.|S|t|r|i|n|g|;| +0#0000000&@48
|
||||
||+0#0000e05#a8a8a8255| |"+0#0000000#ffffff0@2|;| @68
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@7>n+0#af5f00255&|e|w| +0#0000000&|O+0#e000002&|b|j|e|c|t|(+0#0000000&|)| |{+0#0000001#ffff4012| +0#0000000#ffffff0@50
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@11|{+0#0000001#ffff4012| +0#0000000#ffffff0@59
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@15|{+0#0000001#ffff4012| +0#0000000#ffffff0@55
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@19|n+0#af5f00255&|e|w| +0#0000000&|O+0#e000002&|b|j|e|c|t|(+0#0000000&|)| |{+0#0000001#ffff4012@2| +0#0000000#ffffff0@36
|
||||
|7+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@23|n+0#af5f00255&|e|w| +0#0000000&|O+0#e000002&|b|j|e|c|t|(+0#0000000&|)| |{+0#0000001#ffff4012@2|}@2|;+0#0000000#ffffff0| @28
|
||||
|7+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@19|}+0#0000001#ffff4012@2|;+0#0000000#ffffff0| @48
|
||||
|4+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@15|}+0#0000001#ffff4012| +0#0000000#ffffff0@55
|
||||
|3+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@11|}+0#0000001#ffff4012| +0#0000000#ffffff0@59
|
||||
|2+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@7|}+0#0000001#ffff4012|;+0#0000000#ffffff0| @62
|
||||
||+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@72
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@7|s+0#af5f00255&|w|i|t|c|h| +0#0000000&|(|0+0#e000002&|)+0#0000000&| |{+0#0000001#ffff4012| +0#0000000#ffffff0@52
|
||||
|2+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@11|c+0#af5f00255&|a|s|e| +0#0000000&|0+0#e000002&|:+0#0000000&| @53
|
||||
|-+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@11|c+0#af5f00255&|a|s|e| +0#0000000&|1+0#e000002&|:+0#0000000&| |{+0#0000001#ffff4012| +0#0000000#ffffff0@51
|
||||
|3+0#0000e05#a8a8a8255| | +0#0000000#ffffff0@15|b+0#af5f00255&|r|e|a|k|;+0#0000000&| @50
|
||||
@57|5@1|,|3|-|9| @7|3|8|%|
|
||||
|
Reference in New Issue
Block a user