From d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47 Mon Sep 17 00:00:00 2001 From: William Boman Date: Tue, 2 Nov 2021 18:01:40 +0100 Subject: ltex: remove lspconfig definition This has been merged upstream now. --- lua/nvim-lsp-installer/servers/ltex/init.lua | 31 ---------------------------- 1 file changed, 31 deletions(-) (limited to 'lua') diff --git a/lua/nvim-lsp-installer/servers/ltex/init.lua b/lua/nvim-lsp-installer/servers/ltex/init.lua index 14680e0a..b48f4de3 100644 --- a/lua/nvim-lsp-installer/servers/ltex/init.lua +++ b/lua/nvim-lsp-installer/servers/ltex/init.lua @@ -45,37 +45,6 @@ return function(name, root_dir) end), std.chmod("+x", { "ltex-ls" }), }, - pre_setup = function() - local configs = require "lspconfig/configs" - local util = require "lspconfig/util" - - if configs.ltex then - return - end - - configs.ltex = { - default_config = { - filetypes = { "tex", "bib", "markdown" }, - root_dir = util.find_git_ancestor, - settings = { - ltex = { - enabled = { "latex", "tex", "bib", "markdown" }, - checkFrequency = "edit", - language = "en", - diagnosticSeverity = "information", - setenceCacheSize = 2000, - additionalRules = { - enablePickyRules = true, - motherTongue = "en", - }, - dictionary = {}, - disabledRules = {}, - hiddenFalsePositives = {}, - }, - }, - }, - } - end, default_options = { cmd = { path.concat { root_dir, script_name } }, }, -- cgit v1.2.3-70-g09d2