tisp.vim

vim configuration for the tisp langauge
git clone git://edryd.org/tisp.vim
Log | Files | Refs

tisp.vim (544B)


      1 " Vim filetype plugin
      2 " Language: tisp
      3 " Author:   Ed van Bruggen <ed@edryd.org>
      4 " URL:      edryd.org/projects/tisp.html
      5 
      6 if exists("b:did_ftplugin")
      7   finish
      8 endif
      9 let b:did_ftplugin = 1
     10 
     11 setl lisp
     12 setl comments=:;
     13 setl commentstring=;\ %s
     14 setl define=^\\s*(def\\k*
     15 setl formatoptions-=t
     16 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
     17 setl lispwords+=def,recur,switch
     18 
     19 if exists('g:paredit_loaded')
     20   call PareditInitBuffer()
     21 endif
     22 
     23 let b:undo_ftplugin = "setlocal lisp< comments< commentstring< define< formatoptions< iskeyword< lispwords<"