neoclide / coc-rls

Rust language server support for coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable for git commit files

sgnix opened this issue · comments

When I do a git commit, my default editor opens (neovim) with a temporary file .git/COMMIT_EDITMSG. It looks like coc-rls kicks in on that file and produces a bunch of errors.

Error detected while processing function <lambda>14[1]..<SNR>53_execute:
line    2:
Complete around error: Cannot read property 'toLowerCase' of null
Press ENTER or type command to continue
Error detected while processing function <lambda>14[1]..<SNR>53_execute[2]..<lambda>15[1]..<SNR>53_execute:
line    2:
Complete buffer error: Cannot read property 'toLowerCase' of null
Press ENTER or type command to continue
Error detected while processing function <lambda>14[1]..<SNR>53_execute[2]..<lambda>15[1]..<SNR>53_execute[2]..<lambda>16[1]..<SNR>53_execute:
line    2:
Complete file error: Cannot read property 'toLowerCase' of null