From fd8bbae17d814fda122982921134327efb41126a Mon Sep 17 00:00:00 2001 From: Wincent Colaiuta Date: Sat, 17 Jul 2010 12:17:07 +0200 Subject: [PATCH] Prepare vim/vim.rb for namespacing All of the additions to the VIM module are going to move inside the CommandT namespace, to play nicely with other Ruby plugins. Signed-off-by: Wincent Colaiuta --- ruby/vim.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby/vim.rb b/ruby/vim.rb index c2464b78..8c855e76 100644 --- a/ruby/vim.rb +++ b/ruby/vim.rb @@ -26,11 +26,11 @@ module VIM def self.has_syntax? - VIM::evaluate('has("syntax")').to_i != 0 + ::VIM::evaluate('has("syntax")').to_i != 0 end def self.pwd - VIM::evaluate 'getcwd()' + ::VIM::evaluate 'getcwd()' end # Escape a string for safe inclusion in a Vim single-quoted string