neoclide / coc-rls

Rust language server support for coc.nvim
387 stars 19 forks source link

Disable for git commit files #56

Open sgnix opened 4 years ago

sgnix commented 4 years ago

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