Merge branch 'OOP' of https://scm.cri.ensmp.fr/git/Faustine into OOP
[Faustine.git] / interpretor / faust-0.9.47mr3 / syntax-highlighting / README
1 Faust Syntax Highlighting Files
2 -------------------------------
3
4 This folder contains syntax highlighting files for various editors. The editors currently supported are : KDE Kate/Kwrite, GNOME gedit, Macintosh TextWrangler, highlight and vim
5
6 1) KDE Kate/Kwrite
7 install the file 'faust.xml' into Kate syntax folder ('/opt/kde3/share/apps/katepart/syntax' on suse 10.0)
8 ('/usr/share/apps/katepart/syntax' on mandriva and ubuntu)
9
10 2) gedit
11 Install the file 'faust.lang' into gedit syntax folder ('/usr/share/gtksourceview-2.0/language-specs' on Ubuntu 9.10)
12
13
14 3) TextWrangler
15 install the file Faust.plist into ~/Library/Application\ Support/TextWrangler/Language\ Modules/
16
17 4) Highlight
18 install dsp.lang into /usr/share/highlight/langDefs/
19 Examples using highlight :
20 highlight --latex -l -t 4 -i karplus.dsp -o karplus.dsp.tex
21 highlight -l -t 4 -i mixer.dsp -o mixer.dsp.html
22
23 5) VIM
24 'faust.vim' is a syntax file for VIM contributed by Björn Lindig
25 - install the file 'faust.vim' into vim syntax folder ('~/.vim/syntax/')
26 - add the following lines to the file 'filetype.vim' in the '~/.vim' directory (if its not there, you have to create it):
27
28 faust filetype file
29 if exists("did_load_filetypes")
30 finish
31 endif
32 augroup filetypedetect
33 au! BufRead,BufNewFile *.fst setfiletype faust
34 au! BufRead,BufNewFile *.dsp setfiletype faust
35 augroup END
36
37 6) EMACS
38 An EMACS Faust mode is provided by Juan Gabriel Alzate Romero at https://github.com/rukano/emacs-faust-mode
39