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 = {
|
||||
|
||||
@@ -7,10 +7,6 @@ return {
|
||||
"JoosepAlviste/nvim-ts-context-commentstring",
|
||||
"kristoferssolo/tree-sitter-bruno",
|
||||
"OXY2DEV/markview.nvim",
|
||||
{
|
||||
"bezhermoso/tree-sitter-ghostty",
|
||||
build = "make nvim_install",
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
||||
|
||||
Reference in New Issue
Block a user