Skip to content

Commit

Permalink
fix(chad): fix lsp config for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferroman committed Oct 12, 2024
1 parent 466d2a6 commit 9db6fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/lua/custom/chadrc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions .config/nvim/lua/custom/configs/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 9db6fe6

Please sign in to comment.