@@ -110,6 +110,7 @@ if !has('nvim')
110110endif
111111
112112" Optional: for snippet support
113+ " Further configuration might be required, read below
113114Plug 'sirver/UltiSnips'
114115Plug 'ncm2/ncm2-ultisnips'
115116
@@ -121,6 +122,9 @@ Please make sure that you fulfill all [ncm2
121122requirements] ( https://github.com/ncm2/ncm2#requirements ) ,
122123especially if you use vim 8.
123124
125+ If snippet completion does not work out of the box, [ read
126+ below] ( #getting-the-snippets-to-work ) .
127+
124128## Usage
125129
126130### General behavior
@@ -168,10 +172,11 @@ let g:ncm_r_column_layout = 0
168172
169173[ ncm2-ultisnips] ( https://github.com/ncm2/ncm2-ultisnips ) might not work out of
170174the box with your [ UltiSnips] ( https://github.com/SirVer/ultisnips )
171- configuration. You can learn how to use <kbd >Enter</kbd > to expand snippets
172- [ here] ( https://github.com/ncm2/ncm2-ultisnips#vimrc-example ) or
173- [ there] ( https://github.com/ncm2/ncm2-ultisnips/issues/6#issuecomment-410186456 )
174- to use <kbd >Tab</kbd >.
175+ configuration, whether you want to [ use
176+ <kbd >Enter</kbd >] ( https://github.com/ncm2/ncm2-ultisnips#vimrc-example ) or
177+ use
178+ [ <kbd >Tab</kbd >] ( https://github.com/gaalcaras/ncm-R/blob/master/test/min_vimrc )
179+ instead.
175180
176181## Contributing to ncm-R
177182
@@ -195,7 +200,7 @@ and `:help ncm2-API`.
195200
196201You can run ` NVIM_PYTHON_LOG_FILE=/tmp/log NVIM_PYTHON_LOG_LEVEL=INFO nvim `
197202then look at ` nvim.log_py3_ncm_r ` . You can also `tail -f nvim.log_py3_ *
198- | grep ncmR` to get only ncm-R messages.
203+ | grep --color " \[ ncmR\] " ` to get only ncm-R messages.
199204
200205Some tests can be run. The idea is to have two windows side to side (using
201206tmux, i3 or whatever you like). In one window, run ` ./test/nvim_init ` and monitor
0 commit comments