refactor: remove ghostty lsp

This commit is contained in:
2026-02-21 17:53:55 +02:00
parent 3851522da2
commit 5fd60bd2ca
3 changed files with 0 additions and 18 deletions

View File

@@ -154,19 +154,6 @@ return {
ts_ls = function() end,
},
})
local function setup_ghostty_lsp()
-- Only activate ghostty-lsp when editing the ghostty config
if vim.fn.expand("%:p") == vim.fs.normalize("**/ghostty/config") then
vim.lsp.start({
name = "ghostty-lsp",
cmd = { "ghostty-lsp" },
root_dir = vim.fs.normalize("~/.config/ghostty"),
})
end
end
vim.api.nvim_create_autocmd("BufRead", { pattern = "*", callback = setup_ghostty_lsp })
end,
opts = {