From f6a8a296bbdfa607fe667c01a81ddd76cfdebd55 Mon Sep 17 00:00:00 2001 From: Reed Esau Date: Mon, 30 Dec 2013 02:23:45 -0700 Subject: [PATCH] removed unused force-redraw option --- README.markdown | 1 - autoload/thematic.vim | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 97ee67a..557c935 100644 --- a/README.markdown +++ b/README.markdown @@ -130,7 +130,6 @@ For console or GUI Vim: character color * `fold-column-color-mute` - temporarily modifies colorscheme to hide indicators in foldcolumn -* `force-redraw` - if 1, forces a `redraw!` after thematic makes changes For GUI-based options, see the `vim-thematic-gui` plugin. Here’s a summary: diff --git a/autoload/thematic.vim b/autoload/thematic.vim index 9a6e13f..cba2d97 100644 --- a/autoload/thematic.vim +++ b/autoload/thematic.vim @@ -205,9 +205,8 @@ function! thematic#init(mode) let g:thematic#theme_name = l:theme_name - if thematic#getThemeValue(l:th, 'force-redraw', 0) - redraw! - endif + " only seems to work for non-gui + "redraw | echo 'Thematic: ' . l:theme_name endfunction " vim:ts=2:sw=2:sts=2