A vim filetype
plugin for Khronos extension specification document .txt
files. Based on the extension specification templates for
OpenGL and
OpenCL. Provides
folding for sections within the extension document and syntax highlighting for
sections containing source code.
- vim-plug
Plug 'kbenzie/vim-khr'
- Vundle
Plugin 'kbenzie/vim-khr'
- NeoBundle
NeoBundle 'kbenzie/vim-khr'
- vim-pathogen
git clone https://github.com/kbenzie/vim-khr.git ~/.vim/bundle/vim-khr
Extension specification documents use the .txt
extension so it is not possible
to detect the Vim filetype
, when opening an extension specification document
issue the following command to change the filetype
.
:setfiletype khr
See license file.