dotfiles/vim/plugins/singlecompile/autoload/SingleCompile/templates/html.vim
2018-04-05 13:06:54 +02:00

52 lines
2.2 KiB
VimL

" Copyright (C) 2010-2012 Hong Xu
" This file is part of SingleCompile.
" SingleCompile is free software: you can redistribute it and/or modify
" it under the terms of the GNU General Public License as published by
" the Free Software Foundation, either version 3 of the License, or
" (at your option) any later version.
" SingleCompile is distributed in the hope that it will be useful,
" but WITHOUT ANY WARRANTY; without even the implied warranty of
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
" GNU General Public License for more details.
" You should have received a copy of the GNU General Public License
" along with SingleCompile. If not, see <http://www.gnu.org/licenses/>.
" check doc/SingleCompile.txt for more information
function! SingleCompile#templates#html#Initialize()
call SingleCompile#SetCompilerTemplate('html', 'firefox',
\'Mozilla Firefox', 'firefox', '', '')
call SingleCompile#SetPriority('html', 'firefox', 60)
call SingleCompile#SetCompilerTemplate('html', 'chrome',
\'Google Chrome', 'google-chrome', '', '')
call SingleCompile#SetPriority('html', 'chrome', 70)
call SingleCompile#SetCompilerTemplate('html', 'chromium',
\'Chromium', 'chromium', '', '')
call SingleCompile#SetPriority('html', 'chromium', 71)
call SingleCompile#SetCompilerTemplate('html', 'opera', 'Opera',
\'opera', '', '')
call SingleCompile#SetPriority('html', 'opera', 80)
call SingleCompile#SetCompilerTemplate('html', 'konqueror',
\'Konqueror', 'konqueror', '', '')
call SingleCompile#SetCompilerTemplate('html', 'arora',
\'Arora', 'arora', '', '')
call SingleCompile#SetCompilerTemplate('html', 'epiphany',
\'Epiphany', 'epiphany', '', '')
if has('win32')
call SingleCompile#SetCompilerTemplate('html', 'ie',
\'Microsoft Internet Explorer', 'iexplore', '', '',
\function('SingleCompile#DetectIe'))
call SingleCompile#SetPriority('html', 'ie', 50)
else
call SingleCompile#SetCompilerTemplate('html', 'ie',
\'Microsoft Internet Explorer', 'iexplore', '', '')
endif
endfunction
"vim703: cc=78
"vim: et ts=4 tw=78 sw=4