vnews 0.3.9 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vnews.vim +4 -4
- data/lib/vnews/version.rb +1 -1
- metadata +4 -4
data/lib/vnews.vim
CHANGED
|
@@ -273,18 +273,18 @@ func! s:show_item_under_cursor(inc_read_count)
|
|
|
273
273
|
return
|
|
274
274
|
end
|
|
275
275
|
" mark as read
|
|
276
|
-
|
|
276
|
+
setlocal modifiable
|
|
277
277
|
let newline = substitute(getline('.'), '^+', ' ', '')
|
|
278
278
|
call setline(line('.'), newline)
|
|
279
|
-
|
|
279
|
+
setlocal nomodifiable
|
|
280
280
|
let res = system(s:show_item_command . shellescape( s:guid) . ' '. ( a:inc_read_count ? "1" : "" ) )
|
|
281
281
|
call s:focus_window(s:itembufnr)
|
|
282
|
-
|
|
282
|
+
setlocal modifiable
|
|
283
283
|
silent 1,$delete
|
|
284
284
|
silent put =res
|
|
285
285
|
silent 1delete
|
|
286
286
|
silent normal 1Gjk
|
|
287
|
-
|
|
287
|
+
setlocal nomodifiable
|
|
288
288
|
syntax clear
|
|
289
289
|
exe "syn match Constant /". s:http_link_pattern . "/"
|
|
290
290
|
endfunc
|
data/lib/vnews/version.rb
CHANGED
metadata
CHANGED
|
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
|
4
4
|
prerelease: false
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
version: 0.
|
|
7
|
+
- 4
|
|
8
|
+
- 0
|
|
9
|
+
version: 0.4.0
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Daniel Choi
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-03-07 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|