[nvim] fix pdf reader in mac/linux
This commit is contained in:
parent
5ec64ddc3a
commit
5d176f2f0a
3 changed files with 13 additions and 9 deletions
|
@ -242,9 +242,13 @@ return {
|
|||
|
||||
{
|
||||
"lervag/vimtex",
|
||||
event = "VeryLazy",
|
||||
filetypes = {"tex"},
|
||||
config = function()
|
||||
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,
|
||||
},
|
||||
|
|
|
@ -16,8 +16,8 @@ return {
|
|||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = { "latex" },
|
||||
use_languagetree = true,
|
||||
additional_vim_regex_highlighting = { "org" },
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue