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 +4 -4
- data/INFO.yaml +1 -1
- data/README.md +1 -1
- data/lib/neovim/info.rb +2 -2
- data/lib/neovim/output.rb +3 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fa0b55ca015155ce4b01c07c151deec0c3945b3d5733ec70afe8a915f5dc6fe
|
4
|
+
data.tar.gz: f8ac70647ad393bbd19eb6517ce36f2920e4a874c1646c370865cae2990582e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad469a43c613193dd78fa23b18fb43aefed8d380ce43d3415ebb645a6c4414555436964ab6c2c122bea7b5e795fb3863dc8a5df12e361448527dd6a3551516a9
|
7
|
+
data.tar.gz: 0e539c2122399016f1e396aef2f7592b20632b75642574d710d93bdc0f6d18074aa8dd1f1a6e6b226bc663880764a5262d80c6ebca4bed93f6b399dafee83eca
|
data/INFO.yaml
CHANGED
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
|
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.
|
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: "
|
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,
|
140
|
+
def initialize *args, follow: nil
|
141
141
|
super
|
142
142
|
@lines = []
|
143
|
-
@
|
143
|
+
@follow = follow.to_bool
|
144
144
|
end
|
145
145
|
def finish
|
146
146
|
super
|
147
|
-
|
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.
|
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.
|
82
|
+
rubygems_version: 3.7.1
|
83
83
|
specification_version: 4
|
84
84
|
summary: Yet another Ruby client for Neovim
|
85
85
|
test_files: []
|