[nvim] fix pdf reader in mac/linux

This commit is contained in:
Afonso Franco 2024-10-07 20:16:38 +01:00
parent 5ec64ddc3a
commit 5d176f2f0a
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
3 changed files with 13 additions and 9 deletions

View file

@ -242,9 +242,13 @@ return {
{
"lervag/vimtex",
event = "VeryLazy",
filetypes = {"tex"},
config = function()
vim.g.vimtex_view_method = 'skim'
if vim.loop.os_uname().sysname == "Darwin" then
vim.g.vimtex_view_method = 'skim'
else
vim.g.vimtex_view_method = 'zathura'
end
vim.g.vimtex_compiler_methor = 'pdflatex'
end,
},

View file

@ -16,8 +16,8 @@ return {
auto_install = true,
highlight = {
enable = true,
disable = { "latex" },
use_languagetree = true,
additional_vim_regex_highlighting = { "org" },
},
indent = {
enable = true,

View file

@ -8,12 +8,6 @@ return {
vim.g.tpipeline_statusline = '%=%l:%c'
end
},
--Better quick fix
{
'kevinhwang91/nvim-bqf',
event = "VeryLazy",
ft = 'qf'
},
{
"j-hui/fidget.nvim",
opts = {
@ -24,6 +18,12 @@ return {
}
},
},
--Better quick fix
{
'kevinhwang91/nvim-bqf',
event = "VeryLazy",
ft = 'qf'
},
{
"OXY2DEV/markview.nvim",
ft = "markdown",