From f0456d89738b562917a820b986fc038cd70235cb Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 24 Jan 2009 15:56:26 -0500 Subject: Use lexer themes defined in Textadept's themes/, not scintilla-st's themes/. --- core/events.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/events.lua') diff --git a/core/events.lua b/core/events.lua index 1d227b30..ce91452c 100644 --- a/core/events.lua +++ b/core/events.lua @@ -215,7 +215,9 @@ add_handler('view_new', buffer.property['lexer.lua.script'] = _HOME..'/lexers/lexer.lua' if _THEME and #_THEME > 0 then if not _THEME:match('[/\\]') then - buffer.property['lexer.lua.color.theme'] = _THEME + -- use a lexer theme from Textadept's themes, not scintilla-st's + buffer.property['lexer.lua.color.theme'] = + _HOME..'/themes/'.._THEME..'/lexer.lua' else -- _THEME is a folder path buffer.property['lexer.lua.color.theme'] = _THEME..'/lexer.lua' end -- cgit v1.2.3