summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/lsp.lua
blob: 6f2f63cd6544c8cd7ec4dfffdf122886a5634cde (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
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' },
            { 'ray-x/lsp_signature.nvim',                    event = 'VeryLazy' },

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

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