-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A more feature rich vimrc example, and a demo gif #19
Comments
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.
Have any consideration gone into moving some of this pre-init logic into the plugin itself? Like under a |
No. My own configuration is different from this version. It's hard to generalize. |
Fair enough! |
@uorbe001 from my experience with NCM, it depends on the source, not a config option. |
@filipekiss thanks, I will see if adding that to the source is possible. |
I'm not sure I understand what this line does:
|
I don't remember why I chose this mapping. Currently I'm using |
(Neovim) Forgive me if it sound too stupid, I am very new to ncm2. Where is the declaration and what is the value of I am using junegunn/vim-plug by manually install it $ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim and my current call plug#begin()
Plug 'morhetz/gruvbox'
Plug 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': './install.sh'}
call plug#end()
let g:LanguageClient_serverCommands = {
\ 'haskell': ['hie-wrapper', '--lsp'],
\ 'python': ['pyls'],
\ } I don't understand the purpose and usage of When I try using (your) provided config file, I don't seem to get any completion as shown in the picture. |
You could remove it since you do |
Sorry, but i don't understand, how to put function arguments on autocomplete. |
@ukrdev you should be familiar with one of ultisnips, neosnippet or snipmate before using the snippet feature for parameter expansion. |
I tried for half a day getting parameter expansion to work. I didn't even manage to make it work with the vimrc from above. When I type the name of the function, it shows the completion popup but when I select it and press Enter the dialog closes, a new line is entered but no parameter expansion happens. Am I missing a key or something? I was trying with a rust source with LanguageClient-neovim and RLS nightly. Everything else works and I'm using that stuff for quite a while but parameter expansion just simply wont work. What am I missing? |
Wow, it looks like I finally found it: let g:LanguageClient_hasSnippetSupport = 1 |
Vimrc for demo:
Make sure you do understand what it is doing before copying config. Comment if you have any question
The text was updated successfully, but these errors were encountered: