From 2947acc600e98d4b4a1d51736f78908892edeead Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 7 Feb 2024 21:20:36 -0600 Subject: [PATCH] refactor(nvim): remove hack for orgmode ts --- dots/.config/nvim/after/ftplugin/org.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dots/.config/nvim/after/ftplugin/org.lua b/dots/.config/nvim/after/ftplugin/org.lua index d088657f..e3cd2a4a 100644 --- a/dots/.config/nvim/after/ftplugin/org.lua +++ b/dots/.config/nvim/after/ftplugin/org.lua @@ -2,11 +2,3 @@ vim.opt_local.shiftwidth = 2 vim.opt_local.modeline = true vim.opt_local.wrap = false vim.opt_local.conceallevel = 1 --- HACK: Correctly handle treesitter attachment. Without this folds and reformatting fall out of --- sync and treesitter can fail to properly parse the buffer on content modifications. -if not vim.b.org_did_edit then - vim.b.org_did_edit = true - vim.defer_fn(vim.schedule_wrap(function() - vim.cmd.edit() - end), 10) -end