Loading ...
Sorry, an error occurred while loading the content.

15525RE: WSH (Windows Scripting Host) syntax file

Expand Messages
  • Moore, Paul
    Oct 3 2:39 AM
    • 0 Attachment
      From: Bram Moolenaar [mailto:Bram@...]
      > > Wouldn't it be OK if :syn include loaded the exact path if it
      > > was an absolute pathname, but otherwise searched 'runtimepath'?
      > > That would preserve backward compatibility (everything will
      > > use absolute paths at the moment) while allowing the use of
      > > 'runtimepath'.
      > It seems that this should be OK. Until now you really needed
      > to use an absolute path. I can't find an example where this
      > isn't used.
      > Should the relative path be searched in 'runtimepath' or in the syntax
      > subdirectory? Thus would you use:
      > :syn include xml.vim
      > or
      > :syn include syntax/xml.vim
      > I would propose the second, because it gives some room to use another
      > subdirectory, e.g.:
      > :syn include mysyntax/xml.vim

      I agree, that makes sense.

    • Show all 7 messages in this topic