nvim: init.vim: Add ultisnips

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-12-08 17:51:33 +05:30
parent 0527052815
commit 1885132796

View file

@ -69,6 +69,9 @@ Plug 'sebastianmarkow/deoplete-rust', { 'for': 'rust' }
Plug 'cespare/vim-toml', { 'for': 'rust' } Plug 'cespare/vim-toml', { 'for': 'rust' }
Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'mhinz/vim-crates' Plug 'mhinz/vim-crates'
" Snippets
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
" Erlang Support " Erlang Support
Plug 'vim-erlang/vim-erlang-tags', { 'for': 'erlang' } Plug 'vim-erlang/vim-erlang-tags', { 'for': 'erlang' }
Plug 'vim-erlang/vim-erlang-runtime', { 'for': 'erlang' } Plug 'vim-erlang/vim-erlang-runtime', { 'for': 'erlang' }
@ -567,6 +570,12 @@ let g:cpp_posix_standard = 1
let g:cpp_concepts_highlight = 1 let g:cpp_concepts_highlight = 1
let g:agriculture#rg_options = '--case-sensitive' let g:agriculture#rg_options = '--case-sensitive'
let g:UltiSnipsExpandTrigger="<Tab>"
let g:UltiSnipsJumpForwardTrigger="<C-b>"
let g:UltiSnipsJumpBackwardTrigger="<C-z>"
let g:UltiSnipsEditSplit="vertical"
" ----------------------------- Functions ------------------------------------ " ----------------------------- Functions ------------------------------------
" For CScope and Quickfix " For CScope and Quickfix
" https://medium.com/@lakshmankumar12/quickfix-and-location-list-in-vim-ca0292ac894d " https://medium.com/@lakshmankumar12/quickfix-and-location-list-in-vim-ca0292ac894d