diff options
| author | William Boman <william@redwill.se> | 2021-11-02 18:01:40 +0100 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-11-02 18:01:40 +0100 |
| commit | d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47 (patch) | |
| tree | 02d87a185778c54ee463bd0976d39214ff332bfa /lua | |
| parent | server: remove context.install_dir if installation fails (diff) | |
| download | mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.tar mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.tar.gz mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.tar.bz2 mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.tar.lz mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.tar.xz mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.tar.zst mason-d22b9503d1a9f75e36f58bf19e5a4620f5c3ed47.zip | |
ltex: remove lspconfig definition
This has been merged upstream now.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/ltex/init.lua | 31 |
1 files changed, 0 insertions, 31 deletions
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 } }, }, |
