# Refresh the placed diagnostics in buffer "bnr"
# This inline signs, inline props, and virtual text diagnostics
def DiagsRefresh(bnr: number)
- bnr->bufload()
+ :silent! bnr->bufload()
RemoveDiagVisualsForBuffer(bnr)
return
endif
- bnr->bufload()
+ :silent! bnr->bufload()
var text = bnr->getbufline(pos.line + 1)->get(0, '')
- if text == ''
+ if text->empty()
return
endif
return
endif
- bnr->bufload()
+ :silent! bnr->bufload()
var text = bnr->getbufline(pos.line + 1)->get(0, '')
# If the line is empty then don't decode the character position.
- if text == ''
+ if text->empty()
return
endif
if bnr == -1
bnr = fname->bufadd()
endif
- bnr->bufload()
+ :silent! bnr->bufload()
var lnum = range.start.line + 1
var text: string = bnr->getbufline(lnum)->get(0, '')
if bnr == -1
bnr = fname->bufadd()
endif
- bnr->bufload()
+ :silent! bnr->bufload()
var text: string = bnr->getbufline(range.start.line + 1)->get(0, '')->trim("\t ", 1)
qflist->add({filename: fname,
lnum: range.start.line + 1,
# Failed to create or find a buffer
return
endif
- silent! bnum->bufload()
+ :silent! bnum->bufload()
if lspserver.peekSymbolPopup->winbufnr() != -1
# If the symbol popup window is already present, close it.
endif
# if the buffer is not loaded, load it and make it a listed buffer
- bnr->bufload()
+ :silent! bnr->bufload()
setbufvar(bnr, '&buflisted', true)
var start_line: number = 4294967295 # 2 ^ 32
endif
# Need a loaded buffer to read the line and compute the offset
- bnr->bufload()
+ :silent! bnr->bufload()
var ltext: string = bnr->getbufline(pos.line + 1)->get(0, '')
if ltext->empty()
endif
# Need a loaded buffer to read the line and compute the offset
- bnr->bufload()
+ :silent! bnr->bufload()
var ltext: string = bnr->getbufline(pos.line + 1)->get(0, '')
if ltext->empty()