summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/lsp-lines.lua
blob: 4975f480098266f9bc0c1c5a22d27dd0ce813f37 (plain)
1
2
3
4
5
6
7
8
9
10
return {
    -- NOTE: [Good alternative](https://github.com/rachartier/tiny-inline-diagnostic.nvim)
    -- although, this plugin is amazing, so I wouldn't switch it most likely
    'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
    event = 'LspAttach',
    config = function()
        require('lsp_lines').setup()
        vim.keymap.set('n', '<Leader>dt', require('lsp_lines').toggle, { desc = '[D]iagnostics [T]oggle inline' })
    end,
}