summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/lsp.lua
blob: c65711c672aaeac51816be7ea8360cf75b2e5ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require('mason').setup()
require('mason-lspconfig').setup({
    ensure_installed = {
        'lua_ls',
        'clangd',
        'pyright',
        'html',
    },
})

vim.lsp.config('html', {
    filetypes = { "html", "htmldjango" },
    init_options = {
        provideFormatter = true,
        embeddedLanguages = { css = true, javascript = true },
    },
})