nvim 1.12 → 1.13

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c052fb6e9b32c5b7d72efcb523ecf47bb6891601e5b9449af145dd721e3f2b7
4
- data.tar.gz: 49542a93fe4a187db4017b71e1ba035e4656f5a0a1770287093807ce23b1dbed
3
+ metadata.gz: 3fa0b55ca015155ce4b01c07c151deec0c3945b3d5733ec70afe8a915f5dc6fe
4
+ data.tar.gz: f8ac70647ad393bbd19eb6517ce36f2920e4a874c1646c370865cae2990582e3
5
5
  SHA512:
6
- metadata.gz: f23fa9ffa562a5f6bb89230c6503d29b9fab7a4c59be66063f0136907618585c3b5dd6a6dadab4f65f1044117e07e4bec17706029367e7a82d930746316efd3f
7
- data.tar.gz: feea95a8822ad8d363e3d4110a9bc4e141ac899b31399613b13c382ebbd7d8a1572c516e3154ee791743a210238f7ab886a011fcbc7ca8dc039ce6e0ebf461d3
6
+ metadata.gz: ad469a43c613193dd78fa23b18fb43aefed8d380ce43d3415ebb645a6c4414555436964ab6c2c122bea7b5e795fb3863dc8a5df12e361448527dd6a3551516a9
7
+ data.tar.gz: 0e539c2122399016f1e396aef2f7592b20632b75642574d710d93bdc0f6d18074aa8dd1f1a6e6b226bc663880764a5262d80c6ebca4bed93f6b399dafee83eca
data/INFO.yaml CHANGED
@@ -3,7 +3,7 @@
3
3
  #
4
4
 
5
5
  nvim:
6
- version: "1.12"
6
+ version: "1.13"
7
7
  license: BSD-2-Clause+
8
8
  authors:
9
9
  - Bertram Scharpf
data/README.md CHANGED
@@ -284,7 +284,7 @@ The legacy variables `$curbuf` and `$curwin` are supported.
284
284
  ```
285
285
 
286
286
 
287
- ### Visit and changes lines by :rubydo
287
+ ### Visit and change lines by :rubydo
288
288
 
289
289
  The `$_` and `$.` variables contain the line itself and the line number.
290
290
  `$_` may be changed or assigned to.
data/lib/neovim/info.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require "neovim/meta.rb"
2
2
  Neovim::INFO = Neovim::Meta.new "nvim",
3
- version: "1.12",
3
+ version: "1.13",
4
4
  license: "BSD-2-Clause+",
5
5
  authors: ["Bertram Scharpf"],
6
6
  email: "software@bertram-scharpf.de",
7
7
  summary: "Yet another Ruby client for Neovim",
8
8
  description: "A simple Ruby client for Neovim.\nClean code, minimal dependecies, no frills, no wokeness.",
9
9
  homepage: "https://github.com/BertramScharpf/ruby-nvim",
10
- commit: "b12ec0b"
10
+ commit: "110ccd3"
data/lib/neovim/output.rb CHANGED
@@ -137,18 +137,14 @@ module Neovim
137
137
  end
138
138
 
139
139
  class WriteBuf < WriteStd
140
- def initialize *args, whole: nil, top: nil
140
+ def initialize *args, follow: nil
141
141
  super
142
142
  @lines = []
143
- @whole, @top = whole, top
143
+ @follow = follow.to_bool
144
144
  end
145
145
  def finish
146
146
  super
147
- if @whole then
148
- @client.buf_set_lines 0, 0, -1, true, @lines
149
- else
150
- @client.put @lines, "l", true, !@top
151
- end
147
+ @client.put @lines, "l", @follow, @follow
152
148
  end
153
149
  private
154
150
  def write_line l
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nvim
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.12'
4
+ version: '1.13'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
- rubygems_version: 3.6.9
82
+ rubygems_version: 3.7.1
83
83
  specification_version: 4
84
84
  summary: Yet another Ruby client for Neovim
85
85
  test_files: []