parent
97069f41a0
commit
ba7cc48dfb
|
@ -32,9 +32,6 @@ WORD_LETTERS = list(string.letters + string.digits)
|
||||||
ERROR_TIMEOUT = -1
|
ERROR_TIMEOUT = -1
|
||||||
#ERROR_TIMEOUT = 2
|
#ERROR_TIMEOUT = 2
|
||||||
|
|
||||||
#DARK_BACKGROUND = False
|
|
||||||
DARK_BACKGROUND = True
|
|
||||||
|
|
||||||
class Application(object):
|
class Application(object):
|
||||||
def __init__(self, stdscr, buffers=[], jump_to_line=None, init_mode=None):
|
def __init__(self, stdscr, buffers=[], jump_to_line=None, init_mode=None):
|
||||||
# initalize curses primitives
|
# initalize curses primitives
|
||||||
|
|
2
lex.py
2
lex.py
|
@ -475,6 +475,8 @@ class Lexer(object):
|
||||||
assert type(app.token_colors[name]) == type(()), repr(mode)
|
assert type(app.token_colors[name]) == type(()), repr(mode)
|
||||||
v = list(app.token_colors[name])
|
v = list(app.token_colors[name])
|
||||||
break
|
break
|
||||||
|
|
||||||
|
# bold colors seem to always look nicer.
|
||||||
if True:
|
if True:
|
||||||
v.append('bold')
|
v.append('bold')
|
||||||
return v
|
return v
|
||||||
|
|
|
@ -40,6 +40,7 @@ class Mutt(mode.Fundamental):
|
||||||
'punct': ('default', 'default'),
|
'punct': ('default', 'default'),
|
||||||
'stuff': ('default', 'default'),
|
'stuff': ('default', 'default'),
|
||||||
}
|
}
|
||||||
|
actions = [MuttInsertSpace, MuttWrapParagraph]
|
||||||
def __init__(self, w):
|
def __init__(self, w):
|
||||||
mode.Fundamental.__init__(self, w)
|
mode.Fundamental.__init__(self, w)
|
||||||
self.add_bindings('learn-word', ('C-c l',))
|
self.add_bindings('learn-word', ('C-c l',))
|
||||||
|
|
Loading…
Reference in New Issue