Skip to content

Commit

Permalink
disable typescript-tools when no ui
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething committed May 22, 2024
1 parent 1f63f73 commit ed238ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nvim/lua/dko/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ return {
{
"creativenull/efmls-configs-nvim",
lazy = true,
cond = has_ui,
config = function()
-- noop
end,
},

{
"icholy/lsplinks.nvim",
cond = has_ui,
config = function()
require("lsplinks").setup({
highlight = true,
Expand Down Expand Up @@ -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 =
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ed238ea

Please sign in to comment.