diff options
| author | 2026-04-17 10:53:22 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:53:22 +0100 | |
| commit | 5d0237fb209888f35fdf273b2f2401e254e22ac3 (patch) | |
| tree | 1a4d643ebd249dfcf0b536692625fa1f500e7b5b | |
| parent | bc5b3cb42ba01d73f811cc32ed5320d1f6ed7b10 (diff) | |
| download | dotfiles-5d0237fb209888f35fdf273b2f2401e254e22ac3.tar.gz dotfiles-5d0237fb209888f35fdf273b2f2401e254e22ac3.tar.bz2 dotfiles-5d0237fb209888f35fdf273b2f2401e254e22ac3.zip | |
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.
| -rw-r--r-- | home/.config/nvim/lua/plugins/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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({}) |
