Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change s:isnamec to only include colon with scope #81

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Next Next commit
Change s:isnamec to only include colon with scope
Fixes #79.
blueyed committed Jan 14, 2018
commit cfe40c1a6d21b31ec3de4dfbe4793a6fbb42ea11
2 changes: 1 addition & 1 deletion autoload/vimlparser.vim
Original file line number Diff line number Diff line change
@@ -239,7 +239,7 @@ function! s:iswhite(c)
endfunction

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

function! s:isnamec1(c)