File: ispc.vim.README

package info (click to toggle)
ispc 1.28.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 97,620 kB
  • sloc: cpp: 77,067; python: 8,303; yacc: 3,337; lex: 1,126; ansic: 631; sh: 475; makefile: 17
file content (11 lines) | stat: -rw-r--r-- 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
To install vim syntax highlighting for ispc files:

1) Copy ispc.vim into ~/.vim/syntax/ispc.vim (create if necessary)
2) Create a filetype for ispc files to correspond to that syntax file
   To do this, create and append the following line to ~/.vim/ftdetect/ispc.vim

au BufRead,BufNewFile *.isph,*.ispc set filetype=ispc

Alternatively the files can be installed by distribution packages, e.g.:
1) /usr/share/vim/vimfiles/syntax/ispc.vim
2) /usr/share/vim/vimfiles/ftdetect/ispc.vim