mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-20 19:21:18 +08:00
ale#path#CdString include ale#Escape
This commit is contained in:
@@ -7,7 +7,7 @@ After:
|
||||
|
||||
Execute(The staticcheck callback should return the right defaults):
|
||||
AssertLinter 'staticcheck',
|
||||
\ ale#path#CdString(ale#Escape(expand('%:p:h')))
|
||||
\ ale#path#CdString(expand('%:p:h'))
|
||||
\ . 'staticcheck '
|
||||
\ . ale#Escape(expand('%' . ':t'))
|
||||
|
||||
@@ -15,7 +15,7 @@ Execute(The staticcheck callback should use configured options):
|
||||
let b:ale_go_staticcheck_options = '-test'
|
||||
|
||||
AssertLinter 'staticcheck',
|
||||
\ ale#path#CdString(ale#Escape(expand('%:p:h')))
|
||||
\ ale#path#CdString(expand('%:p:h'))
|
||||
\ . 'staticcheck '
|
||||
\ . '-test ' . ale#Escape(expand('%' . ':t'))
|
||||
|
||||
@@ -23,4 +23,4 @@ Execute(The staticcheck `lint_package` option should use the correct command):
|
||||
let b:ale_go_staticcheck_lint_package = 1
|
||||
|
||||
AssertLinter 'staticcheck',
|
||||
\ ale#path#CdString(ale#Escape(expand('%:p:h'))) . 'staticcheck .',
|
||||
\ ale#path#CdString(expand('%:p:h')) . 'staticcheck .',
|
||||
|
||||
Reference in New Issue
Block a user