Skip to content

Commit 8054ded

Browse files
committed
fix EVL107 in doc
1 parent 237d551 commit 8054ded

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/vimlint.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,22 @@ EVL105: global variable `v` is defined without g:
101101
EVL106: local variable `v` is used without l: *EVL106*
102102
See |v:count|.
103103
>
104-
function! g:incorrect()
104+
function! Incorrect()
105105
let count = 1
106106
endif
107-
function! g:correct()
107+
function! Correct()
108108
let l:count = 1
109109
endif
110110
<
111111
EVL107: A function name does not allowd to contain a colon. *EVL107*
112-
112+
>
113+
function! g:incorrect()
114+
return 0
115+
endif
116+
function! Correct()
117+
return 1
118+
endif
119+
<
113120
code
114121
EVL201: unreachable code `return/throw` *EVL201*
115122
EVL201: unreachable code `continue/break`

0 commit comments

Comments
 (0)