aboutsummaryrefslogtreecommitdiff
path: root/nvim/lua/configs/lspconfig.lua
blob: d72020d239d6bef539073e04cd98f7805876cbc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require("nvchad.configs.lspconfig").defaults()

-- NOTE: DO NOT USE MASON TO INSTALL LSPs, THEY CONFLICT WITH THESE, IF YOU
-- HAVE ANY INSTALLED, REMOVE THEM
local servers = { "html", "cssls", "rust_analyzer", "zls", "ts_ls", "pylsp" }
vim.lsp.enable(servers)

vim.lsp.config("clangd", {
  cmd = {
    "clangd",
    "--query-driver=/run/current-system/sw/bin/arm-none-eabi-gcc",
  },
})

vim.lsp.enable("clangd")