From 372ebe946a4f45de571a9fa5ce12958539cad4f2 Mon Sep 17 00:00:00 2001 From: Jake Ginesin Date: Wed, 9 Jul 2025 21:05:42 -0400 Subject: [PATCH] 481 current 2025-07-09 21:05:01 25.05.20250424.f771eb4 6.12.24 * --- home/programs/nvim/plugins/nvimtree.lua | 4 ++++ home/programs/nvim/plugins/treesitter.lua | 4 ++++ home/programs/nvim/plugins/vimtex.lua | 4 ++++ 3 files changed, 12 insertions(+) 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",