Commit Graph

21 Commits

Author SHA1 Message Date
leafOfTree
a8decb75b1 Remove fold timer to support makeview/loadview 2021-11-05 17:50:11 +08:00
leafOfTree
7f4c259d27 Fix fold level of blank lines in <script> 2021-09-10 13:20:12 +08:00
leafOfTree
9ae107ea6f Fix script fold issue 2021-05-10 14:02:08 +08:00
leafOfTree
b8cbd66359 Use user's option when setting 2021-05-10 13:25:38 +08:00
leafOfTree
8a913af7a6 setlocal foldenable to default value (on) 2021-04-23 13:06:51 +08:00
leafOfTree
d080255fce Fix foldexpr 2021-04-19 14:20:37 +08:00
leafOfTree
59e9825606 Fix foldexpr on config and custom blocks 2021-04-06 13:37:00 +08:00
leafOfTree
2b050c42c1 Refactor the whole plugin 2021-03-23 11:50:46 +08:00
leafOfTree
a5e3c10795 Enable fodexpr initially when the line number is less than 1000 2020-11-20 11:46:14 +08:00
leafOfTree
b22a41fb6b Use a help function to get user config 2020-07-17 08:45:06 +08:00
leafOfTree
6a958cedcc Handle folding in script and template/style separately 2020-04-13 14:53:02 +08:00
leafOfTree
ad44fd0106 Fix syntax error in nvim caused by matchparis 2020-03-20 11:47:56 +08:00
leafOfTree
4b0e807db4 Fix typo 2019-09-25 14:24:27 +08:00
leafOfTree
26459d2c84 Fix incorrect fold for template 2019-09-25 14:22:16 +08:00
leafOfTree
f591da8f5e Indent correctly with template string 2019-09-20 16:34:48 +08:00
leafOfTree
728e293c29 Support fold-syntax foldmethod 2019-08-27 16:15:10 +08:00
yemai
19245b09f6 refact: improve format 2019-08-15 16:21:54 +08:00
yemai
cf54537328 chore: improve comment 2019-08-15 16:15:17 +08:00
yemai
4cfe8362fd chore: replace tabs with spaces 2019-08-15 16:13:26 +08:00
yemai
02029e1ae1 feat: add fold 2019-08-15 16:06:20 +08:00
yemai
151d3cdc2f feat: add ftplugin to support matchit '%' usage for template tag 2019-06-17 12:40:54 +08:00