diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-21 23:52:24 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-25 00:48:53 -0500 |
commit | a2f6319c9ac8f7f3f991dc56713f0f7902796820 (patch) | |
tree | a1fb9ac7747c734fa4156c72fdd872201648fc84 | |
parent | 5736ea3027a5ebf9824997fa05d05dd74284d66a (diff) |
vim plugin: removed some dead code
-rw-r--r-- | vim/plugin/notmuch.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 9cee5008..7ba7f9c1 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -218,10 +218,7 @@ function! s:NM_cmd_search_fmtline(line) endfunction function! s:NM_cmd_search_mksyntax() syntax clear nmSearchFrom - "syntax region nmSearchFrom start='\]\@<=' end='.'me=e+5,he=e+5,re=e+5 oneline contained - "syntax match nmSearchFrom /\]\@<=.\{10\}/ oneline contained exec printf('syntax match nmSearchFrom /\(\] \)\@<=.\{%d\}/ oneline contained', g:notmuch_search_from_column_width) - "exec printf('syntax region nmSearchFrom start=''\%%%dv'' end=''\%%%dv'' oneline contained', 20, 30) endfunction " --- --- search screen action functions {{{2 @@ -797,6 +794,7 @@ function! NM_set_defaults(force) let cmd = printf('let %s = %d', key, dflt) elseif type(dflt) == type('') let cmd = printf('let %s = ''%s''', key, dflt) + " FIXME: not sure why this didn't work when dflt is an array "elseif type(dflt) == type([]) " let cmd = printf('let %s = %s', key, string(dflt)) else |