From faf1a9f63c55d1d3649896de0d7cc18e4581d71e Mon Sep 17 00:00:00 2001 From: Mathew Harman Date: Wed, 24 Dec 2025 19:20:01 -0500 Subject: [PATCH] feat(describe): set the local filetype of the editor describe to jjdescription (#57) --- lua/jj/ui/editor.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/jj/ui/editor.lua b/lua/jj/ui/editor.lua index 92160dc..a1a8dcc 100644 --- a/lua/jj/ui/editor.lua +++ b/lua/jj/ui/editor.lua @@ -124,6 +124,7 @@ function M.open_editor(initial_text, on_done, on_unload, keymaps) name = "jujutsu:///DESCRIBE_EDITMSG", split = "horizontal", size = math.floor(vim.o.lines / 2), + filetype = "jjdescription", buftype = "acwrite", modifiable = true, keymaps = keymaps,