command-t 1.13 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.txt +209 -67
  4. data/Rakefile +47 -57
  5. data/doc/command-t.txt +209 -67
  6. data/doc/tags +9 -0
  7. data/plugin/command-t.vim +22 -13
  8. data/ruby/command-t.rb +7 -2
  9. data/ruby/command-t/Makefile +32 -32
  10. data/ruby/command-t/controller.rb +33 -25
  11. data/ruby/command-t/depend +1 -1
  12. data/ruby/command-t/ext.bundle +0 -0
  13. data/ruby/command-t/ext.c +1 -1
  14. data/ruby/command-t/ext.h +1 -1
  15. data/ruby/command-t/extconf.rb +1 -1
  16. data/ruby/command-t/finder.rb +7 -1
  17. data/ruby/command-t/finder/buffer_finder.rb +5 -1
  18. data/ruby/command-t/finder/file_finder.rb +5 -1
  19. data/ruby/command-t/finder/jump_finder.rb +5 -1
  20. data/ruby/command-t/finder/mru_buffer_finder.rb +5 -1
  21. data/ruby/command-t/finder/tag_finder.rb +5 -1
  22. data/ruby/command-t/match.c +5 -2
  23. data/ruby/command-t/match.h +2 -1
  24. data/ruby/command-t/match_window.rb +36 -21
  25. data/ruby/command-t/matcher.c +12 -2
  26. data/ruby/command-t/matcher.h +1 -1
  27. data/ruby/command-t/metadata/fallback.rb +12 -0
  28. data/ruby/command-t/mru.rb +1 -1
  29. data/ruby/command-t/path_utilities.rb +1 -1
  30. data/ruby/command-t/prompt.rb +7 -6
  31. data/ruby/command-t/ruby_compat.h +1 -1
  32. data/ruby/command-t/scanner.rb +1 -1
  33. data/ruby/command-t/scanner/buffer_scanner.rb +1 -1
  34. data/ruby/command-t/scanner/file_scanner.rb +1 -4
  35. data/ruby/command-t/scanner/file_scanner/find_file_scanner.rb +1 -1
  36. data/ruby/command-t/scanner/file_scanner/git_file_scanner.rb +1 -1
  37. data/ruby/command-t/scanner/file_scanner/ruby_file_scanner.rb +3 -1
  38. data/ruby/command-t/scanner/file_scanner/watchman_file_scanner.rb +1 -1
  39. data/ruby/command-t/scanner/jump_scanner.rb +1 -1
  40. data/ruby/command-t/scanner/mru_buffer_scanner.rb +1 -1
  41. data/ruby/command-t/scanner/tag_scanner.rb +1 -1
  42. data/ruby/command-t/scm_utilities.rb +1 -1
  43. data/ruby/command-t/settings.rb +2 -1
  44. data/ruby/command-t/stub.rb +1 -1
  45. data/ruby/command-t/util.rb +1 -1
  46. data/ruby/command-t/vim.rb +3 -3
  47. data/ruby/command-t/vim/screen.rb +1 -1
  48. data/ruby/command-t/vim/window.rb +1 -1
  49. data/ruby/command-t/watchman.c +1 -1
  50. data/ruby/command-t/watchman.h +1 -1
  51. metadata +3 -4
  52. data/ruby/command-t/metadata.rb +0 -8
  53. data/ruby/command-t/scanner/file_scanner/file_limit_exceeded.rb +0 -10
@@ -1,4 +1,4 @@
1
- # Copyright 2010-2014 Greg Hurrell. All rights reserved.
1
+ # Copyright 2010-present Greg Hurrell. All rights reserved.
2
2
  # Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  module CommandT
@@ -28,6 +28,7 @@ module CommandT
28
28
  concealcursor
29
29
  conceallevel
30
30
  cursorline
31
+ filetype
31
32
  foldcolumn
32
33
  foldlevel
33
34
  list
@@ -1,4 +1,4 @@
1
- # Copyright 2010-2014 Greg Hurrell. All rights reserved.
1
+ # Copyright 2010-present Greg Hurrell. All rights reserved.
2
2
  # Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  module CommandT
