commit | 860cae1cec85aeb06668a2b071727c43869acf15 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 05 23:22:07 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 05 23:22:07 2010 +0200 |
tree | 8f7b62b69f4a7d3340902178927bbc3f9d24cc3e | |
parent | 945e2dbb633ed29b697a8d4eea51672e3c11143b [diff] [blame] |
Add the conceal patch from Vince Negri.
diff --git a/src/hardcopy.c b/src/hardcopy.c index e70390d..744a2a2 100644 --- a/src/hardcopy.c +++ b/src/hardcopy.c
@@ -616,7 +616,7 @@ else settings.modec = 't'; - if (!syntax_present(curbuf)) + if (!syntax_present(curwin)) settings.do_syntax = FALSE; else if (printer_opts[OPT_PRINT_SYNTAX].present && TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) != 'a')