summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/lsp.lua
blob: f64fd0925c27dbeb7734198ccaaa2c7931cf4fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
return {
    {
        'neovim/nvim-lspconfig',
        lazy = false,
        dependencies = {
            'williamboman/mason.nvim',
            'williamboman/mason-lspconfig.nvim',

            'nvimtools/none-ls.nvim',

            -- 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' },

            {
                'nvimdev/lspsaga.nvim',
                dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
            },
            {
                'folke/lazydev.nvim',
                ft = 'lua',
                opts = { library = { { path = 'luvit-meta/library', words = { 'vim%.uv' } } } },
            },
            {
                'ray-x/lsp_signature.nvim',
                event = 'VeryLazy',
            },
            { 'j-hui/fidget.nvim',                           opts = { notification = { window = { winblend = 0 } } } },

            -- AUtoformatting
            -- 'stevear/conform.nvim',

            -- Schema info
            -- 'b0o/SchemaStore.nvim',
        },
        config = function()
            require('custom.lsp')
        end,
    },
}