File: INSTALL

package info (click to toggle)
httest 2.4.23-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,876 kB
  • sloc: ansic: 19,553; sh: 10,550; xml: 1,047; makefile: 510; lisp: 145; perl: 31
file content (27 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (7)
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
INSTALLATION
------------

Syntax Highlighting
-------------------
Put the htt.vim file into your ~/.vim/syntax/ folder.
Add a filetype.vim into ~/.vim/ folder with the following content

if exists("did_load_my_filetypes")
  finish
endif
let did_load_my_filetypes = 1

" Line continuation is used here, remove 'C' from 'cpoptions'
let s:cpo_save = &cpo
set cpo&vim

augroup filetypedetect

" Httest scripts
au BufNewFile,BufRead *.htt,*.htb		setf htt

augroup END

" Restore 'cpoptions'
let &cpo = s:cpo_save
unlet s:cpo_save