neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

blank.vim (794B)


      1 " Vim syntax file
      2 " Language:     Blank 1.4.1
      3 " Maintainer:   Rafal M. Sulejman <unefunge@friko2.onet.pl>
      4 " Last change:  2011 Dec 28 by Thilo Six
      5 
      6 " quit when a syntax file was already loaded
      7 if exists("b:current_syntax")
      8  finish
      9 endif
     10 
     11 let s:cpo_save = &cpo
     12 set cpo&vim
     13 
     14 syn case ignore
     15 
     16 " Blank instructions
     17 syn match blankInstruction "{[:;,\.+\-*$#@/\\`'"!\|><{}\[\]()?xspo\^&\~=_%]}"
     18 
     19 " Common strings
     20 syn match blankString "\~[^}]"
     21 
     22 " Numbers
     23 syn match blankNumber "\[[0-9]\+\]"
     24 
     25 syn case match
     26 
     27 " Define the default highlighting.
     28 " Only when an item doesn't have highlighting yet
     29 
     30 hi def link blankInstruction      Statement
     31 hi def link blankNumber	       Number
     32 hi def link blankString	       String
     33 
     34 
     35 let b:current_syntax = "blank"
     36 
     37 let &cpo = s:cpo_save
     38 unlet s:cpo_save
     39 " vim: ts=8