This repository was archived by the owner on Jul 29, 2023. It is now read-only.
Commit af91253
committed
Fix indent lines after using ownsyntax
Vim resets the syntax highlighting when the 'ownsyntax' command is used.
This also triggers a new Syntax event, but indentLine did not reapply
its syntax rules because indentLine_enabled is still set.
Now we explicitly unset indentLine_enabled and call Setup again to
ensure everything is working again.1 parent 942fea0 commit af91253
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
0 commit comments