vnews 0.3.9 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/vnews.vim +4 -4
  2. data/lib/vnews/version.rb +1 -1
  3. metadata +4 -4
@@ -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
- set modifiable
276
+ setlocal modifiable
277
277
  let newline = substitute(getline('.'), '^+', ' ', '')
278
278
  call setline(line('.'), newline)
279
- set nomodifiable
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
- set modifiable
282
+ setlocal modifiable
283
283
  silent 1,$delete
284
284
  silent put =res
285
285
  silent 1delete
286
286
  silent normal 1Gjk
287
- set nomodifiable
287
+ setlocal nomodifiable
288
288
  syntax clear
289
289
  exe "syn match Constant /". s:http_link_pattern . "/"
290
290
  endfunc
@@ -1,4 +1,4 @@
1
1
  class Vnews
2
- VERSION = '0.3.9'
2
+ VERSION = '0.4.0'
3
3
  end
4
4
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- - 9
9
- version: 0.3.9
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-02-28 00:00:00 -05:00
17
+ date: 2011-03-07 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency