aboutsummaryrefslogtreecommitdiffhomepage
path: root/core
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2010-09-29 20:22:32 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2010-09-29 20:22:32 -0400
commit7ba36c526c1e3070923c3f10089143cd5d0c75c7 (patch)
tree2891995bd359c7f0abff13a829846c10a99df27f /core
parentbd53e7866f48c64b6f6eea22529a9f98da5eaad6 (diff)
Use newest LexLPeg.cxx from scintillua; core/events.lua
Diffstat (limited to 'core')
-rw-r--r--core/events.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/events.lua b/core/events.lua
index 3abe257e..3591d6df 100644
--- a/core/events.lua
+++ b/core/events.lua
@@ -259,7 +259,7 @@ connect('buffer_new',
local buffer = buffer
-- lexer
- buffer:set_lexer_language('llpeg')
+ buffer:set_lexer_language('lpeg')
buffer:private_lexer_call(SETDIRECTFUNCTION, buffer.direct_function)
buffer:private_lexer_call(SETDIRECTPOINTER, buffer.direct_pointer)
buffer:private_lexer_call(SETLEXERLANGUAGE, 'container')
@@ -267,10 +267,10 @@ connect('buffer_new',
-- properties
buffer.property['textadept.home'] = _HOME
- buffer.property['lexer.lua.home'] = _LEXERPATH
- buffer.property['lexer.lua.script'] = _HOME..'/lexers/lexer.lua'
+ buffer.property['lexer.lpeg.home'] = _LEXERPATH
+ buffer.property['lexer.lpeg.script'] = _HOME..'/lexers/lexer.lua'
if _THEME and #_THEME > 0 then
- buffer.property['lexer.lua.color.theme'] = _THEME..'/lexer.lua'
+ buffer.property['lexer.lpeg.color.theme'] = _THEME..'/lexer.lua'
end
-- buffer