diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | doc/hackernews.txt | 2 | ||||
| -rw-r--r-- | ftplugin/hackernews.py | 2 | ||||
| -rw-r--r-- | ftplugin/hackernews.vim | 2 | ||||
| -rw-r--r-- | plugin/hackernews.vim | 2 | ||||
| -rw-r--r-- | syntax/hackernews.vim | 6 | ||||
| -rw-r--r-- | tests.vader | 2 |
7 files changed, 9 insertions, 9 deletions
@@ -1,4 +1,4 @@ -vim-hackernews [](https://github.com/ryanss/vim-hackernews/raw/master/LICENSE) [](https://github.com/ryanss/vim-hackernews/releases/tag/v0.2) [](https://travis-ci.org/ryanss/vim-hackernews) +vim-hackernews [](https://travis-ci.org/ryanss/vim-hackernews) [](https://github.com/ryanss/vim-hackernews/releases/tag/v0.2) [](https://github.com/ryanss/vim-hackernews/raw/master/LICENSE) ============== Browse [Hacker News](https://news.ycombinator.com) inside Vim. diff --git a/doc/hackernews.txt b/doc/hackernews.txt index baffaed..a890d39 100644 --- a/doc/hackernews.txt +++ b/doc/hackernews.txt @@ -3,7 +3,7 @@ Author: ryanss <ryanssdev@icloud.com> Website: https://github.com/ryanss/vim-hackernews License: MIT (see LICENSE file) -Version: 0.2 (April 26, 2015) +Version: 0.3-dev BASIC USAGE *hackernews-usage* diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py index de085e5..97205d1 100644 --- a/ftplugin/hackernews.py +++ b/ftplugin/hackernews.py @@ -7,7 +7,7 @@ # Author: ryanss <ryanssdev@icloud.com> # Website: https://github.com/ryanss/vim-hackernews # License: MIT (see LICENSE file) -# Version: 0.2 (April 26, 2015) +# Version: 0.3-dev from __future__ import print_function diff --git a/ftplugin/hackernews.vim b/ftplugin/hackernews.vim index 9f190b4..ec07e94 100644 --- a/ftplugin/hackernews.vim +++ b/ftplugin/hackernews.vim @@ -5,7 +5,7 @@ " Author: ryanss <ryanssdev@icloud.com> " Website: https://github.com/ryanss/vim-hackernews " License: MIT (see LICENSE file) -" Version: 0.2 (April 26, 2015) +" Version: 0.3-dev if has('python') diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim index 57c5876..c4e060b 100644 --- a/plugin/hackernews.vim +++ b/plugin/hackernews.vim @@ -5,7 +5,7 @@ " Author: ryanss <ryanssdev@icloud.com> " Website: https://github.com/ryanss/vim-hackernews " License: MIT (see LICENSE file) -" Version: 0.2 (April 26, 2015) +" Version: 0.3-dev " Filetype plugins need to be enabled diff --git a/syntax/hackernews.vim b/syntax/hackernews.vim index 2560441..faa68af 100644 --- a/syntax/hackernews.vim +++ b/syntax/hackernews.vim @@ -5,7 +5,7 @@ " Author: ryanss <ryanssdev@icloud.com> " Website: https://github.com/ryanss/vim-hackernews " License: MIT (see LICENSE file) -" Version: 0.2 (April 26, 2015) +" Version: 0.3-dev if exists("b:current_syntax") @@ -45,8 +45,8 @@ syn match Comment /^\s*Comment\sby.\+ago:/ contains=Question syn region Constant start="\[http" end="\]" " Italics <i> tags -syn match Italics /\v<_\_.{-}_>/ -highlight Italics gui=italic +syn match Italic /\v<_\_.{-}(_>|^$)/ +highlight Italic gui=italic " Highlight code blocks syn region Statement start="^ " end="^ " diff --git a/tests.vader b/tests.vader index e540d6b..c9dd9f8 100644 --- a/tests.vader +++ b/tests.vader @@ -5,7 +5,7 @@ " Author: ryanss <ryanssdev@icloud.com> " Website: https://github.com/ryanss/vim-hackernews " License: MIT (see LICENSE file) -" Version: 0.2 (April 26, 2015) +" Version: 0.3-dev Execute (Test Plugin Loaded): AssertEqual 1, filereadable('doc/hackernews.txt') |
