dotfiles/nvim/.config/nvim
Sanchayan Maity 24cd59f124
nvim: lsp: Fix use of diagnostic API
With get_line_diagnostics being deprecated we switched to
vim.diagnostic.get but vim diagnostics are different from
LSP diagnostics and need to be converted.

We copy the code from get_line_diagnostics here as that
will be dropped in 0.12. Strangely the issue only kept
coming up with ruff/Python and HLS/Haskell.

This fixes commit ef0daa5d4 which broke code action
light bulb functionality.
2024-09-19 16:03:57 +05:30
..
after nvim: after/ftplugin/markdown: Set conceallevel to 2 2024-05-17 11:35:28 +05:30
autoload nvim: after/ftplugin/C: Do not run gst-indent after buffer save 2024-03-30 16:47:04 +05:30
ftdetect nvim: ftdetect/purescript: Detect purs files as purescript 2023-06-07 13:44:23 +05:30
lua nvim: lsp: Fix use of diagnostic API 2024-09-19 16:03:57 +05:30
plugin nvim: plugin/shell: Add helper to get decimal & hexadecimal values 2024-01-11 13:24:26 +05:30
queries/lean nvim: Add support for lean 2024-02-19 21:00:13 +05:30
.editorconfig nvim: Add editorconfig 2023-01-15 17:22:14 +05:30
init.lua nvim: init: Override default grepprg 2024-07-31 12:16:20 +05:30