You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
according to vim docs (:h :syn-sync-first), syntax sync fromstart is equivalent to using a large value for minlines.
This is what vim-javascript uses.
I think this solves sync issue for all cases, maybe wen can go with this for now and if we faces performance issues we can use an optiomal value for min / max value
I tend to have enormous ReScript files (just check the re_pages/Playground.res file, that spans more than 1500 lines), I'd rather would like to try a line number of 600 or so
I think JavaScript workflows are different, because they tend to create a hundred 10 line files, instead of one 1000 line file
You're right, long js files are headache but it's so natural to have large files in a language with ml style typesystem like ReScript.
IMO I don't think if it causes major performance issues but yeah we like vim because it's FAST. so for now we go with 600 and if we had problems (either large multiline strings or large comments) with this we can tweak the number or use sync fromstart.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #14