Complain about incorrect uses of expand('%...')

This commit is contained in:
w0rp
2017-06-06 10:22:52 +01:00
parent d41f15bcbc
commit a0e0408ecc
3 changed files with 6 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
" Description: Set options in files based on regex patterns.
function! ale#pattern_options#SetOptions() abort
let l:filename = expand('%:p')
let l:filename = expand('%:p') " no-custom-checks
let l:options = {}
for l:pattern in keys(g:ale_pattern_options)