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

29358syntax/quake.vim

Expand Messages
  • Nikolai 'pcp' Weibull
    Jul 30, 2002
    • 0 Attachment
      finally got around to it...the 'ultimate' quake based game config syntax
      definition. it covers configs for quake[1-3] based configs and
      highlights strings, comments, numbers, and commands. one could feasibly
      add variable highlighting...but that would take ages (there are some
      5-600) different variables among the games and it would take quite an
      effort to cross-check which work in which game (i have listings of all
      the variables available, so i might write something to parse it). but
      the question is if it is really necessary? any quakers on this list?
      your opinions?

      a second thing...how do we detect the filetype? .cfg is a popular
      extension. my suggestion so far is:

      au BufNewFile,BufRead *baseq[2-3]/*.cfg,*id1/*.cfg setf quake
      au BufNewFile,BufRead *quake[1-3]/*.cfg setf quake

      which should work ok...suggestions?

      --
      /* Name: Nikolai 'pcp' Weibull -- Age: 22 -- Born in: Chicago, IL USA *
      * Where @: Gothenburg, Sweden -- Homepage: http://www.pcppopper.org/ *
      * Email: da.box@..., pcp@... -- System: GeForce2 MX 32 *
      * Celeron 667at950, Fujitsu 20.49gb UDMA-66, ASUS CUV4X, 256mb PC133 *
      * main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} */
    • Show all 4 messages in this topic