diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 21:48:38 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 22:40:39 -0400 |
commit | e612a0a76a5c990220113e76ec6a07fe49c28618 (patch) | |
tree | 0831806a26fe7f5a14f3691745dde2c8cc397041 /runtime/ftplugin | |
parent | d894b3da1e4bc0fbb3baf319ca3071cc1d7b7f6c (diff) | |
download | rneovim-e612a0a76a5c990220113e76ec6a07fe49c28618.tar.gz rneovim-e612a0a76a5c990220113e76ec6a07fe49c28618.tar.bz2 rneovim-e612a0a76a5c990220113e76ec6a07fe49c28618.zip |
vim-patch:d1caa941d876
Update runtime files
https://github.com/vim/vim/commit/d1caa941d876181aae0ebebc6ea954045bf0da24
Cherry-pick error E452 from patch v8.2.0486.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/rst.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/rst.vim b/runtime/ftplugin/rst.vim index f0646e9f36..ff7a402d10 100644 --- a/runtime/ftplugin/rst.vim +++ b/runtime/ftplugin/rst.vim @@ -3,7 +3,7 @@ " Maintainer: Marshall Ward <marshall.ward@gmail.com> " Original Maintainer: Nikolai Weibull <now@bitwi.se> " Website: https://github.com/marshallward/vim-restructuredtext -" Latest Revision: 2018-12-29 +" Latest Revision: 2020-03-31 if exists("b:did_ftplugin") finish @@ -34,7 +34,7 @@ if exists("g:rst_style") && g:rst_style != 0 setlocal expandtab shiftwidth=3 softtabstop=3 tabstop=8 endif -if has('patch-7.3.867') " Introduced the TextChanged event. +if g:rst_fold_enabled != 0 && has('patch-7.3.867') " Introduced the TextChanged event. setlocal foldmethod=expr setlocal foldexpr=RstFold#GetRstFold() setlocal foldtext=RstFold#GetRstFoldText() |