From 3a6c1c2c3b0efa90689dc456698bfbb4a4fc4fd7 Mon Sep 17 00:00:00 2001 From: juan Date: Tue, 21 Sep 2021 11:54:09 +0800 Subject: [PATCH] tex live preview(actually entr is better) --- lua/pluginList.lua | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lua/pluginList.lua b/lua/pluginList.lua index bb524d8..037ad8e 100644 --- a/lua/pluginList.lua +++ b/lua/pluginList.lua @@ -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)