Guest User

.vimrc

a guest
Jan 2nd, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. call plug#begin('~/.config/nvim/plugged')
  2. Plug 'prabirshrestha/asyncomplete.vim'
  3. Plug 'prabirshrestha/async.vim'
  4. Plug 'prabirshrestha/vim-lsp'
  5. Plug 'prabirshrestha/asyncomplete-lsp.vim'
  6. Plug 'zah/nim.vim'
  7. call plug#end()
  8.  
  9. set clipboard=unnamedplus
  10. set mouse=a
  11. filetype plugin on
  12. filetype plugin indent on
  13. syntax on
  14.  
  15. if executable('nimlsp')
  16. au User lsp_setup call lsp#register_server({
  17. \ 'name': 'nimlsp',
  18. \ 'cmd': {server_info->['/home/stef/Desktop/Nim/bin/nimlsp']},
  19. \ 'whitelist': ['nim'],
  20. \ })
  21. endif
  22.  
  23. let g:lsp_log_verbose = 1
  24. let g:lsp_log_file = expand('/tmp/vim-lsp.log')
  25.  
  26. " for asyncomplete.vim log
  27. let g:asyncomplete_log_file = expand('/tmp/asyncomplete.log')
Advertisement
Add Comment
Please, Sign In to add comment