jackyalcine 10 months ago
parent
commit
8f3eeff7b6
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D

+ 2
- 0
.editorconfig View File

@@ -0,0 +1,2 @@
1
+[*]
2
+line_length = 80

+ 10
- 39
README.markdown View File

@@ -1,45 +1,16 @@
1
-# Neovim Configuration
1
+# NeoVim Configuration
2 2
 
3 3
 ![My daily view.](./snapshot.png)
4 4
 
5
-This repository contains my setup for [Neovim][] and other Vim related
6
-projects like [Vimperator][] and [IdeaVIM][]. I've decided to move my development
7
-environment over to Neovim after reading [Greer's post][1] on the matter. This
8
-comes souped up with close to 80 (or more plugins) to enhance my development
9
-experience with a very short start time (~11ms on my [laptop][]). Whenever
10
-I make some changes, I update my [`startuptime.txt`](./startuptime.txt) file for
11
-reference.
5
+This repository contains the source code for my use of [NeoVim][]. I conventionally use the latest stable release of NeoVim
6
+on my [personal laptop][1]. The configuration is tweaked about bi-monthly with the following concerns in mind:
12 7
 
13
-I'm just going to make this simple little change for the lulz.
8
+* *Relevancy*: Plug-ins used should be up-to-date and work together out of the box (or loose coupling)
9
+* *Intuitive*: Using the editor should be more than using your system's plain text editor but a bit less than an IDE.
10
+* *Adaptive*: Load things when you need them and only then.
14 11
 
15
-## Plugin Manager
16
-The plugins I use are fetched by [vim-plug][]. This repository contains a setup
17
-script to ensure that Neovim is ready to roll with all of the expected plugins
18
-and dependencies intact.
12
+I keep a list of the plugins I use in the [snapshot file][2] for reproducible installs across machines.
19 13
 
20
-## Using This Project
21
-This repository is set up using [homesick][]. I recommend using that to easily
22
-clone and get these options up and running. From there, you'll need to install
23
-a few dependencies for this project. Run `neovim-install-dependencies` to get
24
-that setup. It'll add the Python virtual environments, expected Node packages,
25
-Ruby gems, Perl packages and a Rust component.
26
-
27
-When it comes to _really_ using this setup, I strongly recommend checking
28
-the source code. Send an issue or email if something doesn't make sense.
29
-
30
-### Support and Contributions
31
-
32
-I've noticed that people have taken a lean to use this configuration. I find
33
-that *super dope*! The thing is, I'm not going to fix issues that you might find
34
-while using this setup because I largely host it on Github for syndication
35
-across the multiple machines I work on (even the ephemeral ones). If I like your
36
-patch and it improves _my_ personal workflow as well, then I'll gladly accept
37
-it!
38
-
39
-[homesick]: https://github.com/technicalpickles/homesick
40
-[laptop]: https://jacky.wtf/gear/#laptop
41
-[neovim]: https://neovim.io
42
-[vim-plug]: https://github.com/junegunn/vim-plug
43
-[Vimperator]: http://vimperator.org/vimperator.html
44
-[IdeaVIM]: https://github.com/JetBrains/ideavim
45
-[1]: http://geoff.greer.fm/2015/01/15/why-neovim-is-better-than-vim/
14
+[neovim]: http://neovim.io/
15
+[1]: https://jacky.wtf/gear/#laptop
16
+[2]: ./home/.config/nvim/snapshot.vim

+ 1
- 0
home/.config/nvim/Gemfile View File

@@ -12,3 +12,4 @@ gem 'ripper-tags'
12 12
 gem 'language_server'
13 13
 gem 'reek'
14 14
 gem 'git-cop'
15
+gem 'mdl'

+ 11
- 1
home/.config/nvim/Gemfile.lock View File

@@ -22,10 +22,18 @@ GEM
22 22
       runcom (~> 1.3)
23 23
       thor (~> 0.20)
24 24
     ice_nine (0.11.2)
25
+    kramdown (1.17.0)
25 26
     language_server (0.6.0)
26 27
       language_server-protocol (= 0.3.0)
27 28
       rcodetools
28 29
     language_server-protocol (0.3.0)
30
+    mdl (0.5.0)
31
+      kramdown (~> 1.12, >= 1.12.0)
32
+      mixlib-cli (~> 1.7, >= 1.7.0)
33
+      mixlib-config (~> 2.2, >= 2.2.1)
34
+    mixlib-cli (1.7.0)
35
+    mixlib-config (2.2.13)
36
+      tomlrb
29 37
     msgpack (1.1.0)
30 38
     neovim (0.5.1)
31 39
       msgpack (~> 1.0)
@@ -59,6 +67,7 @@ GEM
59 67
       refinements (~> 4.2)
60 68
     thor (0.20.0)
61 69
     thread_safe (0.3.6)
70
+    tomlrb (1.2.7)
62 71
     tty-color (0.4.2)
63 72
     unicode-display_width (1.3.0)
64 73
     virtus (1.0.5)
@@ -75,6 +84,7 @@ DEPENDENCIES
75 84
   fastri
76 85
   git-cop
77 86
   language_server
87
+  mdl
78 88
   neovim
79 89
   rcodetools
80 90
   reek
@@ -83,4 +93,4 @@ DEPENDENCIES
83 93
   ruby-beautify
84 94
 
85 95
 BUNDLED WITH
86
-   1.16.0
96
+   1.16.5

+ 105
- 0
home/.config/nvim/bin/bundle View File

@@ -0,0 +1,105 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'bundle' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "rubygems"
12
+
13
+m = Module.new do
14
+    module_function
15
+
16
+  def invoked_as_script?
17
+    File.expand_path($0) == File.expand_path(__FILE__)
18
+  end
19
+
20
+  def env_var_version
21
+    ENV["BUNDLER_VERSION"]
22
+  end
23
+
24
+  def cli_arg_version
25
+    return unless invoked_as_script? # don't want to hijack other binstubs
26
+    return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update`
27
+    bundler_version = nil
28
+    update_index = nil
29
+    ARGV.each_with_index do |a, i|
30
+      if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
31
+        bundler_version = a
32
+      end
33
+      next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
34
+      bundler_version = $1 || ">= 0.a"
35
+      update_index = i
36
+    end
37
+    bundler_version
38
+  end
39
+
40
+  def gemfile
41
+    gemfile = ENV["BUNDLE_GEMFILE"]
42
+    return gemfile if gemfile && !gemfile.empty?
43
+
44
+    File.expand_path("../../Gemfile", __FILE__)
45
+  end
46
+
47
+  def lockfile
48
+    lockfile =
49
+      case File.basename(gemfile)
50
+      when "gems.rb" then gemfile.sub(/\.rb$/, gemfile)
51
+      else "#{gemfile}.lock"
52
+      end
53
+    File.expand_path(lockfile)
54
+  end
55
+
56
+  def lockfile_version
57
+    return unless File.file?(lockfile)
58
+    lockfile_contents = File.read(lockfile)
59
+    return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
60
+    Regexp.last_match(1)
61
+  end
62
+
63
+  def bundler_version
64
+    @bundler_version ||= begin
65
+      env_var_version || cli_arg_version ||
66
+        lockfile_version || "#{Gem::Requirement.default}.a"
67
+    end
68
+  end
69
+
70
+  def load_bundler!
71
+    ENV["BUNDLE_GEMFILE"] ||= gemfile
72
+
73
+    # must dup string for RG < 1.8 compatibility
74
+    activate_bundler(bundler_version.dup)
75
+  end
76
+
77
+  def activate_bundler(bundler_version)
78
+    if Gem::Version.correct?(bundler_version) && Gem::Version.new(bundler_version).release < Gem::Version.new("2.0")
79
+      bundler_version = "< 2"
80
+    end
81
+    gem_error = activation_error_handling do
82
+      gem "bundler", bundler_version
83
+    end
84
+    return if gem_error.nil?
85
+    require_error = activation_error_handling do
86
+      require "bundler/version"
87
+    end
88
+    return if require_error.nil? && Gem::Requirement.new(bundler_version).satisfied_by?(Gem::Version.new(Bundler::VERSION))
89
+    warn "Activating bundler (#{bundler_version}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_version}'`"
90
+    exit 42
91
+  end
92
+
93
+  def activation_error_handling
94
+    yield
95
+    nil
96
+  rescue StandardError, LoadError => e
97
+    e
98
+  end
99
+end
100
+
101
+m.load_bundler!
102
+
103
+if m.invoked_as_script?
104
+  load Gem.bin_path("bundler", "bundle")
105
+end

+ 29
- 0
home/.config/nvim/bin/code_climate_reek View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'code_climate_reek' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("reek", "code_climate_reek")

+ 29
- 0
home/.config/nvim/bin/fastri-server View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'fastri-server' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("fastri", "fastri-server")

+ 29
- 0
home/.config/nvim/bin/fri View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'fri' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("fastri", "fri")

+ 29
- 0
home/.config/nvim/bin/git-cop View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'git-cop' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("git-cop", "git-cop")

+ 29
- 0
home/.config/nvim/bin/kramdown View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'kramdown' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("kramdown", "kramdown")

+ 29
- 0
home/.config/nvim/bin/language_server-ruby View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'language_server-ruby' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("language_server", "language_server-ruby")

+ 29
- 0
home/.config/nvim/bin/mdl View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'mdl' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("mdl", "mdl")

+ 29
- 0
home/.config/nvim/bin/neovim-ruby-host View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'neovim-ruby-host' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("neovim", "neovim-ruby-host")

+ 29
- 0
home/.config/nvim/bin/qri View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'qri' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("fastri", "qri")

+ 29
- 0
home/.config/nvim/bin/rake View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'rake' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("rake", "rake")

+ 29
- 0
home/.config/nvim/bin/rbeautify View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'rbeautify' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("ruby-beautify", "rbeautify")

+ 29
- 0
home/.config/nvim/bin/rct-complete View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'rct-complete' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("rcodetools", "rct-complete")

+ 29
- 0
home/.config/nvim/bin/rct-doc View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'rct-doc' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("rcodetools", "rct-doc")

+ 29
- 0
home/.config/nvim/bin/rct-meth-args View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'rct-meth-args' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("rcodetools", "rct-meth-args")

+ 29
- 0
home/.config/nvim/bin/reek View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'reek' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("reek", "reek")

+ 29
- 0
home/.config/nvim/bin/ri-emacs View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'ri-emacs' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("fastri", "ri-emacs")

+ 29
- 0
home/.config/nvim/bin/ripper-tags View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'ripper-tags' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("ripper-tags", "ripper-tags")

+ 29
- 0
home/.config/nvim/bin/rubocop View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'rubocop' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("rubocop", "rubocop")

+ 29
- 0
home/.config/nvim/bin/ruby-beautify View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'ruby-beautify' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("ruby-beautify", "ruby-beautify")

+ 29
- 0
home/.config/nvim/bin/ruby-parse View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'ruby-parse' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("parser", "ruby-parse")

+ 29
- 0
home/.config/nvim/bin/ruby-rewrite View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'ruby-rewrite' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("parser", "ruby-rewrite")

+ 29
- 0
home/.config/nvim/bin/thor View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'thor' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("thor", "thor")

+ 29
- 0
home/.config/nvim/bin/xmpfilter View File

@@ -0,0 +1,29 @@
1
+#!/usr/bin/env ruby
2
+# frozen_string_literal: true
3
+
4
+#
5
+# This file was generated by Bundler.
6
+#
7
+# The application 'xmpfilter' is installed as part of a gem, and
8
+# this file is here to facilitate running it.
9
+#
10
+
11
+require "pathname"
12
+ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
13
+  Pathname.new(__FILE__).realpath)
14
+
15
+bundle_binstub = File.expand_path("../bundle", __FILE__)
16
+
17
+if File.file?(bundle_binstub)
18
+  if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
+    load(bundle_binstub)
20
+  else
21
+    abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
+Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
+  end
24
+end
25
+
26
+require "rubygems"
27
+require "bundler/setup"
28
+
29
+load Gem.bin_path("rcodetools", "xmpfilter")

