soywiki 0.7.7 → 0.7.8

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/soywiki.rb +1 -1
  2. data/lib/soywiki.vim +2 -1
  3. metadata +2 -2
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
 
3
3
  module Soywiki
4
- VERSION = '0.7.7'
4
+ VERSION = '0.7.8'
5
5
  WIKI_WORD = /\b([a-z][\w_]+\.)?[A-Z][a-z]+[A-Z]\w*\b/
6
6
  HYPERLINK = %r|\bhttps?://[^ >)\n\]]+|
7
7
 
data/lib/soywiki.vim CHANGED
@@ -630,7 +630,8 @@ endfunc
630
630
  " and then turns on syntax coloring and mappings as necessary
631
631
  func! s:prep_buffer()
632
632
  if (s:is_wiki_page() && !exists("b:mappings_loaded"))
633
- set textwidth=72
633
+ " let user decide on the textwidth
634
+ set filetype=txt
634
635
  nnoremap <buffer> <cr> :call <SID>follow_link_under_cursor(0)<cr>
635
636
  nnoremap <buffer> <c-l> :call <SID>follow_link_under_cursor(2)<cr>
636
637
  nnoremap <buffer> <c-h> :call <SID>follow_link_under_cursor(1)<cr>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: soywiki
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.7
5
+ version: 0.7.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-07 00:00:00 -04:00
13
+ date: 2011-07-14 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16