Skip to content

Commit

Permalink
Prepare vim/vim.rb for namespacing
Browse files Browse the repository at this point in the history
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 <win@wincent.com>
  • Loading branch information
wincent committed Jul 17, 2010
1 parent a9b3e41 commit fd8bbae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ruby/vim.rb
Expand Up @@ -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
Expand Down

0 comments on commit fd8bbae

Please sign in to comment.