summaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorryanss2015-02-10 10:14:09 -0500
committerryanss2015-02-10 10:14:09 -0500
commit353a05e29dacb8c7f8c2d9ce31336d96dd65918a (patch)
treed1833e28da2f780c5380a24c8ce6d48e04350714 /syntax
parentbf2266ce059684c5b35424a030d37eee97399e3a (diff)
downloadvim-hn-353a05e29dacb8c7f8c2d9ce31336d96dd65918a.tar.gz
Wait for :HackerNews command to load python code Fixes #22
Once you import a python module into an instance of vim it does not get reloaded when a plugin manager updates the plugin. This can cause errors when, for example, a new function is added to the python module and updated vim code is trying to call it. This commit does two things: 1) Does not load the python code until the :HackerNews command is called. There is no need to load the python code during vim startup if the plugin will not be used. 2) Each time the :HackerNews command is issued and a .hackernews buffer is opened the python code is reloaded to avoid the errors previously mentioned.
Diffstat (limited to 'syntax')
0 files changed, 0 insertions, 0 deletions