nvim 1.14 → 1.14.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.
- checksums.yaml +4 -4
- data/INFO.yaml +1 -1
- data/README.md +1 -1
- data/lib/neovim/client.rb +2 -1
- data/lib/neovim/info.rb +2 -2
- data/lib/neovim/remote_object.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4df34be40dc780445a8534b01d98c59ad0bc0ab05da727e2f40d8a95c74f765c
|
|
4
|
+
data.tar.gz: 665cf4edbaee51945bf2940dcb2a1123bf79009bef29b8335d4e965206cb2c70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62589684b7ea686899543001bd5f9e27566c1464e7ffda212ac2d4ad1f383bf4386fecaa3e3626844c9cb025bdc9eab1ed3276cf889eb82bfab85c7d2efef8c3
|
|
7
|
+
data.tar.gz: 636cc302ddefadd6e9c4daa7b807da7b0254eec09804ca0b3efd9c5b32228db0901a10a7d25683c3b046f81408cf6685c2c3f4c00a78086756b3e04c7fc10272
|
data/INFO.yaml
CHANGED
data/README.md
CHANGED
|
@@ -310,7 +310,7 @@ values will be converted by `#to_s`.
|
|
|
310
310
|
### Requiring Ruby files
|
|
311
311
|
|
|
312
312
|
In addition to the `:rubyfile` command as documented, that command can also be
|
|
313
|
-
used to just require a Ruby file.
|
|
313
|
+
used to just require a Ruby file. Put the name into angle brackets, and the
|
|
314
314
|
file will be searched in `$:`. Sorry, file name completion will not work.
|
|
315
315
|
|
|
316
316
|
```
|
data/lib/neovim/client.rb
CHANGED
|
@@ -161,8 +161,9 @@ module Neovim
|
|
|
161
161
|
def map!
|
|
162
162
|
if block_given? then
|
|
163
163
|
each do |l|
|
|
164
|
+
h = l.hash
|
|
164
165
|
m = yield l, @i
|
|
165
|
-
if m != l then
|
|
166
|
+
if m.hash != h or m != l then
|
|
166
167
|
r = Neovim.result_lines m
|
|
167
168
|
@client.buf_set_lines @buffer, @i-1, @i, true, r
|
|
168
169
|
inc = r.length - 1
|
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.14",
|
|
3
|
+
version: "1.14.1",
|
|
4
4
|
license: "LicenseRef-BSD-2-Clause-and-DECENT_LANGUAGE",
|
|
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: "
|
|
10
|
+
commit: "5b9a1c2"
|
data/lib/neovim/remote_object.rb
CHANGED
|
@@ -206,8 +206,9 @@ module Neovim
|
|
|
206
206
|
if block_given? then
|
|
207
207
|
iter_chunks pos, len do |l|
|
|
208
208
|
n = l.length
|
|
209
|
+
h = l.hash
|
|
209
210
|
m = l.map &block
|
|
210
|
-
if m != l then
|
|
211
|
+
if m.hash != h or m != l then
|
|
211
212
|
r = Neovim.result_lines m
|
|
212
213
|
set_lines @fst, @fst+n, true, r
|
|
213
214
|
inc = r.length - n
|