From 9db6fe6510464738d6579c8a9c581d6012ebfc73 Mon Sep 17 00:00:00 2001 From: Bogdan Frankovskyi Date: Sat, 12 Oct 2024 19:03:34 +0300 Subject: [PATCH] fix(chad): fix lsp config for typescript --- .config/nvim/lua/custom/chadrc.lua | 4 ++-- .config/nvim/lua/custom/configs/lspconfig.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/nvim/lua/custom/chadrc.lua b/.config/nvim/lua/custom/chadrc.lua index e96649e..96284a6 100644 --- a/.config/nvim/lua/custom/chadrc.lua +++ b/.config/nvim/lua/custom/chadrc.lua @@ -5,8 +5,8 @@ local M = {} local highlights = require "custom.highlights" M.ui = { - theme = "wombat", - theme_toggle = { "wombat", "ayu_light" }, + theme = "yoru", + theme_toggle = { "yoru", "ayu_light" }, hl_override = highlights.override, hl_add = highlights.add, diff --git a/.config/nvim/lua/custom/configs/lspconfig.lua b/.config/nvim/lua/custom/configs/lspconfig.lua index 71775f9..b3ef062 100644 --- a/.config/nvim/lua/custom/configs/lspconfig.lua +++ b/.config/nvim/lua/custom/configs/lspconfig.lua @@ -4,7 +4,7 @@ local capabilities = require("plugins.configs.lspconfig").capabilities local lspconfig = require "lspconfig" -- if you just want default config for the servers then put them in a table -local servers = { "terraformls", "dockerls", "bashls", "jsonls", "gopls", "pyright", "solargraph", "biome", "tsserver"} +local servers = { "terraformls", "dockerls", "bashls", "jsonls", "gopls", "pyright", "solargraph", "biome", "ts_ls"} capabilities.textDocument.foldingRange = { dynamicRegistration = false, @@ -18,7 +18,7 @@ for _, lsp in ipairs(servers) do } end -lspconfig.tsserver.setup({ +lspconfig.ts_ls.setup({ -- on_attach = function(client, bufnr) -- require("inlay-hints").on_attach(client, bufnr) -- end,