From 3b70b4b56802f1115bd5dac04bdcb95a38c23823 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 24 Apr 2013 09:36:27 -0400 Subject: Use `buffer.word_chars` for autocompleting words instead of a Lua pattern. --- modules/textadept/menu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/menu.lua') 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}, -- cgit v1.2.3