Getting ncm2 and ncm-r to work

This page summarizes the projects mentioned and recommended in the original post on /r/neovim
Vim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Nvim-R

    Vim plugin to work with R

  • For that reason, I want to use Nvim-R in combination with ncm-R. I get the completion to work if I use it manually with Ctrl+x Ctrl+o, but it does not start automatically. My init.vim file looks like this:

  • ncm-R

    R autocompletion for Neovim and vim 8 :memo: :bar_chart: :zap:

  • For that reason, I want to use Nvim-R in combination with ncm-R. I get the completion to work if I use it manually with Ctrl+x Ctrl+o, but it does not start automatically. My init.vim file looks like this:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • vim-plug

    :hibiscus: Minimalist Vim Plugin Manager

  • call plug#begin() " assuming you're using vim-plug: https://github.com/junegunn/vim-plug Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' " enable ncm2 for all buffers autocmd BufEnter * call ncm2#enable_for_buffer() " IMPORTANT: :help Ncm2PopupOpen for more information set completeopt=noinsert,menuone,noselect " NOTE: you need to install completion sources to get completions. Check " our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' " R plugin " Plug 'jalvesaq/Nvim-R' " Plug 'ncm2/ncm2' " Plug 'roxma/nvim-yarp' Plug 'gaalcaras/ncm-R' if !has('nvim') Plug 'roxma/vim-hug-neovim-rpc' endif Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' call plug#end()

  • ncm2

    :heart: Slim, Fast and Hackable Completion Framework for Neovim

  • call plug#begin() " assuming you're using vim-plug: https://github.com/junegunn/vim-plug Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' " enable ncm2 for all buffers autocmd BufEnter * call ncm2#enable_for_buffer() " IMPORTANT: :help Ncm2PopupOpen for more information set completeopt=noinsert,menuone,noselect " NOTE: you need to install completion sources to get completions. Check " our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' " R plugin " Plug 'jalvesaq/Nvim-R' " Plug 'ncm2/ncm2' " Plug 'roxma/nvim-yarp' Plug 'gaalcaras/ncm-R' if !has('nvim') Plug 'roxma/vim-hug-neovim-rpc' endif Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' call plug#end()

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts