diff options
author | 2020-06-08 08:37:03 -0400 | |
---|---|---|
committer | 2020-06-08 08:37:03 -0400 | |
commit | ada6a867c87be0ed746cdb94c28ff24f8288280c (patch) | |
tree | 32fd916ced3128af7e5ef1725b9f1685ee121703 /themes | |
parent | 20833c35fd6d580c934cb6c3f6e7b9a2c39ac99b (diff) |
Prefer `view.property*` instead of `buffer.property*`.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/dark.lua | 4 | ||||
-rw-r--r-- | themes/light.lua | 4 | ||||
-rw-r--r-- | themes/term.lua | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/themes/dark.lua b/themes/dark.lua index 6402c165..af135dcd 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -2,8 +2,8 @@ -- Dark theme for Textadept. -- Contributions by Ana Balan. -local buffer, view = buffer, view -local property, property_int = buffer.property, buffer.property_int +local view = view +local property, property_int = view.property, view.property_int -- Greyscale colors. property['color.dark_black'] = 0x000000 diff --git a/themes/light.lua b/themes/light.lua index d72a85f9..5ec91924 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -2,8 +2,8 @@ -- Light theme for Textadept. -- Contributions by Ana Balan. -local buffer, view = buffer, view -local property, property_int = buffer.property, buffer.property_int +local view = view +local property, property_int = view.property, view.property_int -- Greyscale colors. property['color.dark_black'] = 0x000000 diff --git a/themes/term.lua b/themes/term.lua index f3c5bfed..0a88dc89 100644 --- a/themes/term.lua +++ b/themes/term.lua @@ -2,8 +2,8 @@ -- Terminal theme for Textadept. -- Contributions by Ana Balan. -local buffer, view = buffer, view -local property, property_int = buffer.property, buffer.property_int +local view = view +local property, property_int = view.property, view.property_int -- Normal colors. property['color.black'] = 0x000000 |