diff --git a/autoload/ingo/smartcase.vim b/autoload/ingo/smartcase.vim index 5c0c61d..c9c26d5 100644 --- a/autoload/ingo/smartcase.vim +++ b/autoload/ingo/smartcase.vim @@ -6,20 +6,6 @@ " The VIM LICENSE applies to this script; see ':help copyright'. " " Maintainer: Ingo Karkat -" -" REVISION DATE REMARKS -" 1.021.003 24-Jun-2014 ENH: For a single word that so far didn't change -" the SmartCase pattern, allow for an optional -" preceding or trailing non-alphabetic keyword -" separator. This makes the -" ChangeGloballySmartCase replacement of "foo" -" also work correctly on FOO_BAR. -" 1.021.002 20-Jun-2014 Also handle regexp atoms in -" ingo#smartcase#FromPattern(). This isn't -" required by the (literal text, very nomagic) -" original use case, but for the arbitrary -" patterns in CmdlineSpecialEdits.vim. -" 1.021.001 20-Jun-2014 file creation from plugin/ChangeGloballySmartCase.vim let s:save_cpo = &cpo set cpo&vim @@ -28,7 +14,7 @@ let s:singleSmartCasePattern = printf('\V\C\^\\c\\(%s\(\zs\.\*\ze\)\\|\1%s\\)\$' function! ingo#smartcase#IsSmartCasePattern( pattern ) return (a:pattern =~# '\%(\%(^\|[^\\]\)\%(\\\\\)*\\\)\@