From 5d0237fb209888f35fdf273b2f2401e254e22ac3 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:22 +0100 Subject: fix: wrap tblgen_lsp_server enable in pcall Server binary may not be installed on all machines. Wrap in pcall to prevent startup errors when tblgen_lsp_server is unavailable. --- home/.config/nvim/lua/plugins/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/.config/nvim/lua/plugins') diff --git a/home/.config/nvim/lua/plugins/lsp.lua b/home/.config/nvim/lua/plugins/lsp.lua index 625dfc6..c720099 100644 --- a/home/.config/nvim/lua/plugins/lsp.lua +++ b/home/.config/nvim/lua/plugins/lsp.lua @@ -5,7 +5,7 @@ require("lazydev").setup({ }) vim.lsp.enable("just") -vim.lsp.enable("tblgen_lsp_server") +pcall(vim.lsp.enable, "tblgen_lsp_server") require("fidget").setup({}) require("mason").setup({}) -- cgit v1.2.3-70-g09d2