Files
dots/.config/nvim/lua/plugins/lsp.lua
2025-11-08 16:01:49 +02:00

37 lines
761 B
Lua

return {
{
"neovim/nvim-lspconfig",
config = function()
local lsp = require("lspconfig")
-- lsp.pylsp.setup({})
vim.lsp.enable("pyright")
vim.lsp.enable("gopls")
vim.lsp.enable("rust_analyzer")
vim.lsp.enable("clangd")
vim.lsp.enable("ts_ls")
vim.lsp.enable("gleam")
-- lsp.lua_ls.setup({
-- settings = {
-- Lua = {
-- runtime = {
-- version = "LuaJIT",
-- },
-- diagnostics = {
-- globals = { "vim" },
-- },
-- workspace = {
-- library = vim.api.nvim_get_runtime_file("", true),
-- },
-- telemetry = {
-- enable = false,
-- },
-- },
-- },
-- })
vim.lsp.config("helm_ls", {
filetypes = { "helm", "yaml" },
})
end,
},
}