diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-22 15:01:08 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-22 15:40:06 -0400 |
commit | 8415615b593c6673083a5004d5db9e8af4914726 (patch) | |
tree | e58158e11b6f33344aebf04c0b3b8a914b15b7c1 /src/nvim/option.h | |
parent | 8e5439182b0c62c433b0696d85e033ffc7404e0c (diff) | |
download | rneovim-8415615b593c6673083a5004d5db9e8af4914726.tar.gz rneovim-8415615b593c6673083a5004d5db9e8af4914726.tar.bz2 rneovim-8415615b593c6673083a5004d5db9e8af4914726.zip |
vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session file
Problem: Problems when restoring 'runtimepath' from a session file.
Solution: Add the "skiprtp" item in 'sessionoptions'.
https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a
Allow "terminal" value for sessionoptions even if it's no-opt
because patch v8.0.1592 is not ported yet.
Omit vim9 test, Test_mksession_skiprtp().
Diffstat (limited to 'src/nvim/option.h')
-rw-r--r-- | src/nvim/option.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/option.h b/src/nvim/option.h index 60f14dea44..c6ee03e052 100644 --- a/src/nvim/option.h +++ b/src/nvim/option.h @@ -19,6 +19,9 @@ typedef enum { OPT_MODELINE = 8, ///< Option in modeline. OPT_WINONLY = 16, ///< Only set window-local options. OPT_NOWIN = 32, ///< Don’t set window-local options. + OPT_ONECOLUMN = 64, ///< list options one per line + OPT_NO_REDRAW = 128, ///< ignore redraw flags on option + OPT_SKIPRTP = 256, ///< "skiprtp" in 'sessionoptions' } OptionFlags; #ifdef INCLUDE_GENERATED_DECLARATIONS |