From ed238eabab46df0142adcccd14fa402c171abfab Mon Sep 17 00:00:00 2001 From: David O'Trakoun Date: Wed, 22 May 2024 11:09:44 -0400 Subject: [PATCH] disable typescript-tools when no ui --- nvim/lua/dko/plugins/lsp.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/lua/dko/plugins/lsp.lua b/nvim/lua/dko/plugins/lsp.lua index 1564292a..68eb6356 100644 --- a/nvim/lua/dko/plugins/lsp.lua +++ b/nvim/lua/dko/plugins/lsp.lua @@ -16,6 +16,7 @@ return { { "creativenull/efmls-configs-nvim", lazy = true, + cond = has_ui, config = function() -- noop end, @@ -23,6 +24,7 @@ return { { "icholy/lsplinks.nvim", + cond = has_ui, config = function() require("lsplinks").setup({ highlight = true, @@ -74,6 +76,7 @@ return { { "pmizio/typescript-tools.nvim", + cond = has_ui, dependencies = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" }, config = function() local tsserver_config = @@ -101,7 +104,6 @@ return { -- https://github.com/marilari88/twoslash-queries.nvim { "marilari88/twoslash-queries.nvim", - cond = has_ui, config = function() require("twoslash-queries").setup({ multi_line = true,