Fix diagnostic for LSP provider

Prevent applying single location diagnostic if a range is available
1 job for diagnostic-lsp in 60 minutes and 1 second
Status Job ID Name Coverage
  Test
failed #783162
flatpak
flatpak

01:00:01

 
Name Stage Failure
failed
flatpak Test The script exceeded the maximum execution time set for the job
[800/1170] Compiling C object 'src/plugins/9ea79ac@@plugins@sta/buildui_gbp-buildui-runtime-categories.c.o'.
[801/1170] Compiling C object 'src/plugins/9ea79ac@@plugins@sta/buildui_gbp-buildui-editor-page-addin.c.o'.
Running after_script
WARNING: Failed to inspect build container a5a244b3462b7ef40b253d303659f823a484c17b494b547ba66f5f1951527fec context deadline exceeded (docker_command.go:78:0s)
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master ...
Uploading artifacts for failed job
Pulling docker image gitlab/gitlab-runner-helper:x86_64-c127439c ...
ERROR: Job failed: execution took longer than 1h0m0s seconds