| Age | Commit message (Collapse) | Author | Files | Lines |
|
Example comment [9720796]
|
|
|
|
Before this change trying to open a second, different story list using
the optional HackerNews command arugment would not do anything if a
.hackernews buffer was already open.
|
|
:HackerNews commands needs `g:hackernews_stories` set before ftplugin code
is executed.
|
|
|
|
|
|
ask, show, shownew, jobs, best, active, newest, noobstories
|
|
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.
|
|
|
|
If `filetype plugin` is off the key remaps defined in
`ftplugin/hackernews.vim` won't be loaded and pressing `o`
will just create a new line instead of following links.
|
|
Use raw string literal to add vim script path to python system path
so it doesn't escape single backslash characters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|