diff --git a/plugin/sensible.vim b/plugin/sensible.vim index 0fc26e0..c9387ae 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -26,7 +26,7 @@ function! s:MaySet(option) abort silent verbose execute 'setglobal all' a:option . '?' redir END endif - return out !~# " \\(\\~[\\/][^\n]*\\|Lua\\)$" + return out !~# " \\(\\~[\\/]\\|Lua\\)[^\n]*$" endfunction if s:MaySet('backspace')