tex live preview(actually entr is better)

This commit is contained in:
juan 2021-09-21 11:54:09 +08:00
parent 65df9c000b
commit 3a6c1c2c3b

View File

@ -44,12 +44,6 @@ return require('packer').startup(function(use)
after = "nvim-treesitter",
config = function() require('spellsitter').setup() end
}
use {'neovim/nvim-lspconfig', after = "coq_nvim"}
use {
'kabouzeid/nvim-lspinstall',
config = function() require "plugins.lspinstall" end,
after = 'nvim-lspconfig'
}
use {
'ms-jpq/coq_nvim',
branch = 'coq',
@ -75,6 +69,12 @@ return require('packer').startup(function(use)
end
}
use {'neovim/nvim-lspconfig', after = "coq_nvim"}
use {
'kabouzeid/nvim-lspinstall',
config = function() require "plugins.lspinstall" end,
after = 'nvim-lspconfig'
}
-- formating and editing
use {"sbdchd/neoformat", cmd = "Neoformat"}
@ -162,5 +162,10 @@ return require('packer').startup(function(use)
-- integrations
use {'michaelb/sniprun', run = 'bash ./install.sh', cmd = "SnipRun"}
use {"tpope/vim-fugitive", cmd = "G"}
use {
"xuhdev/vim-latex-live-preview",
setup = function() vim.g.livepreview_previewer = 'zathura' end,
event = "FileType tex"
}
end)