@@ -1,4 +1,4 @@
1
- # Copyright 2013-2014 Greg Hurrell. All rights reserved.
1
+ # Copyright 2013-present Greg Hurrell. All rights reserved.
2
2
  # Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  require 'rbconfig'
@@ -1,4 +1,4 @@
1
- # Copyright 2010-2014 Greg Hurrell. All rights reserved.
1
+ # Copyright 2010-present Greg Hurrell. All rights reserved.
2
2
  # Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  module CommandT
@@ -26,8 +26,8 @@ module CommandT
26
26
  exists?(name) ? ::VIM::evaluate("#{name}").to_i : nil
27
27
  end
28
28
 
29
- def get_bool(name)
30
- exists?(name) ? ::VIM::evaluate("#{name}").to_i != 0 : nil
29
+ def get_bool(name, default = nil)
30
+ exists?(name) ? ::VIM::evaluate("#{name}").to_i != 0 : default
31
31
  end
32
32
 
33
33
  def get_string(name)
@@ -1,4 +1,4 @@
1
- # Copyright 2010-2014 Greg Hurrell. All rights reserved.
1
+ # Copyright 2010-present Greg Hurrell. All rights reserved.
2
2
  # Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  module CommandT
@@ -1,4 +1,4 @@
1
- # Copyright 2010-2014 Greg Hurrell. All rights reserved.
1
+ # Copyright 2010-present Greg Hurrell. All rights reserved.
2
2
  # Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  module CommandT
@@ -1,4 +1,4 @@
1
- // Copyright 2014 Greg Hurrell. All rights reserved.
1
+ // Copyright 2014-present Greg Hurrell. All rights reserved.
2
2
  // Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  #include "watchman.h"
@@ -1,4 +1,4 @@
1
- // Copyright 2014 Greg Hurrell. All rights reserved.
1
+ // Copyright 2014-present Greg Hurrell. All rights reserved.
2
2
  // Licensed under the terms of the BSD 2-clause license.
3
3
 
4
4
  #include <ruby.h>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: command-t
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.13'
4
+ version: '2.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Hurrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-29 00:00:00.000000000 Z
11
+ date: 2015-12-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Command-T provides a fast, intuitive mechanism for opening files with a
@@ -43,13 +43,12 @@ files:
43
43
  - ruby/command-t/match_window.rb
44
44
  - ruby/command-t/matcher.c
45
45
  - ruby/command-t/matcher.h
46
- - ruby/command-t/metadata.rb
46
+ - ruby/command-t/metadata/fallback.rb
47
47
  - ruby/command-t/mru.rb
48
48
  - ruby/command-t/path_utilities.rb
49
49
  - ruby/command-t/prompt.rb
50
50
  - ruby/command-t/ruby_compat.h
51
51
  - ruby/command-t/scanner/buffer_scanner.rb
52
- - ruby/command-t/scanner/file_scanner/file_limit_exceeded.rb
53
52
  - ruby/command-t/scanner/file_scanner/find_file_scanner.rb
54
53
  - ruby/command-t/scanner/file_scanner/git_file_scanner.rb
55
54
  - ruby/command-t/scanner/file_scanner/ruby_file_scanner.rb
@@ -1,8 +0,0 @@
1
- # This file was generated by extconf.rb
2
- module CommandT
3
- module Metadata
4
- EXPECTED_RUBY_VERSION = "2.0.0"
5
- EXPECTED_RUBY_PATCHLEVEL = 481
6
- UNKNOWN = false
7
- end # module Metadata
8
- end # module CommandT
@@ -1,10 +0,0 @@
1
- # Copyright 2014 Greg Hurrell. All rights reserved.
2
- # Licensed under the terms of the BSD 2-clause license.
3
-
4
- module CommandT
5
- class Scanner
6
- class FileScanner
7
- FileLimitExceeded = Class.new(::RuntimeError)
8
- end # class FileScanner
9
- end # class Scanner
10
- end # module Command-T