Skip to content

Commit 76182ae

Browse files
authored
Merge pull request #885 from NeogitOrg/fix/tag-editor
2 parents 6e1df18 + 8e3cb48 commit 76182ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/neogit/client.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ function M.editor(target, client)
7272
editor.rebase_editor(target, send_client_quit)
7373
elseif target:find("COMMIT_EDITMSG$") then
7474
editor.commit_editor(target, send_client_quit)
75-
elseif target:find("MERGE_MSG$") or target:find("TAG_EDITMSG$") then
75+
elseif target:find("MERGE_MSG$") then
7676
editor.merge_editor(target, send_client_quit)
77+
elseif target:find("TAG_EDITMSG$") then
78+
editor.tag_editor(target, send_client_quit)
7779
else
7880
local notification = require("neogit.lib.notification")
7981
notification.warn(target .. " has not been implemented yet")

0 commit comments

Comments
 (0)