+ 1
- 1
home/.config/nvim/ginit.vim View File

@@ -3,4 +3,4 @@
3 3
 " Description:   GUI specific tweaks.
4 4
 " Last Modified: 2018-01-03
5 5
 
6
-Guifont Fira\ Code
6
+set guifont=Fira\ Code:h9

+ 45
- 47
home/.config/nvim/init.vim View File

@@ -261,48 +261,47 @@ Plug 'tpope/vim-sensible'
261 261
 Plug 'tpope/vim-repeat'
262 262
 Plug 'tpope/vim-endwise'
263 263
 Plug 'tpope/vim-surround'
264
-Plug 'yggdroot/indentline'
265 264
 Plug 'tpope/vim-eunuch'
266 265
 Plug 'tpope/vim-speeddating'
267
-Plug 'tpope/vim-projectionist'
268
-Plug 'tpope/vim-scriptease'
266
+" Plug 'tpope/vim-projectionist'
267
+" Plug 'tpope/vim-scriptease'
269 268
 Plug 'tpope/vim-vinegar'
270
-Plug 'tpope/vim-rails'
269
+" Plug 'tpope/vim-rails'
271 270
 Plug 'janko-m/vim-test'
272 271
 Plug 'tpope/vim-dotenv'
273
-Plug 'mustache/vim-mustache-handlebars'
274
-Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] }
272
+" Plug 'mustache/vim-mustache-handlebars'
275 273
 Plug 'direnv/direnv.vim'
