mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-03-22 00:36:19 +00:00
refactor: remove ghostty lsp
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user