diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-11-01 15:52:56 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-11-12 11:58:21 +0100 |
| commit | 410f459e0f1d5581e9444f77d7199b0c82e137c4 (patch) | |
| tree | 10cff0f6338cfd823d09fb04c03ed206a9ddff06 /init.lua | |
| parent | c48515a50be4c95d8f646c8a293dfe066039ed8b (diff) | |
| download | vis-lspc-410f459e0f1d5581e9444f77d7199b0c82e137c4.tar.gz vis-lspc-410f459e0f1d5581e9444f77d7199b0c82e137c4.zip | |
remove usable LS check from highlight_diagnostics
Highlighting diagnostics does not need a LS.
However, there should only be diagnostics if a LS is available.
But, this is already checked when looking at the open file.
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1764,11 +1764,6 @@ local function highlight_event() return end - local ls = lspc_get_usable_ls(win) - if not ls then - return - end - local open_file = lspc.open_files[win.file.path] if open_file and open_file.diagnostics and lspc.highlight_diagnostics then lspc_highlight_diagnostics(win, open_file.diagnostics) |
