From 00d5ec09d45d09451b21ab58054e40f593577b15 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 14 Jul 2024 12:59:02 -0400 Subject: efmls -> nvim-lint also only use native lsps for formatting --- plugin/lsp.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'plugin/lsp.lua') diff --git a/plugin/lsp.lua b/plugin/lsp.lua index b652f71..ef1a90b 100644 --- a/plugin/lsp.lua +++ b/plugin/lsp.lua @@ -26,11 +26,7 @@ local lsp_servers = { binary = "vscode-eslint-language-server", }, - efm = { - binary = "efm-langserver", - extraOptions = require("getchoo.plugins.efmls"), - }, - + -- TODO: I WANT STYLUA BACK!! lua_ls = { binary = "lua-language-server", extraOptions = { @@ -38,7 +34,7 @@ local lsp_servers = { Lua = { runtime = { version = "LuaJIT" }, diagnostics = { globals = "vim" }, - workspace = { library = vim.api.nvim_get_runtime_file("", true) }, + workspace = { checkThirdPaty = false, library = { vim.env.VIMRUNTIME } }, }, }, }, @@ -84,7 +80,9 @@ local lsp_servers = { binary = "rust-analyzer", extraOptions = { settings = { - checkOnSave = { command = "clippy" }, + ["rust-analyzer"] = { + check = { command = "clippy" }, + }, }, }, }, -- cgit v1.2.3