Skip to content
Browse files

Don't add %string% to list of functions.

  • Loading branch information...
1 parent 127452a commit 987db15814cec551d6a879b71d123db853a404ec @jalvesaq jalvesaq committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 r-plugin/common_global.vim
View
2 r-plugin/common_global.vim
@@ -1785,7 +1785,7 @@ function RBuildSyntaxFile(...)
let funlist = ""
for line in g:rplugin_liblist
let obj = split(line, "\x06", 1)
- if obj[2] == "function"
+ if obj[2] == "function" && obj[0] !~ '%'
if obj[0] !~ '[[:punct:]]' || (obj[0] =~ '\.[a-zA-Z]' && obj[0] !~ '[[:punct:]][[:punct:]]')
let nf += 1
let funlist = funlist . " " . obj[0]

0 comments on commit 987db15

Please sign in to comment.
Something went wrong with that request. Please try again.