Advertisement
GegoXaren

init.vim

May 10th, 2023
2,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.61 KB | None | 0 0
  1. call plug#begin()
  2.  
  3. Plug 'tpope/vim-sleuth'
  4.  
  5. Plug 'https://github.com/vala-lang/vala.vim'
  6.  
  7. " Plug 'prabirshrestha/vim-lsp'
  8.  
  9. Plug 'autozimu/LanguageClient-neovim', {
  10.     \ 'branch': 'next',
  11.     \ 'do': 'bash install.sh',
  12.     \ }
  13. Plug 'junegunn/fzf'
  14. Plug 'https://github.com/ncm2/ncm2'
  15. Plug 'roxma/nvim-yarp'
  16.  
  17. Plug 'prabirshrestha/asyncomplete.vim'
  18. Plug 'prabirshrestha/asyncomplete-lsp.vim'
  19.  
  20. Plug 'https://github.com/preservim/nerdtree'
  21.  
  22. Plug 'https://github.com/juneedahamed/vc.vim'
  23.  
  24. Plug 'ericbn/vim-solarized'
  25.  
  26. Plug 'nvim-tree/nvim-web-devicons' " OPTIONAL: for file icons
  27.  
  28. call plug#end()
  29.  
  30. """"  Config for vim-lsp:
  31. "if executable('vala-language-server')
  32. "  au User lsp_setup call lsp#register_server({
  33. "        \ 'name': 'vala-language-server',
  34. "        \ 'cmd': {server_info->[&shell, &shellcmdflag, 'vala-language-server']},
  35. "        \ 'whitelist': ['vala', 'genie'],
  36. "        \ })
  37. "endif
  38.  
  39. "" Begin LanguageClient_neovim
  40. set hidden
  41.  
  42. let g:LanguageClient_serverCommands = {
  43.     \ 'vala': ['vala-language-server'],
  44.     \ 'genie': ['vala-language-server'],
  45.     \}
  46.  
  47. let g:LanguageClient_loggingFile = expand('~/LanguageClient.log')
  48.  
  49. let g:LanguageClient_rootMarkers = ['.brz', '.git', '.bzr/', '.git/']
  50.  
  51. """""""""""" ncm2
  52. " enable ncm2 for all buffers
  53. autocmd BufEnter * call ncm2#enable_for_buffer()
  54.  
  55. "" End LanguageClient_neovim
  56.  
  57.  
  58. set mouse=a
  59.  
  60. set number
  61.  
  62. set smartindent
  63.  
  64. au VimEnter *  NERDTree
  65.  
  66.  
  67. syntax enable
  68. set background=dark
  69. colorscheme solarized
  70. set termguicolors
  71.  
  72.  
  73. set listchars=eol:⏎,tab:\ \ ┊,trail:●,extends:»,precedes:«,space:·,nbsp:×
  74. " set list
  75.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement