Skip to content

Commit

Permalink
Add MERGE_MSG to floaterm#edita#neovim#editor#open
Browse files Browse the repository at this point in the history
This fixes the error:
E211: File "<some_path>/.git/MERGE_MSG" no longer available
  • Loading branch information
hoxell authored and voldikss committed Apr 2, 2024
1 parent c0535d7 commit fe61226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions autoload/floaterm/edita/neovim/editor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function! floaterm#edita#neovim#editor#open(target, client)
let b:edita = sockconnect(mode, a:client, { 'rpc': 1 })
if index([
\ 'COMMIT_EDITMSG',
\ 'MERGE_MSG',
\ 'git-rebase-todo',
\ 'git-revise-todo',
\ 'addp-hunk-edit.diff'
Expand Down
1 change: 1 addition & 0 deletions autoload/floaterm/edita/vim/editor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function! floaterm#edita#vim#editor#open(target, bufnr)
let b:edita = a:bufnr
if index([
\ 'COMMIT_EDITMSG',
\ 'MERGE_MSG',
\ 'git-rebase-todo',
\ 'git-revise-todo',
\ 'addp-hunk-edit.diff'
Expand Down

0 comments on commit fe61226

Please sign in to comment.