Hi @shashlick, so I am using `vim` (latest on macOS/brew) and `vim-plug` to 
install:
    
    
    call plug#begin('~/.vim/plugged')
    Plug 'morhetz/gruvbox'
    " Plug 'dracula/vim', { 'as': 'dracula' }
    Plug 'tpope/vim-commentary'
    Plug 'w0rp/ale'
    Plug 'baabelfish/nvim-nim'
    Plug 'vim-airline/vim-airline'
    Plug 'vim-airline/vim-airline-themes'
    call plug#end()
    
    
    Run

The instructions also state to add the following to your `.vimrc`: 
    
    
    fun! JumpToDef()
      if exists("*GotoDefinition_" . &filetype)
        call GotoDefinition_{&filetype}()
      else
        exe "norm! \<C-]>"
      endif
    endf
    
    " Jump to tag
    nn <M-g> :call JumpToDef()<cr>
    ino <M-g> <esc>:call JumpToDef()<cr>
    
    
    Run

I haven't worried about autocomplete so I can't give you any help there, but 
`gd` (`NimDefinition`) and `gt` (`NimInfo`) work fine.

NOTE: it doesn't work for me in `neovim` due to some local python issue, hence 
using `vim`. 

Reply via email to