diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-19 01:02:25 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-19 01:02:25 -0400 |
commit | ba9bdb3e70722942049fc17c52ef3d9eea866256 (patch) | |
tree | 9d16e844a3f5eb67c71f4fe3aeee9742b0db815f /runtime/syntax/2html.vim | |
parent | 1cb8afed7845cf8504bbbb560d04ea980f6b7cc5 (diff) | |
parent | 43fe335eda6c9f0ef231777aa03836a402d50668 (diff) | |
download | rneovim-ba9bdb3e70722942049fc17c52ef3d9eea866256.tar.gz rneovim-ba9bdb3e70722942049fc17c52ef3d9eea866256.tar.bz2 rneovim-ba9bdb3e70722942049fc17c52ef3d9eea866256.zip |
Merge pull request #4604 from dbarnett/vim-60cce2f
vim-patch:60cce2f
Diffstat (limited to 'runtime/syntax/2html.vim')
-rw-r--r-- | runtime/syntax/2html.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/syntax/2html.vim b/runtime/syntax/2html.vim index 187b1be1b0..ddc7819be2 100644 --- a/runtime/syntax/2html.vim +++ b/runtime/syntax/2html.vim @@ -1,6 +1,6 @@ " Vim syntax support file " Maintainer: Ben Fritz <fritzophrenic@gmail.com> -" Last Change: 2013 Jul 08 +" Last Change: 2015 Sep 08 " " Additional contributors: " @@ -26,7 +26,11 @@ let s:end=line('$') " Font if exists("g:html_font") - let s:htmlfont = "'". g:html_font . "', monospace" + if type(g:html_font) == type([]) + let s:htmlfont = "'". join(g:html_font,"','") . "', monospace" + else + let s:htmlfont = "'". g:html_font . "', monospace" + endif else let s:htmlfont = "monospace" endif |