[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vim syntax highlighting on Windows

From: Mark Polesky
Subject: vim syntax highlighting on Windows
Date: Tue, 30 Jul 2013 14:48:42 -0700 (PDT)

Hi all,

I'm temporarily on a windows machine, and a I'm trying to
get the syntax highlighting to work with vim.  I followed
the instructions in the docs here:

When I opened an .ly file in vim, I got this error:

Error detected while processing C:\Program 
line   54:
E108: No such variable: "b:current_syntax"

I changed the offending line ("unlet b:current_syntax") to:

if exists("b:current_syntax")
  unlet b:current_syntax

and the error message went away.  Is that a bug?

Also, I cannot get scheme highlighting to work in any
context (within a .scm file or embedded scheme code in an
.ly file).  One thing I noticed was that (at least on the
windows binary), vim\syntax\ did not contain a scheme.vim
file, and neither does the syntax\ directory that ships with
"Git for Windows", 
C:\Program Files\Git\share\vim\vim73\syntax\.

I found a scheme.vim online here:

...copied that into both directories mentioned above, and
still nothing.

I'm using msysgit 1.8.3 from here:

Any ideas?

- Mark

reply via email to

[Prev in Thread] Current Thread [Next in Thread]