diff options
author | 2013-04-24 09:36:27 -0400 | |
---|---|---|
committer | 2013-04-24 09:36:27 -0400 | |
commit | 3b70b4b56802f1115bd5dac04bdcb95a38c23823 (patch) | |
tree | 95d5522f91991b0a2a175e98db945138248f067e /modules/textadept/menu.lua | |
parent | 42cf930ef13b2ebef310dc59f424e03fa42e9426 (diff) | |
download | textadept-3b70b4b56802f1115bd5dac04bdcb95a38c23823.tar.gz textadept-3b70b4b56802f1115bd5dac04bdcb95a38c23823.zip |
Use `buffer.word_chars` for autocompleting words instead of a Lua pattern.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r-- | modules/textadept/menu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index 86bbc5ae..1db09d69 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -66,7 +66,7 @@ M.menubar = { {_L['Select _All'], buffer.select_all}, SEPARATOR, {_L['_Match Brace'], m_editing.match_brace}, - {_L['Complete _Word'], {m_editing.autocomplete_word, '%w_'}}, + {_L['Complete _Word'], m_editing.autocomplete_word}, {_L['_Highlight Word'], m_editing.highlight_word}, {_L['Toggle _Block Comment'], m_editing.block_comment}, {_L['T_ranspose Characters'], m_editing.transpose_chars}, |