aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-04-24 09:36:27 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-04-24 09:36:27 -0400
commit3b70b4b56802f1115bd5dac04bdcb95a38c23823 (patch)
tree95d5522f91991b0a2a175e98db945138248f067e /modules/textadept/keys.lua
parent42cf930ef13b2ebef310dc59f424e03fa42e9426 (diff)
downloadtextadept-3b70b4b56802f1115bd5dac04bdcb95a38c23823.tar.gz
textadept-3b70b4b56802f1115bd5dac04bdcb95a38c23823.zip
Use `buffer.word_chars` for autocompleting words instead of a Lua pattern.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index b2633783..d8b48ff2 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -390,7 +390,7 @@ keys[not OSX and (not CURSES and 'adel' or 'mdel')
keys[not OSX and not CURSES and 'ca' or 'ma'] = buffer.select_all
keys[not CURSES and 'cm' or 'mm'] = m_editing.match_brace
keys[not OSX and (not CURSES and 'c\n' or 'cmj')
- or 'cesc'] = {m_editing.autocomplete_word, '%w_'}
+ or 'cesc'] = m_editing.autocomplete_word
if CURSES and WIN32 then keys['c\r'] = keys['cmj'] end
if not CURSES then
keys[not OSX and 'caH' or 'mH'] = m_editing.highlight_word