276 274
 Plug 'w0rp/ale'
277 275
 Plug 'RRethy/vim-illuminate'
278 276
 Plug 'wincent/terminus'
279
-Plug 'idanarye/vim-vebugger'
277
+" Plug 'idanarye/vim-vebugger'
280 278
 Plug 'Shougo/vimproc.vim', {'do' : 'make'}
281 279
 Plug 'tpope/vim-commentary'
282 280
       \ | Plug 'cbaumhardt/vim-commentary-boxed'
283 281
 Plug 'xolox/vim-misc'
284
-Plug 'xolox/vim-notes'
285 282
 Plug 'xolox/vim-shell'
286
-Plug 'vim-scripts/utl.vim'
287
-Plug 'bpstahlman/txtfmt'
283
+      \ | Plug 'xolox/vim-notes'
284
+      \ | Plug 'vim-scripts/utl.vim'
285
+      \ | Plug 'bpstahlman/txtfmt'
286
+      \ | Plug 'powerman/vim-plugin-AnsiEsc'
287
+      \ | Plug 'zhm/TagHighlight'
288 288
 Plug 'tpope/vim-fugitive'
289
-Plug 'tpope/vim-rhubarb'
290
-Plug 'tommcdo/vim-fubitive'
291
-Plug 'tommcdo/vim-fugitive-blame-ext'
289
+      \ | Plug 'tpope/vim-rhubarb'
290
+      \ | Plug 'tommcdo/vim-fubitive'
291
+      \ | Plug 'tommcdo/vim-fugitive-blame-ext'
292
+      \ | Plug 'int3/vim-extradite'
292 293
 Plug 'idanarye/vim-merginal'
