1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00

Added simple css stylesheet for RST files preview in HTML

This commit is contained in:
2016-11-24 15:30:32 +01:00
parent d4e915ec57
commit 33622dbbf6
2 changed files with 186 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
" Some common settings for all reSt files
setlocal textwidth=80
setlocal makeprg=rst2html.py\ \"%\"\ \"%:p:r.html\"
"setlocal makeprg=rst2html.sh\ \"%\"\ \"%:p:r.html\"
let &makeprg = 'rst2html.py --syntax-highlight=short --stylesheet ' . expand('<sfile>:p:h', 1) . '/style.css "%" "%:p:r.html"'
setlocal spell
setlocal smartindent
setlocal autoindent