nvim: Add support for Vista

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-01-18 17:57:39 +05:30
parent a18da66dc4
commit a42da14022

View file

@ -91,6 +91,7 @@ Plug 'tpope/vim-sleuth'
Plug 'tpope/vim-vinegar' Plug 'tpope/vim-vinegar'
Plug 'wellle/targets.vim' Plug 'wellle/targets.vim'
Plug 'Yggdroot/indentLine' Plug 'Yggdroot/indentLine'
Plug 'liuchengxu/vista.vim'
Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' }
" Miscellaneous " Miscellaneous
Plug 'editorconfig/editorconfig-vim' Plug 'editorconfig/editorconfig-vim'
@ -654,6 +655,17 @@ let g:LanguageClient_serverCommands = {
\ 'python': ['pyls'], \ 'python': ['pyls'],
\ } \ }
" Vista
let g:vista_executive_for = {
\ 'c': 'ctags',
\ 'haskell': 'lcn',
\ 'rust': 'lcn',
\ 'python': 'lcn',
\ }
let g:vista_ctags_cmd = {
\ 'haskell': 'stack exec -- hasktags -x -o - -c',
\ }
" ----------------------------- Functions ------------------------------------ " ----------------------------- Functions ------------------------------------
function! NvimGdbNoTKeymaps() function! NvimGdbNoTKeymaps()
tnoremap <silent> <buffer> <Esc> <C-\><C-n> tnoremap <silent> <buffer> <Esc> <C-\><C-n>