File: vim-tsm

package info (click to toggle)
picolisp 3.1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,100 kB
  • sloc: ansic: 14,205; lisp: 795; makefile: 290; sh: 13
file content (28 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
26apr10abu
(c) Software Lab. Alexander Burger


         Transient Symbol Markup for 'vim'
         =================================

1. Compile 'vim' with Vince Negri's "Conceal" patch:
   http://vim.wikia.com/wiki/Patch_to_conceal_parts_of_lines

   patch -p0 < conceal-ownsyntax.diff
   make distclean
   ./configure --with-features=huge
   make VIMRUNTIMEDIR=~/local/vim72/runtime MAKE="make -e"
   cd ~/bin
   ln -s ~/local/vim72/src/vim
   ln vim vi
   ln vim view


2. Then put into your ".vimrc" or vim syntax file:

   if has("conceal")
      set conceallevel=2
      syn region picoLispTransient concealends matchgroup=picoLispString start=/"/ skip=/\\\\\|\\"/ end=/"/
      hi picoLispTransient gui=underline term=underline cterm=underline
      hi picoLispString ctermfg=red guifg=red
   endif