From 6be1be3154a9e4f8302ec3f9c43ce96e610f0e06 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 24 Jan 2024 16:01:26 -0600 Subject: [PATCH] refactor(nvim): retrigger Filetype for orgmode, do not edit --- dots/.config/nvim/lua/plugins/configs/org-mode.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/org-mode.lua b/dots/.config/nvim/lua/plugins/configs/org-mode.lua index a133a523..9644923d 100644 --- a/dots/.config/nvim/lua/plugins/configs/org-mode.lua +++ b/dots/.config/nvim/lua/plugins/configs/org-mode.lua @@ -66,7 +66,7 @@ return { vim.api.nvim_set_hl(0, "org_underline_delimiter", { link = "@punctuation.delimiter" }) vim.api.nvim_set_hl(0, "org_strikethrough_delimiter", { link = "@punctuation.delimiter" }) if vim.bo.filetype == "org" then - vim.cmd.edit() + vim.cmd.doautocmd("FileType org") end end, },