From f33c3219c38babd59732a9be56d77b4c0cdb2cd8 Mon Sep 17 00:00:00 2001 From: Svilen Bonev <6726862+svilenb@users.noreply.github.com> Date: Thu, 19 Jun 2025 15:12:01 +0300 Subject: [PATCH] Fix neovim crashes --- plugin/qfdiagnostics.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/qfdiagnostics.vim b/plugin/qfdiagnostics.vim index bfb1381..ec5b10e 100644 --- a/plugin/qfdiagnostics.vim +++ b/plugin/qfdiagnostics.vim @@ -1,3 +1,7 @@ +if !has('vim9script') || v:version < 900 + finish +endif + vim9script # ============================================================================== # Highlight quickfix locations and show error messages in popup window