karottenreibe-vim-syntax 0.1.0 → 0.1.1

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/HISTORY.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ 0.1.1
2
+ =====
3
+
4
+ * fixed bug with commands starting with numbers
5
+
1
6
  0.1.0
2
7
  =====
3
8
 
data/Rakefile CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'jeweler'
2
2
 
3
3
  task :release do
4
+ sh "git commit -a; true"
4
5
  sh "vim HISTORY.markdown"
5
6
  sh "vim README.markdown"
6
7
  sh "git commit -a -m 'prerelease adjustments'; true"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/lib/vim-syntax.rb CHANGED
@@ -25,7 +25,7 @@ class VimTokenizer < Syntax::Tokenizer
25
25
  start_group(:comment, comment)
26
26
  elsif string = scan(%r{"[^"]*?"|'[^']*?'})
27
27
  start_group(:string, string)
28
- elsif number = scan(%r{\d+})
28
+ elsif number = scan(%r{\d+\b})
29
29
  start_group(:number, number)
30
30
  elsif key = scan(%r{<[^<]+>})
31
31
  start_group(:key, key)
data/vim-syntax.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{vim-syntax}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Fabian Streitel"]
12
- s.date = %q{2009-08-05}
12
+ s.date = %q{2009-08-08}
13
13
  s.description = %q{A simple (!) extension to the syntax gem, that allows you to highlight vim syntax.}
14
14
  s.email = %q{karottenreibe@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karottenreibe-vim-syntax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Streitel
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-05 00:00:00 -07:00
12
+ date: 2009-08-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency