diff --git a/lazy-lock.json b/lazy-lock.json index 9b0e2eb..810f191 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -38,10 +38,10 @@ "nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" }, "nvim-cmp": { "branch": "main", "commit": "8f3c541407e691af6163e2447f3af1bd6e17f9a3" }, "nvim-lint": { "branch": "master", "commit": "f098232d70cebe90e27404928c9bc19ca7a5a7b5" }, - "nvim-lspconfig": { "branch": "master", "commit": "cfa386fc4027e847156ee16141ea1f4c0bc2f0a4" }, + "nvim-lspconfig": { "branch": "master", "commit": "da338c8d7e33fbb810368a808781f56224b4fea7" }, "nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" }, "nvim-spectre": { "branch": "master", "commit": "026394a8458d62c6b7b305c076ce675420dbaa4c" }, - "nvim-treesitter": { "branch": "master", "commit": "b04ccbd0e041bb05f3eef271124da02497d9d10c" }, + "nvim-treesitter": { "branch": "master", "commit": "19c6b0c4c9b35962e45b782e2b85a3214d2ac4d5" }, "nvim-treesitter-context": { "branch": "master", "commit": "4fe0a54e86859744968e1a5c7867b49c86855774" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "23b820146956b3b681c19e10d3a8bc0cbd9a1d4c" }, "nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" }, diff --git a/lua/plugins/latex.lua b/lua/plugins/latex.lua index ffc27b3..3a73f5b 100644 --- a/lua/plugins/latex.lua +++ b/lua/plugins/latex.lua @@ -7,7 +7,11 @@ return { -- tag = "v2.15", -- uncomment to pin to a specific release init = function() -- VimTeX configuration goes here - vim.g.vimtex_view_method = "skim" + if vim.fn.executable("zathura") == 1 then + vim.g.vimtex_view_method = "zathura" + else + vim.g.vimtex_view_method = "skim" + end vim.g.vimtex_compiler_method = "latexmk" end, },