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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | open-command-1835658.patch | 3.24 KB | benjifisher |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | open-command-1835658.patch | 3.24 KB | benjifisher |
Comments
Comment #1
benjifisherCommitted: be9eb72.
The attached patch adds a test for
has('unix') && system('uname') =~ 'Darwin'. It also fixes a related problem: ifOpenCommand()returns'', then the last menu command at the end offtplugin/drupal.vimfails becauses:optionsis defined conditionally. I moved the definition of this variable outside theifstatement.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.