]> git.gir.st - VimFx.git/commit
Use `prefs.get` directly in events-frame.coffee
authorSimon Lydell <simon.lydell@gmail.com>
Fri, 26 Feb 2016 13:31:33 +0000 (14:31 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Fri, 26 Feb 2016 13:31:33 +0000 (14:31 +0100)
commite7f361942c2b07234e889804975e93c21c1f5baf
tree8a73175f5fdf70f604567c40fd4130a161c786b0
parentddba5e40b1f784b17484775c9fd8316a47da3e60
Use `prefs.get` directly in events-frame.coffee

... instead of using `messageManager.get`. This avoids synchronous messages,
which is a good thing. It violates the nice principle of only using the parsed
options of the `vimfx` object, but it doesn't really matter right now since only
four prefs are used in events-frame.coffee and they need little to none parsing.
One could probably pass the entire `vimfx.options` object down to frame scripts
when they start up and send updates whenever it updates, but let's do that when
a need for it comes up.
extension/lib/events-frame.coffee
extension/lib/vim-frame.coffee
extension/lib/vim.coffee
Imprint / Impressum