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

33450Re: wish: semi-automatic inst of syntax files from central location (www.vim.org) ?

Expand Messages
  • David Necas (Yeti)
    Aug 7 1:13 AM
      On Thu, Aug 07, 2003 at 09:14:17AM +0300, Yakov Lerner wrote:
      > Example:
      >
      > % vim mypackage.spec
      > ..... ~/.vimrc has: let g:auto_install_syntaxes=ask
      > ..... ~/.vimrc has: let
      > g_remote_syntaxes=http://www.vim.org/auto_syntaxes/
      > vim: Do you want to query central repository for syntax file for
      > *.spec ?

      The file -> filetype mapping is done in filetype.vim (and
      scripts.vim), and isn't always that simple as `*.spec => spec'.

      And if you have working filetype detection for the filetype,
      you have the syntax file too, unless you intentionally
      didn't install it.

      So how would the silly thing find there's something to offer
      in the first place?

      Yeti


      --
      Do not use tab characters. Their effect is not predictable.
    • Show all 11 messages in this topic