aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/japanese.vim b/japanese.vim
index b2ed95c..ef80960 100644
--- a/japanese.vim
+++ b/japanese.vim
@@ -90,6 +90,7 @@ let s:cur_region = v:null
" Set when starting completion, undefined at other times (may not be reset to
" v:null).
+" TODO: unused
let s:completion_orig_text = v:null
@@ -471,7 +472,9 @@ endfunction
function s:handle_backspace_expr()
" <C-e>: *discard* completion and close completion menu (|complete_CTRL-E|)
- return (pumvisible() ? "\<C-e>" : '') .. "\<BS>"
+ " TODO: How to restore the original un-completed text? Sometimes <C-e> keeps
+ " it, sometimes it doesn't.
+ return (pumvisible() ? "\<C-e>" : "\<BS>")
endfunction
function s:handle_hiragana()