doom-neovim / doom-nvim

A Neovim configuration for the advanced martian hacker
GNU General Public License v2.0
1.01k stars 107 forks source link

[BUG] Fugitive Commit doesn'work #414

Closed phortonssf closed 1 year ago

phortonssf commented 1 year ago

Current Behavior:

Installed, tpope/vim-fugitve and removed the other git modules except gitsigns. Git status and other fugitive commands work but
The command G commit or cc when in fugitive's git status do not work. T

Expected Behavior:

Expect fugitive to open git commit

Steps To Reproduce:

Install fugitive, remove other git modules and try to commit after staging.

  1. See error...
    Error detected while processing function fugitive#Resume[6]..function fugitive#Resume[5]..<SNR>141_RunWait[53]..<SNR>141_RunEdit[12]..BufReadPo
    st Autocommands for "*":
    Error executing lua callback: ...brew/Cellar/neovim/0.8.1/share/nvim/runtime/filetype.lua:22: Error executing lua: ...brew/Cellar/neovim/0.8.1/
    share/nvim/runtime/filetype.lua:23: Vim(call):E117: Unknown function: GitCommitInsert^@stack traceback:^@^I[C]: in function 'nvim_cmd'^@^I...br
    ew/Cellar/neovim/0.8.1/share/nvim/runtime/filetype.lua:23: in function <...brew/Cellar/neovim/0.8.1/share/nvim/runtime/filetype.lua:22>^@^I[C]:
    in function 'nvim_buf_call'^@^I...brew/Cellar/neovim/0.8.1/share/nvim/runtime/filetype.lua:22: in function <...brew/Cellar/neovim/0.8.1/share/
    nvim/runtime/filetype.lua:11>^@stack traceback:^@^I[C]: in function 'nvim_buf_call'^@^I...brew/Cellar/neovim/0.8.1/share/nvim/runtime/filetype.
    lua:22: in function <...brew/Cellar/neovim/0.8.1/share/nvim/runtime/filetype.lua:11>

Logs

Check Health Output
Doom Report Output

DoomReport: ```Error loading lua [string ""lua"]:1: unexpected symbol near ''

Anything else:

phortonssf commented 1 year ago

[Solved] I had an autocmd that formatted my commit messages on insert.