diff options
author | Wilson E. Alvarez <wilson.e.alvarez@rubonnek.com> | 2023-03-14 16:55:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 20:55:28 +0000 |
commit | e1a0781f9de7d90554ea572cd220d72f823be3dc (patch) | |
tree | 99d4504938542555401a5e584378ba4067e97cea /autoload/ale/util.vim | |
parent | 011e4f6590e8fb26ee2b55bd6b368f1bb784a537 (diff) | |
download | ale-e1a0781f9de7d90554ea572cd220d72f823be3dc.zip |
Fix `ale#util#GetBufferContents` and propagate use (#4457)
* Use newline characters instead in ale#util#GetBufferContents
* Propagate use of ale#util#GetBufferContents
* Add ale#util#GetContentBuffer test
Diffstat (limited to 'autoload/ale/util.vim')
-rw-r--r-- | autoload/ale/util.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/util.vim b/autoload/ale/util.vim index c884076a..2dc71ce5 100644 --- a/autoload/ale/util.vim +++ b/autoload/ale/util.vim @@ -542,7 +542,7 @@ function! ale#util#SetBufferContents(buffer, lines) abort endfunction function! ale#util#GetBufferContents(buffer) abort - return join(getbufline(a:buffer, 1, '$'), '\n') . '\n' + return join(getbufline(a:buffer, 1, '$'), "\n") . "\n" endfunction function! ale#util#ToURI(resource) abort |