diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-09-27 21:12:05 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-09-27 21:12:05 -0400 |
commit | ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06 (patch) | |
tree | 558d22791c4461fc5b765ce9ef57dd2273df73e0 /themes | |
parent | 235a3a04d8cf7f80823d59a8ff6ec77fbf8e61d5 (diff) |
Integrated compile and run commands for most languages.
Compile and run should work out of the box for most languages. Also added a
warning marker, renamed `compile_command` and `run_command` tables to
`compile_commands` and `run_commands`, respectively, and renamed `error_details`
to `error_patterns`, changing its structure to just hold patterns.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/dark.lua | 6 | ||||
-rw-r--r-- | themes/light.lua | 12 | ||||
-rw-r--r-- | themes/term.lua | 1 |
3 files changed, 12 insertions, 7 deletions
diff --git a/themes/dark.lua b/themes/dark.lua index f798b812..71bfd636 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -108,9 +108,11 @@ buffer:set_fold_margin_hi_colour(true, property_int['color.black']) -- Markers. local MARK_BOOKMARK = textadept.bookmarks.MARK_BOOKMARK -buffer.marker_fore[MARK_BOOKMARK] = property_int['color.black'] +--buffer.marker_fore[MARK_BOOKMARK] = property_int['color.black'] buffer.marker_back[MARK_BOOKMARK] = property_int['color.dark_blue'] -buffer.marker_fore[textadept.run.MARK_ERROR] = property_int['color.black'] +--buffer.marker_fore[textadept.run.MARK_WARNING] = property_int['color.black'] +buffer.marker_back[textadept.run.MARK_WARNING] = property_int['color.yellow'] +--buffer.marker_fore[textadept.run.MARK_ERROR] = property_int['color.black'] buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.red'] for i = 25, 31 do -- fold margin markers buffer.marker_fore[i] = property_int['color.black'] diff --git a/themes/light.lua b/themes/light.lua index f5c54717..b13cb0ed 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -42,7 +42,7 @@ property['color.lavender'] = 0xE69999 -- Light colors. property['color.light_red'] = 0x8080CC ---property['color.light_yellow'] = 0x80CCCC +property['color.light_yellow'] = 0x80CCCC --property['color.light_green'] = 0x80CC80 --property['color.light_teal'] = 0xCCCC80 --property['color.light_purple'] = 0xCC80CC @@ -107,11 +107,13 @@ buffer:set_fold_margin_colour(true, property_int['color.white']) buffer:set_fold_margin_hi_colour(true, property_int['color.white']) -- Markers. -local MARK_BOOKMARK = textadept.bookmarks.MARK_BOOKMARK -buffer.marker_fore[MARK_BOOKMARK] = property_int['color.white'] +local MARK_BOOKMARK, t_run = textadept.bookmarks.MARK_BOOKMARK, textadept.run +--buffer.marker_fore[MARK_BOOKMARK] = property_int['color.white'] buffer.marker_back[MARK_BOOKMARK] = property_int['color.dark_blue'] -buffer.marker_fore[textadept.run.MARK_ERROR] = property_int['color.white'] -buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.light_red'] +--buffer.marker_fore[t_run.MARK_WARNING] = property_int['color.white'] +buffer.marker_back[t_run.MARK_WARNING] = property_int['color.light_yellow'] +--buffer.marker_fore[t_run.MARK_ERROR] = property_int['color.white'] +buffer.marker_back[t_run.MARK_ERROR] = property_int['color.light_red'] for i = 25, 31 do -- fold margin markers buffer.marker_fore[i] = property_int['color.white'] buffer.marker_back[i] = property_int['color.grey'] diff --git a/themes/term.lua b/themes/term.lua index fd35e862..bee6b44f 100644 --- a/themes/term.lua +++ b/themes/term.lua @@ -76,6 +76,7 @@ property['style.whitespace'] = '' -- Markers. local MARK_BOOKMARK = textadept.bookmarks.MARK_BOOKMARK buffer.marker_back[MARK_BOOKMARK] = property_int['color.blue'] +buffer.marker_back[textadept.run.MARK_WARNING] = property_int['color.yellow'] buffer.marker_back[textadept.run.MARK_ERROR] = property_int['color.red'] -- Indicators. |