From a42da140229ef13bdc7d20dbaf5383362effa314 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sat, 18 Jan 2020 17:57:39 +0530 Subject: [PATCH] nvim: Add support for Vista Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/init.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 04d9b8a..78f84ab 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -91,6 +91,7 @@ Plug 'tpope/vim-sleuth' Plug 'tpope/vim-vinegar' Plug 'wellle/targets.vim' Plug 'Yggdroot/indentLine' +Plug 'liuchengxu/vista.vim' Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } " Miscellaneous Plug 'editorconfig/editorconfig-vim' @@ -654,6 +655,17 @@ let g:LanguageClient_serverCommands = { \ '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 ------------------------------------ function! NvimGdbNoTKeymaps() tnoremap