From 6b169212f82cbe81d1fbf3ae7f7dcea14bc5bec4 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 14 Jun 2019 16:07:20 +0200 Subject: Add svelte support, closes #410 --- ftplugin/rst.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin') diff --git a/ftplugin/rst.vim b/ftplugin/rst.vim index 3c1e9032..064bd88e 100644 --- a/ftplugin/rst.vim +++ b/ftplugin/rst.vim @@ -38,7 +38,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() -- cgit v1.2.3