Closed weirdan closed 7 years ago
Sorry for the late reply. (I've been busy babysitting my new child)
This bug was brought by me. I'll fix it when I have some free time.
No problem, I know how it is. Children are a lot of fun. In retrospective, at least :smile:
I was trying to get php completions working, and stumbled across this error in the debug log:
triggerCharacters
:"triggerCharacters":["$",">"]
LanguageClient-neovim
registers them ascm_refresh_patterns
: https://github.com/autozimu/LanguageClient-neovim/blob/90e31840dd70863c9130df2df4dd7e254fd66d3f/rplugin/python3/LanguageClient/LanguageClient.py#L326 , resulting in the following regexp:\$$
nvim-completion-manager
adds.*
and strips trailing dollar signs here: https://github.com/roxma/nvim-completion-manager/blob/5c50c0699a2e0b63216bb9e3d22a5774d46ebe66/pythonx/cm_core.py#L439 , resulting in the following invalid regexp:.*\
(regexp ends with escape character, which should never happen)This could be fixed on the
LanguageClient-neovim
's side by wrapping the escaped trigger character into parenthesis, or dealt with innvim-completion-manager
/cc @autozimu