From 39766cbd316a93cd0dd6197fbe90ac220e4c7b88 Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Tue, 7 Apr 2020 13:57:14 +0900 Subject: [PATCH] fix unlet need bang --- after/ftplugin/c/textobj-function.vim | 2 +- after/ftplugin/java/textobj-function.vim | 2 +- after/ftplugin/vim/textobj-function.vim | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/ftplugin/c/textobj-function.vim b/after/ftplugin/c/textobj-function.vim index 6fc7ee8..a2a0990 100644 --- a/after/ftplugin/c/textobj-function.vim +++ b/after/ftplugin/c/textobj-function.vim @@ -35,7 +35,7 @@ if exists('b:undo_ftplugin') else let b:undo_ftplugin = '' endif -let b:undo_ftplugin .= 'unlet b:textobj_function_select' +let b:undo_ftplugin .= 'unlet! b:textobj_function_select' " __END__ " vim: foldmethod=marker diff --git a/after/ftplugin/java/textobj-function.vim b/after/ftplugin/java/textobj-function.vim index 43808b5..2e84f21 100644 --- a/after/ftplugin/java/textobj-function.vim +++ b/after/ftplugin/java/textobj-function.vim @@ -36,7 +36,7 @@ if exists('b:undo_ftplugin') else let b:undo_ftplugin = '' endif -let b:undo_ftplugin .= 'unlet b:textobj_function_select' +let b:undo_ftplugin .= 'unlet! b:textobj_function_select' " __END__ " vim: foldmethod=marker diff --git a/after/ftplugin/vim/textobj-function.vim b/after/ftplugin/vim/textobj-function.vim index afcbd6b..d39f0c2 100644 --- a/after/ftplugin/vim/textobj-function.vim +++ b/after/ftplugin/vim/textobj-function.vim @@ -35,7 +35,7 @@ if exists('b:undo_ftplugin') else let b:undo_ftplugin = '' endif -let b:undo_ftplugin .= 'unlet b:textobj_function_select' +let b:undo_ftplugin .= 'unlet! b:textobj_function_select' " __END__ " vim: foldmethod=marker