From fc3f3415a3e873274b61acc9919894996ad890d3 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 26 May 2023 14:50:58 -0700 Subject: [PATCH] Fix filetype of terminal buffers --- init.fnl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.fnl b/init.fnl index aa3c57b..2719b79 100644 --- a/init.fnl +++ b/init.fnl @@ -102,4 +102,7 @@ "ui" :xml "tpp" :cpp }}) +;; Fix filetype of terminal buffers +(hook! :BufEnter "term:/*" #(set vim.bo.filetype "")) + (module-call! :packer :startup (require :plugin))