Commit 14af70e
fix: allow lambdas and Lua functions as doc handlers
When `g:vimtex_doc_handlers` holds a lambda expression or bare Lua
function, the iterator itself will become a Funcref. To avoid E704,
this Funcref variable name must start with a capital letter.1 parent 29c84ce commit 14af70e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments