vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

bzl.vim (374B)


      1 " Vim syntax file
      2 " Language:	Bazel (http://bazel.io)
      3 " Maintainer:	David Barnett (https://github.com/google/vim-ft-bzl)
      4 " Last Change:	2015 Aug 11
      5 
      6 if exists('b:current_syntax')
      7   finish
      8 endif
      9 
     10 
     11 runtime! syntax/python.vim
     12 
     13 let b:current_syntax = 'bzl'
     14 
     15 syn region bzlRule start='^\w\+($' end='^)\n*' transparent fold
     16 syn region bzlList start='\[' end='\]' transparent fold