diff --git a/application.py b/application.py index eb977ec..7cf9ce9 100755 --- a/application.py +++ b/application.py @@ -32,9 +32,6 @@ WORD_LETTERS = list(string.letters + string.digits) ERROR_TIMEOUT = -1 #ERROR_TIMEOUT = 2 -#DARK_BACKGROUND = False -DARK_BACKGROUND = True - class Application(object): def __init__(self, stdscr, buffers=[], jump_to_line=None, init_mode=None): # initalize curses primitives diff --git a/lex.py b/lex.py index 0b6fe24..c204e1d 100755 --- a/lex.py +++ b/lex.py @@ -475,6 +475,8 @@ class Lexer(object): assert type(app.token_colors[name]) == type(()), repr(mode) v = list(app.token_colors[name]) break + + # bold colors seem to always look nicer. if True: v.append('bold') return v diff --git a/mode/mutt.py b/mode/mutt.py index 74023d4..9db5d5c 100644 --- a/mode/mutt.py +++ b/mode/mutt.py @@ -40,6 +40,7 @@ class Mutt(mode.Fundamental): 'punct': ('default', 'default'), 'stuff': ('default', 'default'), } + actions = [MuttInsertSpace, MuttWrapParagraph] def __init__(self, w): mode.Fundamental.__init__(self, w) self.add_bindings('learn-word', ('C-c l',))