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
Some options are only applied the currently opened file on load e.g. 'scrolloff'.
Setting 'scrolloff' in the neovintageousrc file should work, but I've just noticed a bug. It only sets in on startup for currently opened file and then defaults back to the Sublime Text scroll_context_lines setting. Setting 'scrolloff' on the fly works e.g. :set scrolloff=8
The reason is because instead of implementing context scrolling, we use Sublime Text's built in context_scroll_lines settings. So setting :scrolloff=8 on the fly works because sets actually sets context_scroll_lines at the view level. But the rc file works on a at a global level. However, in order to set it globally we have modify the global preferences, which would be right at the rc level but not at the view level.
The rc file loader needs some way to indicate that any Sublime Text proxied options being set need to be set globally e.g. if set scrolloff=8 is being set it needs to update the global context_scroll_lines setting. Currently it just sets at the view level.
Some options are only applied the currently opened file on load e.g.
'scrolloff'
.Setting 'scrolloff' in the neovintageousrc file should work, but I've just noticed a bug. It only sets in on startup for currently opened file and then defaults back to the Sublime Text scroll_context_lines setting. Setting 'scrolloff' on the fly works e.g. :set scrolloff=8
Re #875 (comment)
The text was updated successfully, but these errors were encountered: