From 9bb5e15ae65b7e09b3dd09920c8f190059264006 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Wed, 8 Apr 2026 00:16:19 +0200 Subject: [PATCH] minor removals --- .luarc.json | 5 +++++ lua/config/lspconfig.lua | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .luarc.json diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..1e1765c --- /dev/null +++ b/.luarc.json @@ -0,0 +1,5 @@ +{ + "diagnostics.globals": [ + "vim" + ] +} \ No newline at end of file diff --git a/lua/config/lspconfig.lua b/lua/config/lspconfig.lua index 6b0ba0b..c0bb912 100644 --- a/lua/config/lspconfig.lua +++ b/lua/config/lspconfig.lua @@ -2,7 +2,6 @@ local mason = require("mason") local mason_lspconfig = require("mason-lspconfig") local lspconfig = require("lspconfig") local cmp_cap = require("config.cmp").capabilities -local newlspconfig = vim.lsp.config -- Fix this! local lspenable = vim.lsp.enable @@ -13,7 +12,7 @@ mason.setup() mason_lspconfig.setup({ ensure_installed = { "rust_analyzer", "jdtls", "yamlls", "ts_ls", "tailwindcss", "html", - "cssls", "bashls", "postgres_lsp", "pyright", "vimls" + "cssls", "bashls", "postgres_lsp", "vimls" }, handlers = { function(server_name)