293 294
 Plug 'mattn/gist-vim'
294
-Plug 'nkantar/ght.vim'
295
-Plug 'int3/vim-extradite'
296 295
 Plug 'bfrg/vim-cpp-modern'
297
-Plug 'junkblocker/patchreview-vim'
298
-Plug 'codegram/vim-codereview'
296
+" Plug 'junkblocker/patchreview-vim'
297
+" Plug 'codegram/vim-codereview'
299 298
 Plug 'MattesGroeger/vim-bookmarks'
300 299
 Plug 'chiel92/vim-autoformat'
301 300
 Plug 'editorconfig/editorconfig-vim'
302 301
 Plug 'embear/vim-localvimrc'
303 302
 Plug 'gabrielelana/vim-markdown'
304 303
 Plug 'jceb/vim-orgmode'
305
-Plug 'mattn/calendar-vim'
304
+" Plug 'mattn/calendar-vim'
306 305
 Plug 'vim-scripts/SyntaxRange'
307 306
 Plug 'mattn/webapi-vim'
308 307
 Plug 'mhinz/vim-signify'
@@ -320,51 +319,52 @@ Plug 'tmux-plugins/vim-tmux'
320 319
       \ | Plug 'tmux-plugins/vim-tmux-focus-events'
321 320
       \ | Plug 'MikeDacre/tmux-zsh-vim-titles'
