-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix vint errors #136
Fix vint errors #136
Conversation
6662c36
to
d94a282
Compare
travis checks are not showed... wtf? @blueyed do you know something about this...? ;) |
@blueyed and can you review this? |
autoload/vimlparser.vim
Outdated
@@ -28,7 +28,7 @@ function! vimlparser#test(input, ...) | |||
endtry | |||
endfunction | |||
|
|||
function! s:numtoname(num) | |||
function! s:numtoname(num) abort | |||
let sig = printf("function('%s')", a:num) | |||
for k in keys(s:) | |||
if type(s:[k]) == type({}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why vint does not show error about this? 🤔
07ea28e
to
d94a282
Compare
Fixed |
@blueyed review please 🙏 |
5873f0e
to
40f21cb
Compare
Trying a different approach in #139. |
I think #139 is slightly better by using "checkvim". |
We can pick your fixed into it - or the other way around. |
This reverts commit e3cc2f8.
Fix #111