diff --git a/home/programs/nvim/plugins/nvimtree.lua b/home/programs/nvim/plugins/nvimtree.lua index 4f3df88..df7adf4 100644 --- a/home/programs/nvim/plugins/nvimtree.lua +++ b/home/programs/nvim/plugins/nvimtree.lua @@ -1,3 +1,7 @@ +if vim.g.goyo_if then + return +end + -- buh https://gist.github.com/mrpmohiburrahman/b7ec0d47cd043d3a2ed4c10a20504d4e vim.g.loaded_netrw = 1 diff --git a/home/programs/nvim/plugins/treesitter.lua b/home/programs/nvim/plugins/treesitter.lua index 60a212e..d3bceb5 100644 --- a/home/programs/nvim/plugins/treesitter.lua +++ b/home/programs/nvim/plugins/treesitter.lua @@ -1,3 +1,7 @@ +if vim.g.goyo_if then + return +end + require('nvim-treesitter.configs').setup { ensure_installed = {}, auto_install = false, diff --git a/home/programs/nvim/plugins/vimtex.lua b/home/programs/nvim/plugins/vimtex.lua index 2dd9a4a..a856e4e 100644 --- a/home/programs/nvim/plugins/vimtex.lua +++ b/home/programs/nvim/plugins/vimtex.lua @@ -35,6 +35,10 @@ Double space found. ]] vim.g.Tex_IgnoreLevel = 8 +if vim.g.goyo_if then + return +end + -- Delete extra compilation files when a TeX buffer is deleted. vim.api.nvim_create_autocmd("BufDelete", { pattern = "*.tex",