summaryrefslogtreecommitdiff
path: root/ftplugin/hackernews.py
AgeCommit message (Collapse)AuthorFilesLines
2015-03-20Clear OP username syntax match when loading new itemryanss1-0/+2
2015-03-19Add hidden item id links to comment header linesryanss1-2/+2
2015-03-17Refactor duplicate code in print functionsryanss1-39/+8
2015-03-08Add ability to view alternate pages, Closes #27ryanss1-7/+13
ask, show, shownew, jobs, best, active, newest, noobstories
2015-03-07Add text representation of poll resultsryanss1-3/+11
2015-03-09Fix HTTPError messagerambominator1-1/+1
2015-03-06Refactor duplicate code in link() functionryanss1-77/+42
2015-03-02Remove use of tabs for comments layout -- spaces onlyryanss1-4/+5
2015-03-01Replace <i>italic</i> tags with _italic_ underscoresryanss1-0/+2
2015-02-28Highlight OP username in comment titlesryanss1-0/+4
2015-02-27Fix error rendering links to individual commentsryanss1-39/+48
2015-02-22Fix extra blank line above code blocks with +python3ryanss1-1/+4
2015-02-22Add highlighted links and navigation to article textryanss1-7/+13
2015-02-21Fix #28 Add Python3 supportryanss1-23/+38
2015-02-19Improve handling of html tags in commentsryanss1-15/+20
Fixes errors trying to view comments for item=8955426
2015-02-16Front page title line now links to item url. Close #4ryanss1-2/+2
The first line of of each front page item (that contains the title and domain) links to the external url associated with the item. The second line of each item (that contains the points, user, comment count) links to the comments page. This is consistent with how the actual Hacker News front page works.
2015-02-10Remove unwanted extra blank lines around code blocksryanss1-4/+5
2015-02-10Fix typoryanss1-1/+1
2015-02-10Wait for :HackerNews command to load python code Fixes #22ryanss1-0/+314
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.