mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-08 19:01:06 +08:00
Update syntax checking
* Line continuation characters should be on the same lines. * .vim file line indentation should be a multiple of 4.
This commit is contained in:
@@ -52,7 +52,8 @@ function! ale#preview#ShowSelection(item_list, ...) abort
|
||||
let l:filename = l:item.filename
|
||||
|
||||
if get(l:options, 'use_relative_paths')
|
||||
let l:filename = substitute(l:item.filename, '^' . getcwd() . l:sep, '', '') " no-custom-checks
|
||||
let l:cwd = getcwd() " no-custom-checks
|
||||
let l:filename = substitute(l:filename, '^' . l:cwd . l:sep, '', '')
|
||||
endif
|
||||
|
||||
call add(
|
||||
|
||||
Reference in New Issue
Block a user