Dear all,

I want to run Stata codes in nvim. I have set the init.config file below.
Code:
call plug#begin('~/.vim/plugged')
 Plug 'zizhongyan/vim-stata'
 Plug 'poliquin/stata-vim'
 call plug#end()

 let g:vimforstata_pathbin = "/usr/local/bin/stata-mp"
 vmap <C-d> :<C-U>call RunDoLines()<CR><CR>
But when I use Ctrl+D to run the selected codes,It only opens the selected codes in dofile editor,But not run the codes in Stata.

Any help will be appreciated.

Array