diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-08-06 09:01:48 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-08-06 09:01:48 +0200 |
| commit | 319a6b322ea34add387bd356d3d3fb9c6fd3b1ff (patch) | |
| tree | 55c992b47786371c6ac1f1ba9e49af1f731a80c5 | |
| parent | 87881778dfa808f41b5ee911095318373fae9a72 (diff) | |
| download | vis-lspc-319a6b322ea34add387bd356d3d3fb9c6fd3b1ff.tar.gz vis-lspc-319a6b322ea34add387bd356d3d3fb9c6fd3b1ff.zip | |
fix diagnostic message creation if no file is available in the window
| -rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1424,7 +1424,7 @@ local function lspc_goto_next_diagnostic(win, reverse) local open_file = lspc.open_files[win.file.path] if not has_diagnostics(open_file) then - return win.file.path .. ' has no diagnostics available' + return (win.file.path or 'window') .. ' has no available diagnostics' end -- merge diagnostics |
