Force UTF-8 mode for rst2html

This commit is contained in:
Anthony Rose 2017-02-22 11:35:34 +00:00
parent 23f847d348
commit 7daff1a13b

2
vimrc
View file

@ -3,7 +3,7 @@ silent! execute pathogen#infect()
autocmd BufRead,BufNewFile *.md set filetype=markdown autocmd BufRead,BufNewFile *.md set filetype=markdown
autocmd BufWritePost *.mom !pdfmom -t -k <afile> > <afile>.pdf autocmd BufWritePost *.mom !pdfmom -t -k <afile> > <afile>.pdf
autocmd BufWritePost *.rst !rst2html <afile> <afile>.html autocmd BufWritePost *.rst !rst2html -i utf-8 <afile> <afile>.html
autocmd BufWritePost *.tex !lualatex --output-directory=/tmp <afile> autocmd BufWritePost *.tex !lualatex --output-directory=/tmp <afile>
command Q q command Q q
command W w command W w