-
Notifications
You must be signed in to change notification settings - Fork 49
Screenshots, Updates, Announcement #12
Comments
This comment has been minimized.
This comment has been minimized.
Triggering Ultisnips or show popup hints with the same key
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Just implemented a Pick a key to map to imap <c-g> <Plug>(cm_force_refresh) I also have tab mapping " smart tab for auto complete
inoremap <expr> <silent> <Tab> pumvisible()?"\<C-n>":"\<TAB>"
inoremap <expr> <silent> <S-TAB> pumvisible()?"\<C-p>":"\<S-TAB>"
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I have just finished adding NCM support to https://github.com/clojure-vim/async-clj-omni for Fireplace only. Acid.nvim will soon be supported also, once I have performed some refactoring. This brings Clojure support to NCM. There is currently no caching of completions, but there is contention between the underlying engine & NCM. I have some ideas of how to bring them together though, so expect caching as an upcoming feature. |
This comment has been minimized.
This comment has been minimized.
I have added simple Swift completion using sourcekitten: nvim-cm-swift-completer |
gtags complete source gen_tags.vim |
I added ncm source for neco-syntax |
I also add neoinclude support too. But I'm a little confused about the source priority that which one should be higher? neoinclude(file include) or neco-syntax(language syntax) |
It seems they don't usually apear at the same time. So it doesn't matter. |
@roxma Got it, thanks for your clarification 👍 |
https://github.com/roxma/ncm-github I re-implement it in python, so that the sources should work asynchronously. |
let g:cm_matcher = {'module': 'cm_matchers.substr_matcher', 'case': 'smartcase'} Added sub-string based mathing. |
Added a toy project: ncm-phpactor |
Another plugin ncm-clang for c/c++ completion. This project deprecates roxma/clang_complete |
Adding typescript source: mhartington/nvim-typescript#81 |
I've created a source for the R language: https://github.com/gaalcaras/ncm-R Please note that Nvim-R is required for ncm-R to work. |
support for NCM now |
@coachshea well I believe that the case long startup time of YCM is:
Can agree here, it's like the only advantage of NCM over Deoplete for me. However, Language servers are providing snippets too. Only need to wait when snippet managers start supporting it. I'm waiting to try another Shougo's plugin Deoppet because it will support it as far as I know. |
Thank you for all your vim work so far it's amazing. I hope someone can pick up this project, I'll have to check out deoplete again but this project and your other work seemed to integrate a lot more easily than competitors. |
I just wanted to switch to deoplete, and first thing I noticed - there is no function param expansion (at least not with ultisnips) or I did not find it. That feature I will miss a lot. |
I would like to take a stab at maintaining this project. If you could give me some direction, I'd love to contribute and see if I can handle this project. |
@partounian If you need any help count me in! I'd love to help keep NCM alive |
Maybe tag what would be a great first issue to tackle? @filipekiss @roxma |
@jirgn You need to install neosnippet for it. |
@Shougo - I tried deoplete again, now with neosnippet, but can't get this feature to work. What I expected is, when having a completion candidate e.g a function selected in pum, just hit the mapping key for neosnippet expansion, and then the function signature params are expanded. These params act as snippet marks $1 - $n and i can navigate through them. |
@jirgn It can. If it does not work, please create the issue in neosnippet. Note: The minimal vimrc and the reproduce instructions are required. |
No longer maintained: roxma/nvim-completion-manager#12 (comment)
@partounian Are you still interested in maintaining this project? I still think ncm is the best completion framework out there and would hate to see it die. |
on windows, ncm is faster than deoplete |
Recently I started to work on ncm2. It is still WIP, and it is far from complete. The code is based on ncm but many behaviors has changed. All sources will be moved out and it is not going to be compatible with existing source. Snippet integration is going to be a standalone plugin. I want it to be easier to integrate with other features/plugins, such as go-to-definition and so-on. And I'm going to have some funny idea to try, e.g. ncm2-highlight-double-stuck It's easier to rewrite the code without legacy concerns, and with some evil premature optimizations removed. |
@roxma yay! good luck and can't wait to check it out. |
@roxma So glad to see you back! |
@roxma Great to hear see that! Are you planning on adding support of LSP snippets into that snippet plugin you're talking about? |
Yes |
Any way I can help with this new development? @roxma |
There're priorities of porting ncm sources to ncm2. So far, I mostly use C/C++ at work, and with some js/css/html, I tend to use python and rust for my side projects. I'll port these sources ASAP, and I'm going to extend the C/C++ support plugin. At least , I'm expecting it to be the same level of YCM. As for other sources, it's kind of low priority for me. You could pick the one you need the most and try porting/implementing it with ncm2. The documentation is not yet ready, but https://github.com/ncm2/ncm2-bufword is probably a good small reference. |
I'll try to take a stab at python support 😄 |
Is this really necessary? Don't get me wrong, I just mean, that cquery server, for example, already provides nearly amazing completion and linting via language client. I know, that not everyone may want to use language server, but still, your solution will rely on libclang, right? So basically the same thing, because cquery is relying on libclang too. But there is another thing — by creating sources for each and every language you extend the "matrix" problem, which language servers are trying to solve. But instead of different editors, with different language support, we end up with different completion frameworks with different languages supported in the end. This may sound bit cocky, but I believe that completion framework should be concentrated around completion features in first place, such as fuzzy matching, intelligent completion-type deducing (like deciding when user tries to start filepath completion with |
I create sources mostly because I need it, and it feels easier for me. I had the impression that LSP and cquery is not ready in the past. Maybe it is ready now. I'll spend some time and try I agree with your opinion on how a completion framework should behave. By extending c/c++ support, I mean creating extra plugins, I'm not gonna add any source directly into the core repo. ncm2 itself is going to be a clean and hackable completion framework. IMO it's not making things complicated, instead we have more choices. If one completion plugin doesn't work so well as expected we can easily ditch it and look for alternatives. With choices we'll all end-up getting better, for example, ncm's vim8 support is also a contribution for deoplete. By the way, |
Can't wait for python support. Here's a working version: https://github.com/ncm2/ncm2-jedi However, jedi has some issues, like #215 100% CPU and #62 high memory consumption. I think we should add some extra vimrc to kill the jedi process and clean the channel when the source is not active for an interval. |
* The former ceased to work after I installed Python 3.7 via Homebrew. * When looking at issues on the ncm repo I found out that it is no longer maintained. * roxma/nvim-completion-manager#12 (comment)
* The former ceased to work after I installed Python 3.7 via Homebrew. * When looking at issues on the ncm repo I found out that it is no longer maintained. * roxma/nvim-completion-manager#12 (comment)
Inspired by deoplete.
This issue is a good place to upload screenshots for README.md.
Screenshots shoould not be put into git repo, otherwise it will make the plugin download time much much longer .
Additional tips screenshots will also be published in this issued,
Subscribe this issue if you are interested
The text was updated successfully, but these errors were encountered: