Skip to content

Commit cfe40c1

Browse files
committed
Change s:isnamec to only include colon with scope
Fixes vim-jp#79.
1 parent 81691a7 commit cfe40c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/vimlparser.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function! s:iswhite(c)
239239
endfunction
240240

241241
function! s:isnamec(c)
242-
return a:c =~# '^[0-9A-Za-z_:#]$'
242+
return a:c =~# '^([bgls]:)?[0-9A-Za-z_#]$'
243243
endfunction
244244

245245
function! s:isnamec1(c)

0 commit comments

Comments
 (0)