We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d322a70 + 2eaba99 commit 7cf0665Copy full SHA for 7cf0665
autoload/OmniSharp/stdio.vim
@@ -191,6 +191,12 @@ function! OmniSharp#stdio#Request(command, opts) abort
191
let lines[a:opts.OverrideBuffer.LineNr - 1] = a:opts.OverrideBuffer.Line
192
let cnum = a:opts.OverrideBuffer.Col
193
endif
194
+ if &endofline
195
+ " Ensure that the final trailing <EOL> is included, so that EOL analyzers
196
+ " won't complain about missing <EOL> on the final line when it does
197
+ " actually exist, it just isn't displayed by vim.
198
+ call add(lines, '')
199
+ endif
200
let tmp = join(lines, '')
201
" Unique string separator which must not exist in the buffer
202
let sep = '@' . matchstr(reltimestr(reltime()), '\v\.@<=\d+') . '@'
0 commit comments