Fixed vim and zsh
This commit is contained in:
@ -0,0 +1,42 @@
|
||||
" 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#markdown#Initialize()
|
||||
call SingleCompile#SetCompilerTemplate('markdown', 'markdown',
|
||||
\ 'text-to-HTML conversion tool', 'markdown',
|
||||
\ '-o $(FILE_TITLE)$.html',
|
||||
\ SingleCompile#GetDefaultOpenCommand() .
|
||||
\ ' "$(FILE_TITLE)$.html"')
|
||||
call SingleCompile#SetPriority('markdown', 'markdown', 50)
|
||||
|
||||
call SingleCompile#SetCompilerTemplate('markdown', 'rdiscount',
|
||||
\ 'Discount Markdown Processor for Ruby', 'rdiscount',
|
||||
\ '$(FILE_NAME)$ >$(FILE_TITLE)$.html',
|
||||
\ SingleCompile#GetDefaultOpenCommand() .
|
||||
\ ' "$(FILE_TITLE)$.html"')
|
||||
|
||||
call SingleCompile#SetCompilerTemplate('markdown', 'markdown_py',
|
||||
\ 'Discount Markdown Processor for Python', 'markdown_py',
|
||||
\ '-f $(FILE_TITLE)$.html -o html5 $(FILE_NAME)$',
|
||||
\ SingleCompile#GetDefaultOpenCommand() .
|
||||
\ ' "$(FILE_TITLE)$.html"')
|
||||
endfunction
|
||||
|
||||
"vim703: cc=78
|
||||
"vim: et ts=4 tw=78 sw=4
|
Reference in New Issue
Block a user