diff options
author | bptato <nincsnevem662@gmail.com> | 2022-11-25 00:32:54 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-11-25 00:33:39 +0100 |
commit | b086e346afeded51c94c9b77280dcea6f6b3ce8a (patch) | |
tree | e2fd9f29e77ab787f960bbd8ba190a14a6d5d7a0 /src/config | |
parent | 896489a6c500e28f13d0237ab691622cb5c5114f (diff) | |
download | chawan-b086e346afeded51c94c9b77280dcea6f6b3ce8a.tar.gz |
Buffer improvements
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/bufferconfig.nim | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/config/bufferconfig.nim b/src/config/bufferconfig.nim index ee776363..6e8d19e6 100644 --- a/src/config/bufferconfig.nim +++ b/src/config/bufferconfig.nim @@ -1,9 +1,8 @@ import config/config import css/sheet -type BufferConfig* = ref object - userstyle*: CSSStylesheet +type BufferConfig* = object + userstyle*: string proc loadBufferConfig*(config: Config): BufferConfig = - new(result) - result.userstyle = parseStylesheet(config.stylesheet) + result.userstyle = config.stylesheet |