From 796db1e83d41d25a277c46c968a168702c1f3eb8 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 21 Jan 2024 04:04:42 -0500 Subject: New lsp config start --- lua/ben/plugins/lsp/mason.lua | 72 ------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 lua/ben/plugins/lsp/mason.lua (limited to 'lua/ben/plugins/lsp/mason.lua') diff --git a/lua/ben/plugins/lsp/mason.lua b/lua/ben/plugins/lsp/mason.lua deleted file mode 100644 index 121509d..0000000 --- a/lua/ben/plugins/lsp/mason.lua +++ /dev/null @@ -1,72 +0,0 @@ -return { - "williamboman/mason.nvim", - dependencies = { - "williamboman/mason-lspconfig.nvim", - "WhoIsSethDaniel/mason-tool-installer.nvim", - }, - config = function() - --import mason - local mason = require("mason") - -- import mason-lspconfig - local mason_lspconfig = require("mason-lspconfig") - - local mason_tool_installer = require("mason-tool-installer") - - -- enable mason and configure icons - mason.setup({ - ui = { - icons = { - package_installed = "", - package_pending = "", - package_uninstalled = "", - }, - }, - }) - mason_lspconfig.setup({ - -- list of servers for mason to install - ensure_installed = { - "bashls", - "cssls", - "diagnosticls", - "dockerls", - "docker_compose_language_service", - "gopls", - "lua_ls", - "texlab", - "zk", - "pyright", - "r_language_server", - "sqls", - }, - -- auto-install configured servers (with lspconfig) - automatic_installation = true, -- not the same as ensure_installed - }) - - mason_tool_installer.setup({ - ensure_installed = { - "mutt-language-server", - "emmet-ls", - -- Linters: - "prettier", - "bibtex-tidy", - "goimports", - "gci", - "golines", - "shfmt", - "latexindent", - "sql-formatter", - "isort", - "black", - "yamlfix", - "stylua", - -- Formatters: - "stylelint", - "markdownlint", - "pylint", - "golangci-lint", - "shellcheck", - }, - }) - - end, -} -- cgit v1.2.3