Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Warn if vimcom version is wrong.

  • Loading branch information...
commit 6ccba0fb65125ebf1ed6f57b240705e1a8ca5340 1 parent b48b605
Jakson Alves de Aquino jalvesaq authored
2  autoload/rcomplete.vim
View
@@ -12,7 +12,7 @@ fun! rcomplete#CompleteR(findstart, base)
return match(getline('.')[: (col('.') - 2)], '[[:alnum:].\\]\+$')
else
if b:needsnewomnilist == 1
- call BuildROmniList("GlobalEnv", "none")
+ call BuildROmniList("GlobalEnv", "")
endif
let res = []
if strlen(a:base) == 0
6 ftplugin/rmd.vim
View
@@ -129,6 +129,12 @@ function! RMakeHTMLrmd(t)
endfunction
function! RMakePDFrmd(t)
+ if g:rplugin_vimcomport == 0
+ exe "Py DiscoverVimComPort()"
+ if g:rplugin_vimcomport == 0
+ return
+ endif
+ endif
if g:rplugin_has_pandoc == 0
if executable("pandoc")
let g:rplugin_has_pandoc = 1
6 ftplugin/rnoweb.vim
View
@@ -111,6 +111,12 @@ endfunction
" Sweave and compile the current buffer content
function! RMakePDF(bibtex, knit)
+ if g:rplugin_vimcomport == 0
+ exe "Py DiscoverVimComPort()"
+ if g:rplugin_vimcomport == 0
+ return
+ endif
+ endif
update
call RSetWD()
let pdfcmd = "vim.interlace.rnoweb('" . expand("%:t") . "'"
6 ftplugin/rrst.vim
View
@@ -129,6 +129,12 @@ function! RMakeHTMLrrst(t)
endfunction
function! RMakePDFrrst()
+ if g:rplugin_vimcomport == 0
+ exe "Py DiscoverVimComPort()"
+ if g:rplugin_vimcomport == 0
+ return
+ endif
+ endif
update
call RSetWD()
if g:rplugin_has_rst2pdf == 0
6 r-plugin/common_global.vim
View
@@ -1771,6 +1771,12 @@ function RFillLibList()
endfunction
function RBuildSyntaxFile(...)
+ if g:rplugin_vimcomport == 0
+ exe "Py DiscoverVimComPort()"
+ if g:rplugin_vimcomport == 0
+ return
+ endif
+ endif
if a:0 == 0
let packls = ""
else
Please sign in to comment.
Something went wrong with that request. Please try again.