CudaText-addons / cuda_lsp

LSP Client plugin for CudaText
2 stars 3 forks source link

show diagnostics for line indexes that are larger then line_count. #184

Closed veksha closed 1 year ago

veksha commented 1 year ago

nim lsp server, for example, can show diagnostics on line with index last_line+1 since CudaText can set bookmarks/decor only for lines in range 0..last_line, we must clamp highest index of diagnostics to last_line.