mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-03 00:43:44 +08:00
no need to write and read temporary file with syntax_tree (#4834)
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
This commit is contained in:
1 parent
a7ef1817b7
commit
2e5f135836
2 files changed
+3
-6
No files matched your search
@@ -18,9 +18,8 @@ Execute(The syntax_tree callback should return the correct default values):
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'read_temporary_file': 1,
|
||||
\ 'command': ale#Escape(g:ale_ruby_syntax_tree_executable)
|
||||
\ . ' write %t',
|
||||
\ . ' format %t',
|
||||
\ },
|
||||
\ ale#fixers#syntax_tree#Fix(bufnr(''))
|
||||
|
||||
@@ -30,8 +29,7 @@ Execute(The syntax_tree callback should include custom options):
|
||||
|
||||
AssertEqual
|
||||
\ {
|
||||
\ 'read_temporary_file': 1,
|
||||
\ 'command': ale#Escape(g:ale_ruby_syntax_tree_executable)
|
||||
\ . ' write --print-width=100 --plugins=plugin/trailing_comma %t',
|
||||
\ . ' format --print-width=100 --plugins=plugin/trailing_comma %t',
|
||||
\ },
|
||||
\ ale#fixers#syntax_tree#Fix(bufnr(''))
|
||||
Reference in new issue
Block a user