Replies: 1 comment 1 reply
-
        
 Generally speaking - not really. The option is there if user wants to use own 'completefunc' or 'omnifunc', so 'mini.completion' is able to use the other. The 'completefunc' is chosen as default because 'omnifunc' is more likely to be used by filetype plugin. One other different I noticed very recently during addition of info/signature scrolling is that  
 Judging by LSP specification and other LSP servers, it should. If you don't want items with  
 The point is that it requires a separate plugin and is not a part of 'nvim-cmp'. Probably saying that directly (that it requires a plugin) is better, but that is also a bit meaningless because any extra functionality can (in theory) be added to any plugin. 
 The point is that with 'mini.completion' there is a way to perform any action if there is no LSP candidates. Writing custom source that does some side effects while not returning any candidates might be an alternative, but it's just not designed for that. Maybe a better phrasing is needed here. 
 Yes, the whole comparison needs a bit touch up. Both for 'nvim-cmp' and to include 'blink.cmp'. 
 There is a single timer for each action used. There is hardly any performance issues with resetting a timer.  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Contributing guidelines
Module(s)
mini.completion
Question
I am enjoying mini.completion! Regarding the help, I have some questions/feedback.
The default value of
config.lsp_completion.source_funciscompletefunc. The help mentions the alternative,omnifunc, in this context. Is there a reason to use one or the other? The only difference I see is thekeyissued to trigger the completion.The help mentions how to disable snippet support. Unfortunately, for at least
lua_ls, the approach is not working.I think that when comparing with
nvim-cmp, the line about signature help is not correct. There is a separate plugin, used here inkickstart. I wonder if it's relevant that nvim-cmp does not allow a fallback action. Is that action needed when you have separate sources forbuffer,pathand the like?The plugin does have some distinct features("virtual_text", "performance tweaks", "follow_cursor").
The help mentions that a large
delaycan be used to disable actions. As completion is spawned often, wouldn't lots of "infinite in progress" timers degrade performance?Beta Was this translation helpful? Give feedback.
All reactions