322 321
 " NOTE: Used only with notes.
323
-Plug 'powerman/vim-plugin-AnsiEsc'
324
-Plug 'zhm/TagHighlight'
325 322
 Plug 'Shougo/echodoc.vim'
326 323
 Plug 'ludovicchabant/vim-gutentags'
327
-Plug 'sakhnik/nvim-gdb'
328
-Plug 'raghur/vim-ghost'
324
+" Plug 'sakhnik/nvim-gdb'
325
+" Plug 'raghur/vim-ghost'
329 326
 Plug 'majutsushi/tagbar'
330 327
 Plug 'airblade/vim-rooter'
331 328
 Plug 'raimondi/delimitmate'
332 329
 Plug 'godlygeek/tabular'
333
-Plug 'tweekmonster/startuptime.vim'
330
+Plug 'tweekmonster/startuptime.vim', { 'on': 'StartupTime' }
334 331
 Plug 'wakatime/vim-wakatime'
335 332
 Plug 'sheerun/vim-polyglot'
336 333
 Plug 'lambdalisue/vim-pyenv', { 'for': 'python' }
337 334
 Plug 'ekalinin/Dockerfile.vim'
338 335
 Plug 'HerringtonDarkholme/yats.vim'
339 336
 Plug 'tweekmonster/braceless.vim'
340
-Plug 'othree/es.next.syntax.vim'
341
-Plug 'othree/jspc.vim'
342
-Plug 'gorodinskiy/vim-coloresque'
337
+" Plug 'othree/es.next.syntax.vim'
338
+" Plug 'othree/jspc.vim'
343 339
 Plug 'kana/vim-textobj-user'
344
-Plug 'reedes/vim-pencil'
345
-Plug 'reedes/vim-textobj-sentence'
346
-Plug 'reedes/vim-textobj-quote'
347
-Plug 'reedes/vim-lexical'
348
-Plug 'reedes/vim-litecorrect'
340
+      \ | Plug 'reedes/vim-textobj-sentence'
341
+      \ | Plug 'reedes/vim-textobj-quote'
342
+      \ | Plug 'reedes/vim-pencil'
343
+      \ | Plug 'reedes/vim-lexical'
344
+      \ | Plug 'reedes/vim-litecorrect'
345
+
349 346
 Plug 'vim-scripts/dbext.vim'
347
+
350 348
 Plug 'ncm2/ncm2'
