Closed veksha closed 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.
last_line+1
0..last_line
last_line
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 range0..last_line
, we must clamp highest index of diagnostics tolast_line
.