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

@@ -105,7 +105,6 @@
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
"tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" },
"tree-sitter-bruno": { "branch": "main", "commit": "347e99f256930213cd7fcd0efe3f9af83035c4b1" },
"tree-sitter-ghostty": { "branch": "main", "commit": "c14d6cb4dd36ff9dd569978491aa52e4726cbe86" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" },
"ts-error-translator.nvim": { "branch": "main", "commit": "558abff11b9e8f4cefc0de09df780c56841c7a4b" },

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 = {

View File

@@ -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)