Replies: 2 comments 9 replies
-
Hm. |
Beta Was this translation helpful? Give feedback.
-
Made some progress. The culprit seems to be https://github.com/hrsh7th/cmp-nvim-lsp-signature-help, but not sure why yet. With that plugin commented out on a fresh install I see: cmp.utils.pattern \%(\%(-\?\d\+\%(\.\d\+\)\?\|\h\w*\%(-\w*\)*\)\)\m$
cmp.utils.pattern ^\%(\%(-\?\d\+\%(\.\d\+\)\?\|\h\w*\%(-\w*\)*\)\)
cmp.utils.pattern ^\%(\%(-\?\d\+\%(\.\d\+\)\?\|\h\w*\%(-\w*\)*\)\)
cmp.utils.pattern ^\%(\%(-\?\d\+\%(\.\d\+\)\?\|\h\w*\%(-\w*\)*\)\)
cmp.utils.pattern \%(\%([^/\\:\*?<>'"`\|]\)*\)\m$
cmp.utils.pattern ^\%(\%([^/\\:\*?<>'"`\|]\)*\)
cmp.utils.pattern \%(\%(-\?\d\+\%(\.\d\+\)\?\|\h\%(\w\|á\|Á\|é\|É\|í\|Í\|ó\|Ó\|ú\|Ú\)*\%(-\%(\w\|á\|Á\|é\|É\|í\|Í\|ó\|Ó\|ú\|Ú\)*\)*\)\)\m$
cmp.utils.pattern ^\%(\%(-\?\d\+\%(\.\d\+\)\?\|\h\%(\w\|á\|Á\|é\|É\|í\|Í\|ó\|Ó\|ú\|Ú\)*\%(-\%(\w\|á\|Á\|é\|É\|í\|Í\|ó\|Ó\|ú\|Ú\)*\)*\)\) The logged patterns seem static and don't change, with cmp-nvim-lsp-signature-help enabled that's when I see the long patterns that keep growing like in the previous gist: https://gist.github.com/jaidetree/2fdf5f6efdc84e51f138518a04050a16. This is at least a big improvement, but not sure why this happens on TypeScript projects yet. |
Beta Was this translation helpful? Give feedback.
-
For the better part of a year now been dealing with an issue where nvim-cmp just kinda stops working. Normally it would completely crash my instance of nvim but as of a week ago I disabled autocomplete in favor of just pressing
<C-Space>
. This didn't fix the issue but now I get an error when I invoke the completion UI but nvim still runs, but I can't use nvim-cmp until I restart nvim.What I know
cmp.mapping.complete
functioninterna|
then trigger completion at the end, I can still encounter that error at the same time if I wrotei|
and tried to complete from that one character. Suggests this isn't directly about the completion target.The Error Message
My Config
I'm using fennel but my config is not much beyond what was recommended in the readme:
Plus some LSP config:
Why here?
I only encounter this error after about 2 hours within a nvim session so I'm not sure I can produce a minimal reproduction repo as I'm still trying to learn how to reproduce it immediately. I am trying to dive in, discover the cause, and fix it but at this point I feel stuck so looking for advice on where to look. Also curious if anyone is running into this error too.
Beta Was this translation helpful? Give feedback.
All reactions