leafOfTree
2ed782e422
Sync syntax from start
...
Syncing by block start patterns didn't restore states inside the
block, so syntax computed before a line was displayed, e.g. by
GetVueTag() or indent after jumping in a file, missed regions like a
multi-line css rule. This replaces the one-line block fix in the
previous commit.
Parsing from start takes ~190ms once for jumping to the end of a
6500-line file, and states are cached after that.
2026-10-20 01:18:18 +00:00
leafOfTree
1e6923dcd2
Don't sync syntax to a block ending on the same line
...
A one-line block like <style>p { color: red; }</style> matched the
sync pattern of the block start, so when Vim synced syntax at or after
it, e.g. after jumping to a later line, the following blocks were
taken as inside the style block.
2026-10-19 13:42:16 +00:00
leafOfTree
04c3fb20ed
Load all tags after syntax instead of only style
2023-10-05 11:51:45 +08:00
leafOfTree
4d31393b03
Remove timer usage
2023-01-31 17:29:23 +08:00
leafOfTree
8d75429260
Fix syntax lost issue when using netrw :Vexplore
2023-01-31 15:31:52 +08:00
leafOfTree
c248bd1488
Load syntax and then set syntax to fix syntax sync
2021-08-13 16:56:22 +08:00
leafOfTree
6e25aaf388
Fix syntax sync being cleared issue
2021-08-13 16:47:13 +08:00
leafOfTree
8d464e9506
Support vue3 API keywords
2021-08-13 16:29:57 +08:00
leafOfTree
d15590dae2
Format code
2021-08-11 18:35:52 +08:00
leafOfTree
eb3bba0ccb
Support style v-bind syntax
2021-08-11 18:32:10 +08:00
leafOfTree
0e68102487
Improve multiple line tag syntax and custom tag indent
2021-08-04 11:14:15 +08:00
leafOfTree
3d2680a859
Support view block
2021-07-30 14:41:13 +08:00
leafOfTree
b2b08cda9d
Improve oneline block syntax
2021-06-02 13:51:42 +08:00
leafOfTree
c43bd87267
Support oneline block
2021-06-02 13:20:40 +08:00
leafOfTree
3ed1e89f55
Defer indent load time
2021-04-15 13:10:22 +08:00
leafOfTree
ed7e1a9898
Use runtime typescript indent for javascript
2021-04-14 22:50:37 +08:00
leafOfTree
8d3c18621d
Set syntax sync by each block syntax
2021-04-14 10:51:25 +08:00
leafOfTree
255472b126
Comment out syn sync fromstart for now
2021-04-13 15:53:48 +08:00
leafOfTree
8e6080629b
Enable syntax sync fromstart
2021-04-13 15:05:37 +08:00
leafOfTree
11c04aaf7b
Fix no highlight after loading session
2021-04-01 10:33:38 +08:00
leafOfTree
01e460244f
Fix syntax of template blocks inside template
2021-03-31 17:48:22 +08:00
leafOfTree
fc75f3c474
Fix template in pug indent error
2021-03-30 13:20:42 +08:00
leafOfTree
665d8a18b3
Fix syntax for template inside template
2021-03-30 10:29:56 +08:00
leafOfTree
d90b18e1c7
Update doc/message
2021-03-29 17:31:39 +08:00
leafOfTree
e1dab23589
Improve code and performance
2021-03-29 15:58:50 +08:00
leafOfTree
2b050c42c1
Refactor the whole plugin
2021-03-23 11:50:46 +08:00
leafOfTree
9af7723bd1
Support custom blocks syntax and indent
2021-03-11 14:52:38 +08:00
leafOfTree
db71d38675
Fix vue3 keyword syntax for pangloss/vim-javascript
2021-02-22 16:56:17 +08:00
leafOfTree
5a32d19c40
Extend cssValueNumber only for scss/sass
2020-12-02 15:17:44 +08:00
leafOfTree
7ab2e3b989
Extend cssValueNumber for scss/sass
2020-12-02 14:45:20 +08:00
leafOfTree
a789d7622e
Improve code format
2020-10-10 11:08:20 +08:00
leafOfTree
d68a2c9bf9
Set syn-sync minlines to 100
2020-07-29 08:50:43 +08:00
leafOfTree
b22a41fb6b
Use a help function to get user config
2020-07-17 08:45:06 +08:00
leafOfTree
e952addbf7
Adjust comments length
2020-07-17 08:02:26 +08:00
leafOfTree
6c09d4787b
Add option to highlight vue keywords
2020-07-17 07:46:28 +08:00
leafOfTree
b2454ed6b9
Keep backward compatible for use_sass option
2020-07-14 19:56:43 +08:00
leafOfTree
1eeb7b4d42
Support third party scss plugins
2020-07-14 19:53:19 +08:00
leafOfTree
34dff9369e
Change sass syntax name to sassVueStyle to support emmet
2020-05-14 07:32:10 +08:00
leafOfTree
705b518a05
Add comment for LoadFullSyntax()
2020-04-26 17:39:33 +08:00
leafOfTree
dc314be402
Load full syntax for stylus
2020-04-26 17:36:56 +08:00
Chris Vincent
18d23d2add
Add skeleton stylus support
2020-04-26 00:38:07 -06:00
leafOfTree
e237cabce1
Remove redundant blank lines
2020-04-07 11:56:57 +08:00
leafOfTree
021c921b36
Fix string template with quotes syntax error
2020-03-25 11:41:34 +08:00
leafOfTree
7df45dfd49
Add syntax sync settings for long files to fix syntx issues
2020-03-21 14:41:05 +08:00
leafOfTree
d6a25fc824
Support single quote for language definition
2020-03-18 09:24:48 +08:00
Yemai
6ec817c635
Fix style section indentation
2020-02-19 10:06:42 +08:00
leafOfTree
4e3df3a599
Support TypeScript syntax
2020-01-06 17:20:46 +08:00
leafOfTree
a64b99f0b0
Add code comment
2020-01-06 11:03:29 +08:00
leafOfTree
242d0334ba
Improve code comment
2019-12-04 10:17:00 +08:00
leafOfTree
bd7cb41e06
Remove blank lines
2019-10-12 15:37:16 +08:00