Using the pre-installed /usr/bin/vim on Mac OS (10.6) the vim function has('macunix') returns 0, so our script cannot decide what to use for the "open" command.

#1 open-command-1835658.patch3.24 KBbenjifisher
Members fund testing for the Drupal project. Drupal Association Learn more


benjifisher’s picture

Status: Active » Fixed
3.24 KB

Committed: be9eb72.

The attached patch adds a test for has('unix') && system('uname') =~ 'Darwin'. It also fixes a related problem: if OpenCommand() returns '', then the last menu command at the end of ftplugin/drupal.vim fails because s:options is defined conditionally. I moved the definition of this variable outside the if statement.

While I was looking at the end of that file, I decided to make an unrelated change and move the PHP-specific option settings near the top of the file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.