mirror of
https://github.com/inkarkat/vim-ingo-library.git
synced 2026-05-29 11:18:51 +02:00
Cosmetics: Delete changelog
This commit is contained in:
@@ -6,20 +6,6 @@
|
||||
" The VIM LICENSE applies to this script; see ':help copyright'.
|
||||
"
|
||||
" Maintainer: Ingo Karkat <ingo@karkat.de>
|
||||
"
|
||||
" 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 =~# '\%(\%(^\|[^\\]\)\%(\\\\\)*\\\)\@<!\\c' && (
|
||||
\ a:pattern =~# '\%(\%(^\|[^\\]\)\%(\\\\\)*\\\)\@<!\\A\\[?=]' ||
|
||||
\ a:pattern =~# s:singleSmartCaseAssertion
|
||||
\ a:pattern =~# s:singleSmartCasePattern
|
||||
\))
|
||||
endfunction
|
||||
function! s:Escape( atom )
|
||||
|
||||
Reference in New Issue
Block a user