mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-12 08:00:14 +08:00
ale#path#CdString include ale#Escape
This commit is contained in:
1 parent
bc3ccd6e04
commit
f4395f5b8c
20 files changed
+67
-67
No files matched your search
@@ -27,7 +27,7 @@ Execute(The isort callback should return the correct default values):
|
||||
silent execute 'file ' . fnameescape(g:dir . '/python_paths/with_virtualenv/subdir/foo/bar.py')
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'command': ale#path#CdString(ale#Escape(ale#path#Simplify(g:dir . '/python_paths/with_virtualenv/subdir/foo')))
|
||||
\ 'command': ale#path#CdString(ale#path#Simplify(g:dir . '/python_paths/with_virtualenv/subdir/foo'))
|
||||
\ . ale#Escape(ale#path#Simplify(g:dir . '/python_paths/with_virtualenv/env/' . b:bin_dir . '/isort')) . ' -',
|
||||
\ },
|
||||
\ ale#fixers#isort#Fix(bufnr(''))
|
||||
@@ -42,7 +42,7 @@ Execute(The isort callback should respect custom options):
|
||||
silent execute 'file ' . fnameescape(g:dir . '/python_paths/with_virtualenv/subdir/foo/bar.py')
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'command': ale#path#CdString(ale#Escape(ale#path#Simplify(g:dir . '/python_paths/with_virtualenv/subdir/foo')))
|
||||
\ 'command': ale#path#CdString(ale#path#Simplify(g:dir . '/python_paths/with_virtualenv/subdir/foo'))
|
||||
\ . ale#Escape(ale#path#Simplify(g:dir . '/python_paths/with_virtualenv/env/' . b:bin_dir . '/isort'))
|
||||
\ . ' --multi-line=3 --trailing-comma -',
|
||||
\ },
|
||||
|
||||
Reference in new issue
Block a user