Skip to content

Commit 5a27af7

Browse files
committed
Fix vimscript9 after patch 8.2-4053
1 parent 2fbcf04 commit 5a27af7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

autoload/alternator9.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def FindFiles( filename: string ): list< string >
2323
endif
2424
enddef
2525

26-
export def alternator9#alternate(): void
26+
export def Alternate(): void
2727
if &modified && !&hidden
2828
echo "No write since last change, cannot alternate!"
2929
return

plugin/alternator.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ let g:alternator_header_extensions = get( g:, 'alternator_header_extensions', [
1010
let g:alternator_source_extensions = get( g:, 'alternator_source_extensions', [ '.c', '.cpp', ] )
1111
let g:alternator_blacklist_folders = get( g:, 'alternator_blacklist_folders', [ 'node_modules', '.git' ] )
1212

13-
if has('patch-8.2.3401')
14-
command! Alternate call alternator9#alternate()
13+
if has('patch-8.2.4053')
14+
command! Alternate call alternator9#Alternate()
1515
else
1616
command! Alternate call alternator#alternate()
1717
endif

0 commit comments

Comments
 (0)