diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/organize_imports.vim | 2 | ||||
-rw-r--r-- | autoload/ale/rename.vim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/autoload/ale/organize_imports.vim b/autoload/ale/organize_imports.vim index a6e77863..395e6fbd 100644 --- a/autoload/ale/organize_imports.vim +++ b/autoload/ale/organize_imports.vim @@ -19,7 +19,7 @@ function! ale#organize_imports#HandleTSServerResponse(conn_id, response) abort \ }, \ { \ 'conn_id': a:conn_id, - \ 'should_save': !&hidden, + \ 'should_save': g:ale_save_hidden || !&hidden, \ }, \) endfunction diff --git a/autoload/ale/rename.vim b/autoload/ale/rename.vim index a722cc94..53c9fb5c 100644 --- a/autoload/ale/rename.vim +++ b/autoload/ale/rename.vim @@ -85,7 +85,7 @@ function! ale#rename#HandleTSServerResponse(conn_id, response) abort \ }, \ { \ 'conn_id': a:conn_id, - \ 'should_save': !&hidden, + \ 'should_save': g:ale_save_hidden || !&hidden, \ }, \) endfunction @@ -118,7 +118,7 @@ function! ale#rename#HandleLSPResponse(conn_id, response) abort \ }, \ { \ 'conn_id': a:conn_id, - \ 'should_save': !&hidden, + \ 'should_save': g:ale_save_hidden || !&hidden, \ }, \) endif |