351
-Plug 'ncm2/ncm2-html-subscope'
352
-Plug 'ncm2/ncm2-markdown-subscope'
353
-Plug 'ncm2/ncm2-match-highlight'
354
-Plug 'ncm2/ncm2-bufword'
355
-Plug 'ncm2/ncm2-tern'
356
-Plug 'ncm2/ncm2-cssomni'
357
-Plug 'ncm2/ncm2-ultisnips'
358
-Plug 'ncm2/ncm2-tagprefix'
359
-Plug 'ncm2/ncm2-github'
360
-Plug 'ncm2/ncm2-path'
361
-Plug 'ncm2/nvim-typescript', { 
349
+      \ | Plug 'ncm2/ncm2-html-subscope'
350
+      \ | Plug 'ncm2/ncm2-markdown-subscope'
351
+      \ | Plug 'ncm2/ncm2-match-highlight'
352
+      \ | Plug 'ncm2/ncm2-bufword'
353
+      \ | Plug 'ncm2/ncm2-tern'
354
+      \ | Plug 'ncm2/ncm2-cssomni'
355
+      \ | Plug 'ncm2/ncm2-ultisnips'
356
+      \ | Plug 'ncm2/ncm2-tagprefix'
357
+      \ | Plug 'ncm2/ncm2-github'
358
+      \ | Plug 'ncm2/ncm2-path'
359
+      \ | Plug 'ncm2/nvim-typescript', { 
362 360
       \ 'do': 'bash ./install.sh'
363 361
       \ }
362
+
364 363
 Plug 'autozimu/LanguageClient-neovim', {
365 364
       \ 'branch': 'next',
366 365
       \ 'do': 'bash install.sh',
367 366
       \ }
367
+
368 368
 Plug 'terryma/vim-multiple-cursors'
369 369
 Plug 'davidhalter/jedi-vim', {'for': 'python'}
370 370
 Plug 'fisadev/vim-isort', {'for': 'python'}
@@ -374,9 +374,6 @@ Plug 'awetzel/elixir.nvim', {
374 374
       \ 'do': 'yes \| ./install.sh',
375 375
       \ 'for': 'elixir'
376 376
       \ }
377
-Plug 'JakeBecker/elixir-ls', {
378
-      \ 'do' : 'mix do deps.get, deps.compile, compile, elixir_ls.release -o ' . vimrc_root . '/bin',
379
-      \ }
380 377
 Plug 'roxma/LanguageServer-php-neovim',  {
381 378
       \ 'do': 'phpenv exec composer install && composer run-script parse-stubs'
382 379
       \ }
@@ -386,7 +383,7 @@ Plug 'roxma/vim-tmux-clipboard'
386 383
 Plug 'mhinz/vim-startify'
387 384
 Plug 'junegunn/goyo.vim'
388 385
 Plug 'junegunn/limelight.vim'
389
-Plug 'ryanoasis/vim-devicons'
386
+" Plug 'ryanoasis/vim-devicons'
390 387
 
391 388
 call plug#end()
392 389
 " }}}
@@ -751,6 +748,7 @@ call <SID>apply_bulk_mappings([
751 748
       \ ['C', ':Gcommit --branch --verbose %<CR>'],
752 749
       \ ['co', ':Git checkout<space>'],
753 750
       \ ['cO', ':Git checkout HEAD -- %<CR>'],
751
+      \ ['e', ':Extradite'],
754 752
       \ ['f', ':Git fetch<space>'],
755 753
       \ ['fa', ':Git fetch --all<CR>'],
756 754
       \ ['p', ':Git push<space>'],
@@ -883,7 +881,7 @@ augroup vimrc-langsupport
883 881
   au FileType *                    nested call s:langclient_start_for_ft("<amatch>")
884 882
   au FileType css                  nested setl omnifunc=csscomplete#CompleteCSS noci
885 883
   au FileType markdown,mkd,txtfmt  nested call s:enhance_prose()
886
-  au FileType yaml,python          nested BracelessEnable +indent +fold +highlight
884
+  au FileType yaml,python          nested BracelessEnable +indent
887 885
   au FileType quickfix,loclist     nested call s:adapt_terminal()
888 886
 augroup END
889 887
 

+ 5
- 0
home/.local/bin/neovim-install-dependencies View File

@@ -44,6 +44,11 @@ install_perl ()
44 44
   plenv exec carton install
45 45
 }
46 46
 
47
+install_elixir ()
48
+{
49
+  # TODO: Install elixir language client server here.
50
+}
51
+
47 52
 __ScriptVersion="2017-12-24"
48 53
 
49 54
 #===  FUNCTION  ================================================================

+ 2
- 2
home/.vimrc_background View File

@@ -1,3 +1,3 @@
1
-if !exists('g:colors_name') || g:colors_name != 'base16-irblack'
2
-  colorscheme base16-irblack
1
+if !exists('g:colors_name') || g:colors_name != 'base16-tomorrow-night'
2
+  colorscheme base16-tomorrow-night
3 3
 endif

Loading…
Cancel
Save