neovim 0.6.2 → 0.9.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/docs.yml +36 -0
- data/.github/workflows/linter.yml +32 -0
- data/.github/workflows/tests.yml +62 -0
- data/.gitignore +5 -1
- data/.rubocop.yml +149 -0
- data/CHANGELOG.md +56 -0
- data/CODE_OF_CONDUCT.md +3 -3
- data/Gemfile +0 -11
- data/README.md +22 -23
- data/Rakefile +47 -15
- data/VimFlavor +1 -0
- data/exe/neovim-ruby-host +5 -0
- data/lib/neovim.rb +15 -6
- data/lib/neovim/api.rb +2 -1
- data/lib/neovim/buffer.rb +81 -53
- data/lib/neovim/client.rb +226 -41
- data/lib/neovim/client_info.rb +46 -0
- data/lib/neovim/connection.rb +73 -0
- data/lib/neovim/event_loop.rb +41 -37
- data/lib/neovim/executable.rb +1 -0
- data/lib/neovim/host.rb +50 -51
- data/lib/neovim/host/cli.rb +41 -0
- data/lib/neovim/host/loader.rb +1 -4
- data/lib/neovim/line_range.rb +16 -16
- data/lib/neovim/logging.rb +18 -18
- data/lib/neovim/message.rb +70 -0
- data/lib/neovim/plugin.rb +7 -5
- data/lib/neovim/plugin/dsl.rb +10 -4
- data/lib/neovim/plugin/handler.rb +8 -8
- data/lib/neovim/remote_object.rb +8 -5
- data/lib/neovim/ruby_provider.rb +52 -26
- data/lib/neovim/ruby_provider/buffer_ext.rb +1 -0
- data/lib/neovim/ruby_provider/object_ext.rb +5 -0
- data/lib/neovim/ruby_provider/vim.rb +19 -6
- data/lib/neovim/ruby_provider/window_ext.rb +1 -0
- data/lib/neovim/session.rb +45 -50
- data/lib/neovim/tabpage.rb +8 -15
- data/lib/neovim/version.rb +1 -1
- data/lib/neovim/window.rb +39 -36
- data/neovim.gemspec +11 -6
- data/script/ci/download_nvim.sh +40 -0
- data/script/{dump_api → dump_api.rb} +1 -1
- data/script/{generate_docs → generate_docs.rb} +6 -7
- data/script/{j2mp → j2mp.rb} +0 -0
- data/script/{mp2j → mp2j.rb} +0 -0
- data/script/run_acceptance.rb +39 -0
- data/spec/acceptance/client_info_spec.vim +42 -0
- data/spec/acceptance/rplugin_autocmd_spec.vim +20 -10
- data/spec/acceptance/rplugin_command_spec.vim +54 -56
- data/spec/acceptance/rplugin_function_spec.vim +28 -22
- data/spec/acceptance/ruby_spec.vim +52 -53
- data/spec/acceptance/rubydo_spec.vim +49 -52
- data/spec/acceptance/rubyeval_spec.vim +22 -0
- data/spec/acceptance/rubyfile/curbuf_ivar_get.rb +1 -1
- data/spec/acceptance/rubyfile/curbuf_ivar_set.rb +1 -1
- data/spec/acceptance/rubyfile/define_foo.rb +1 -1
- data/spec/acceptance/rubyfile/nested.rb +1 -1
- data/spec/acceptance/rubyfile/nested_inner.rb +1 -1
- data/spec/acceptance/rubyfile/set_pwd_after.rb +1 -1
- data/spec/acceptance/rubyfile/set_pwd_before.rb +1 -1
- data/spec/acceptance/rubyfile_spec.vim +60 -66
- data/spec/acceptance/runtime/init.vim +5 -4
- data/spec/acceptance/runtime/rplugin/ruby/autocmds.rb +7 -3
- data/spec/acceptance/runtime/rplugin/ruby/commands.rb +18 -17
- data/spec/acceptance/runtime/rplugin/ruby/functions.rb +9 -9
- data/spec/helper.rb +38 -9
- data/spec/neovim/api_spec.rb +2 -2
- data/spec/neovim/buffer_spec.rb +10 -6
- data/spec/neovim/client_info_spec.rb +77 -0
- data/spec/neovim/client_spec.rb +19 -12
- data/spec/neovim/connection_spec.rb +106 -0
- data/spec/neovim/current_spec.rb +13 -14
- data/spec/neovim/event_loop_spec.rb +48 -46
- data/spec/neovim/executable_spec.rb +2 -2
- data/spec/neovim/host/cli_spec.rb +94 -0
- data/spec/neovim/host/loader_spec.rb +18 -11
- data/spec/neovim/host_spec.rb +84 -92
- data/spec/neovim/line_range_spec.rb +17 -19
- data/spec/neovim/logging_spec.rb +3 -3
- data/spec/neovim/message_spec.rb +119 -0
- data/spec/neovim/plugin_spec.rb +34 -34
- data/spec/neovim/remote_object_spec.rb +1 -2
- data/spec/neovim/ruby_provider/buffer_ext_spec.rb +8 -9
- data/spec/neovim/ruby_provider/object_ext_spec.rb +10 -0
- data/spec/neovim/ruby_provider/vim_spec.rb +5 -5
- data/spec/neovim/ruby_provider/window_ext_spec.rb +12 -15
- data/spec/neovim/session_spec.rb +20 -47
- data/spec/neovim/window_spec.rb +1 -2
- data/spec/neovim_spec.rb +28 -51
- data/spec/support.rb +27 -1
- metadata +83 -48
- data/.coveralls.yml +0 -1
- data/.gitmodules +0 -3
- data/.rspec +0 -1
- data/.travis.yml +0 -23
- data/appveyor.yml +0 -21
- data/bin/neovim-ruby-host +0 -18
- data/lib/neovim/event_loop/connection.rb +0 -78
- data/lib/neovim/event_loop/message_builder.rb +0 -127
- data/lib/neovim/event_loop/serializer.rb +0 -37
- data/spec/acceptance/runtime/rplugin.vim +0 -37
- data/spec/acceptance/runtime/vader.vim/autoload/vader.vim +0 -348
- data/spec/acceptance/runtime/vader.vim/autoload/vader/assert.vim +0 -116
- data/spec/acceptance/runtime/vader.vim/autoload/vader/helper.vim +0 -43
- data/spec/acceptance/runtime/vader.vim/autoload/vader/parser.vim +0 -179
- data/spec/acceptance/runtime/vader.vim/autoload/vader/syntax.vim +0 -73
- data/spec/acceptance/runtime/vader.vim/autoload/vader/window.vim +0 -205
- data/spec/acceptance/runtime/vader.vim/plugin/vader.vim +0 -37
- data/spec/acceptance_spec.rb +0 -82
- data/spec/neovim/event_loop/connection_spec.rb +0 -89
- data/spec/neovim/event_loop/message_builder_spec.rb +0 -105
- data/spec/neovim/event_loop/serializer_spec.rb +0 -63
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9b1d22feedf4011597b4ef37233dbc13f1f874fa7bb03986d21a4e1cbe0d3f21
|
4
|
+
data.tar.gz: 63f008322d89124368e2d3c556dd14e8734874d9ffd7c96ef77556efeda69b5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 556a087351aee954365afc96f6f57bc4f47bab4dd0333db4d8a55025c578068275b91186d6509a7b160faa20a8863be72aaa09866dcc604490a1aaf92e26c6c5
|
7
|
+
data.tar.gz: 23dbec9563bae88cdd3ed4315c1f1ff36cfdc2446b438c162da1633cd0e5e40b1f0f1f92d8a2d457c80b8b9e73ef6ad84bcb9d18870aab91a73a2bf053743dfd
|
@@ -0,0 +1,36 @@
|
|
1
|
+
name: Docs
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: [master]
|
5
|
+
schedule:
|
6
|
+
- cron: '0 0 * * 0'
|
7
|
+
jobs:
|
8
|
+
docs:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v2
|
13
|
+
with:
|
14
|
+
repository: neovim/neovim-ruby
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: head
|
18
|
+
- name: Bundle install
|
19
|
+
run: |
|
20
|
+
bundle config set path vendor/bundle
|
21
|
+
bundle install --jobs 3 --retry 3
|
22
|
+
- name: Install Neovim
|
23
|
+
env:
|
24
|
+
BUILD: latest
|
25
|
+
run: bundle exec rake ci:download_nvim
|
26
|
+
- name: Generate docs
|
27
|
+
env:
|
28
|
+
NVIM_EXECUTABLE: "_nvim/bin/nvim"
|
29
|
+
run: bundle exec rake docs:generate
|
30
|
+
- name: Open pull request
|
31
|
+
uses: peter-evans/create-pull-request@v2
|
32
|
+
with:
|
33
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
34
|
+
commit-message: "[skip ci] Update generated docs"
|
35
|
+
author: Docs Workflow <noreply@github.com>
|
36
|
+
title: "Update generated docs"
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: Linter
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: [master]
|
5
|
+
pull_request:
|
6
|
+
branches: [master]
|
7
|
+
jobs:
|
8
|
+
linter:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v2
|
13
|
+
with:
|
14
|
+
repository: neovim/neovim-ruby
|
15
|
+
- uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: head
|
18
|
+
- name: Cache checksum
|
19
|
+
run: |
|
20
|
+
openssl md5 Gemfile neovim.gemspec > /tmp/checksum.txt
|
21
|
+
- uses: actions/cache@v1
|
22
|
+
with:
|
23
|
+
path: vendor/bundle
|
24
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('/tmp/checksum.txt') }}
|
25
|
+
restore-keys: |
|
26
|
+
${{ runner.os }}-gems-
|
27
|
+
- name: Bundle install
|
28
|
+
run: |
|
29
|
+
bundle config set path vendor/bundle
|
30
|
+
bundle install --jobs 3 --retry 3
|
31
|
+
- name: Run linter
|
32
|
+
run: bundle exec rake linter
|
@@ -0,0 +1,62 @@
|
|
1
|
+
name: Tests
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches: [master]
|
5
|
+
pull_request:
|
6
|
+
branches: [master]
|
7
|
+
schedule:
|
8
|
+
- cron: '0 0 * * 0'
|
9
|
+
jobs:
|
10
|
+
linux_osx:
|
11
|
+
strategy:
|
12
|
+
fail-fast: false
|
13
|
+
matrix:
|
14
|
+
os: [ubuntu-latest, macos-latest]
|
15
|
+
ruby: [2.5, 2.6, 2.7, head]
|
16
|
+
runs-on: ${{ matrix.os }}
|
17
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v2
|
20
|
+
with:
|
21
|
+
repository: neovim/neovim-ruby
|
22
|
+
- uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
- name: Bundle install
|
26
|
+
run: |
|
27
|
+
bundle config set path vendor/bundle
|
28
|
+
bundle install --jobs 3 --retry 3
|
29
|
+
- name: Install Neovim
|
30
|
+
env:
|
31
|
+
BUILD: nightly
|
32
|
+
run: bundle exec rake ci:download_nvim
|
33
|
+
- name: Run tests
|
34
|
+
env:
|
35
|
+
NVIM_EXECUTABLE: "_nvim/bin/nvim"
|
36
|
+
run: bundle exec rake spec
|
37
|
+
windows:
|
38
|
+
strategy:
|
39
|
+
fail-fast: false
|
40
|
+
matrix:
|
41
|
+
ruby: [2.5, 2.6, 2.7] # msgpack not supported on windows on 2.8 yet
|
42
|
+
runs-on: windows-latest
|
43
|
+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
44
|
+
steps:
|
45
|
+
- uses: actions/checkout@v2
|
46
|
+
with:
|
47
|
+
repository: neovim/neovim-ruby
|
48
|
+
- uses: ruby/setup-ruby@v1
|
49
|
+
with:
|
50
|
+
ruby-version: ${{ matrix.ruby }}
|
51
|
+
- name: Bundle install
|
52
|
+
run: |
|
53
|
+
bundle config set path vendor/bundle
|
54
|
+
bundle install --jobs 3 --retry 3
|
55
|
+
- name: Install Neovim
|
56
|
+
uses: crazy-max/ghaction-chocolatey@v1
|
57
|
+
with:
|
58
|
+
args: install neovim --pre -fy --ignore-dependencies --ignore-checksums
|
59
|
+
- name: Run tests
|
60
|
+
env:
|
61
|
+
NVIM_EXECUTABLE: 'C:\tools\neovim\Neovim\bin\nvim'
|
62
|
+
run: bundle exec rake spec
|
data/.gitignore
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
.config
|
6
6
|
.yardoc
|
7
7
|
Gemfile.lock
|
8
|
+
VimFlavor.lock
|
8
9
|
InstalledFiles
|
9
10
|
_yardoc
|
10
11
|
coverage
|
@@ -17,5 +18,8 @@ test/tmp
|
|
17
18
|
test/version_tmp
|
18
19
|
tmp
|
19
20
|
spec/workspace
|
20
|
-
spec/
|
21
|
+
spec/acceptance/runtime/flavors
|
22
|
+
spec/acceptance/runtime/rplugin_manifest.vim
|
21
23
|
vendor/bundle
|
24
|
+
bin
|
25
|
+
.vim-flavor
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- _neovim/**/*
|
4
|
+
- spec/acceptance/**/*
|
5
|
+
- spec/workspace/**/*
|
6
|
+
- vendor/**/*
|
7
|
+
- script/**/*
|
8
|
+
- bin/**/*
|
9
|
+
|
10
|
+
Layout/EndOfLine:
|
11
|
+
EnforcedStyle: lf
|
12
|
+
|
13
|
+
Layout/MultilineMethodCallIndentation:
|
14
|
+
EnforcedStyle: indented
|
15
|
+
|
16
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
17
|
+
EnforcedStyle: no_space
|
18
|
+
|
19
|
+
Layout/SpaceInsideHashLiteralBraces:
|
20
|
+
EnforcedStyle: no_space
|
21
|
+
|
22
|
+
Lint/AmbiguousBlockAssociation:
|
23
|
+
Exclude:
|
24
|
+
- spec/**/*
|
25
|
+
|
26
|
+
Lint/HandleExceptions:
|
27
|
+
Exclude:
|
28
|
+
- lib/neovim/ruby_provider.rb
|
29
|
+
- lib/neovim/logging.rb
|
30
|
+
- lib/neovim/connection.rb
|
31
|
+
- lib/neovim/line_range.rb
|
32
|
+
- spec/**/*
|
33
|
+
|
34
|
+
Lint/RescueException:
|
35
|
+
Exclude:
|
36
|
+
- lib/neovim/host.rb
|
37
|
+
|
38
|
+
Lint/UnderscorePrefixedVariableName:
|
39
|
+
Exclude:
|
40
|
+
- lib/neovim/ruby_provider.rb
|
41
|
+
|
42
|
+
Lint/UselessAccessModifier:
|
43
|
+
Exclude:
|
44
|
+
- lib/neovim/buffer.rb
|
45
|
+
- lib/neovim/client.rb
|
46
|
+
|
47
|
+
Lint/Void:
|
48
|
+
Exclude:
|
49
|
+
- lib/neovim/window.rb
|
50
|
+
|
51
|
+
Metrics/AbcSize:
|
52
|
+
Max: 20
|
53
|
+
|
54
|
+
Metrics/BlockLength:
|
55
|
+
Exclude:
|
56
|
+
- spec/**/*
|
57
|
+
|
58
|
+
Metrics/ClassLength:
|
59
|
+
Max: 500
|
60
|
+
|
61
|
+
Metrics/LineLength:
|
62
|
+
Max: 125
|
63
|
+
|
64
|
+
Metrics/MethodLength:
|
65
|
+
Max: 50
|
66
|
+
|
67
|
+
Metrics/ModuleLength:
|
68
|
+
Enabled: false
|
69
|
+
|
70
|
+
Metrics/ParameterLists:
|
71
|
+
Max: 6
|
72
|
+
|
73
|
+
Naming/AccessorMethodName:
|
74
|
+
Exclude:
|
75
|
+
- lib/neovim/client.rb
|
76
|
+
|
77
|
+
Naming/UncommunicativeMethodParamName:
|
78
|
+
Enabled: false
|
79
|
+
|
80
|
+
Security/Eval:
|
81
|
+
Exclude:
|
82
|
+
- lib/neovim/ruby_provider.rb
|
83
|
+
|
84
|
+
Style/BlockComments:
|
85
|
+
Exclude:
|
86
|
+
- lib/neovim/buffer.rb
|
87
|
+
- lib/neovim/client.rb
|
88
|
+
- lib/neovim/tabpage.rb
|
89
|
+
- lib/neovim/window.rb
|
90
|
+
|
91
|
+
Style/ConditionalAssignment:
|
92
|
+
EnforcedStyle: assign_inside_condition
|
93
|
+
IncludeTernaryExpressions: false
|
94
|
+
|
95
|
+
Style/Documentation:
|
96
|
+
Exclude:
|
97
|
+
- spec/**/*
|
98
|
+
- lib/neovim/ruby_provider/object_ext.rb
|
99
|
+
|
100
|
+
Style/DoubleNegation:
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
Style/FormatStringToken:
|
104
|
+
EnforcedStyle: unannotated
|
105
|
+
|
106
|
+
Style/GlobalVars:
|
107
|
+
Exclude:
|
108
|
+
- lib/neovim/ruby_provider/vim.rb
|
109
|
+
- spec/neovim/ruby_provider/vim_spec.rb
|
110
|
+
|
111
|
+
Style/IfUnlessModifier:
|
112
|
+
Enabled: false
|
113
|
+
|
114
|
+
Style/MultilineTernaryOperator:
|
115
|
+
Enabled: false
|
116
|
+
|
117
|
+
Style/NegatedIf:
|
118
|
+
EnforcedStyle: postfix
|
119
|
+
|
120
|
+
Style/ParallelAssignment:
|
121
|
+
Enabled: false
|
122
|
+
|
123
|
+
Style/PerlBackrefs:
|
124
|
+
Enabled: false
|
125
|
+
|
126
|
+
Style/RescueStandardError:
|
127
|
+
EnforcedStyle: implicit
|
128
|
+
|
129
|
+
Style/Semicolon:
|
130
|
+
Enabled: false
|
131
|
+
|
132
|
+
Style/SpecialGlobalVars:
|
133
|
+
EnforcedStyle: use_perl_names
|
134
|
+
|
135
|
+
Style/StringLiterals:
|
136
|
+
EnforcedStyle: double_quotes
|
137
|
+
|
138
|
+
Style/StringLiteralsInInterpolation:
|
139
|
+
EnforcedStyle: double_quotes
|
140
|
+
|
141
|
+
Style/SymbolArray:
|
142
|
+
EnforcedStyle: brackets
|
143
|
+
|
144
|
+
Style/WordArray:
|
145
|
+
EnforcedStyle: brackets
|
146
|
+
|
147
|
+
Style/ZeroLengthPredicate:
|
148
|
+
Exclude:
|
149
|
+
- lib/neovim/ruby_provider.rb
|
data/CHANGELOG.md
CHANGED
@@ -1,22 +1,63 @@
|
|
1
|
+
# 0.9.0
|
2
|
+
|
3
|
+
- Add RPC support for `:rubyeval`.
|
4
|
+
- Add `Neovim::Session#next`.
|
5
|
+
- Rename `Neovim::Session::Exited` -> `Neovim::Session::Disconnected`.
|
6
|
+
|
7
|
+
# 0.8.1
|
8
|
+
|
9
|
+
- Set client info on host and client startup
|
10
|
+
- Add `Client#channel_id`
|
11
|
+
|
12
|
+
# 0.8.0
|
13
|
+
|
14
|
+
- Allow `Buffer#append` to take a string with newlines
|
15
|
+
- Use non-strict line indexing in `:rubydo` to prevent line deletions from
|
16
|
+
throwing exceptions
|
17
|
+
- Performance optimizations:
|
18
|
+
- Cache RPC method lookups and store them in a set
|
19
|
+
- Only flush writes before reading in the event loop
|
20
|
+
- Delete request handlers after invoking them
|
21
|
+
- Refresh provider globals in a single RPC request
|
22
|
+
|
23
|
+
# 0.7.1
|
24
|
+
|
25
|
+
- Fix `uninitialized constant Neovim::RubyProvider::StringIO`
|
26
|
+
- Various backwards-compatible style changes to satisfy Rubocop rules
|
27
|
+
|
28
|
+
# 0.7.0
|
29
|
+
|
30
|
+
- Drop support for Ruby < 2.2.0, update syntax accordingly
|
31
|
+
- Use msgpack gem for all reading/writing
|
32
|
+
- Make provider std stream capturing more robust
|
33
|
+
- Lazily instantiate Host client on 'poll' request
|
34
|
+
- Fix windows by setting all IOs to binmode
|
35
|
+
- Refactor/simplify session and event loop logic
|
36
|
+
|
1
37
|
# 0.6.2
|
38
|
+
|
2
39
|
- Put IOs into binary mode (fixes windows bugs)
|
3
40
|
- Various build fixes for appveyor
|
4
41
|
- Update generated docs to v0.2.2
|
5
42
|
|
6
43
|
# 0.6.1
|
44
|
+
|
7
45
|
- Add `multi_json` dependency to fix load error in certain envs
|
8
46
|
|
9
47
|
# 0.6.0
|
48
|
+
|
10
49
|
- Refactor: consolidate "run" logic into EventLoop class to simplify middleware
|
11
50
|
layers
|
12
51
|
- Add JSON structured logging
|
13
52
|
- Regenerated docs for nvim 0.2.1
|
14
53
|
|
15
54
|
# 0.5.1
|
55
|
+
|
16
56
|
- Convert vader.vim from submodule to subtree so it is included in gem
|
17
57
|
installations
|
18
58
|
|
19
59
|
# 0.5.0
|
60
|
+
|
20
61
|
- Breaking API changes:
|
21
62
|
- Update generated methods to map to `nvim_` RPC functions, rather than the
|
22
63
|
deprecated `vim_` ones
|
@@ -25,18 +66,22 @@
|
|
25
66
|
- Fix support for `:bang` and `:register` plugin DSL options
|
26
67
|
|
27
68
|
# 0.4.0
|
69
|
+
|
28
70
|
- Add `Neovim.executable` for accessing `nvim` info
|
29
71
|
- Fix bug where `$curwin` and `$curbuf` got out of sync after `Vim.command`
|
30
72
|
invocations
|
31
73
|
- Use vader.vim for running vimscript acceptance tests
|
32
74
|
|
33
75
|
# 0.3.3
|
76
|
+
|
34
77
|
- Hotfix older nvim clients' inability to hook into DirChanged
|
35
78
|
|
36
79
|
# 0.3.2
|
80
|
+
|
37
81
|
- Fix directory tracking in Ruby provider
|
38
82
|
|
39
83
|
# 0.3.1
|
84
|
+
|
40
85
|
- Remove window caching to fix incompatibilities with command-t
|
41
86
|
- Add `Vim` module alias
|
42
87
|
- Fix `Window.count` and `Window.[]` to work with tabpages
|
@@ -45,6 +90,7 @@
|
|
45
90
|
- Make `Neovim.attach_child` have default argv of `["nvim"]`
|
46
91
|
|
47
92
|
# 0.3.0
|
93
|
+
|
48
94
|
- Mark `Plugin::DSL#rpc` private
|
49
95
|
- Rename Session constants:
|
50
96
|
- `Neovim::EventLoop` -> `Neovim::Session::EventLoop`
|
@@ -55,28 +101,34 @@
|
|
55
101
|
- `Neovim::Notification` -> `Neovim::Session::Notification`
|
56
102
|
|
57
103
|
# 0.2.5
|
104
|
+
|
58
105
|
- Optimize remote function lookup
|
59
106
|
- Fix bug where $curbuf and $curwin weren't persisting instance state between
|
60
107
|
requests
|
61
108
|
|
62
109
|
# 0.2.4
|
110
|
+
|
63
111
|
- Maintain cursor position on Buffer#append for compatibility with vim
|
64
112
|
- Fix excessive fetching of API metadata
|
65
113
|
|
66
114
|
# 0.2.3
|
115
|
+
|
67
116
|
- Detach child processes in `Neovim::EventLoop.child`
|
68
117
|
- Improve performance/compatibility of `Buffer#append`
|
69
118
|
- Various improvements around `Host` loading
|
70
119
|
|
71
120
|
# 0.2.2
|
121
|
+
|
72
122
|
- Make `VIM` constant a module instead of a class
|
73
123
|
- Make `Client#set_option` accept a single string argument
|
74
124
|
|
75
125
|
# 0.2.1
|
126
|
+
|
76
127
|
- Fix race condition in Fiber handling
|
77
128
|
- General improvements to ruby\_provider.rb
|
78
129
|
|
79
130
|
# 0.2.0
|
131
|
+
|
80
132
|
- Backwards incompatible, but we're pre-1.0.0 so going with minor bump instead
|
81
133
|
- Make vim ruby functions 1-indexed
|
82
134
|
- Add Client#evaluate and Client#message
|
@@ -86,6 +138,7 @@
|
|
86
138
|
- Remove race condition in Session fiber handling
|
87
139
|
|
88
140
|
# 0.1.0
|
141
|
+
|
89
142
|
- Add --version, -V to neovim-ruby-host executable
|
90
143
|
- Update object interfaces to be compatible with Vim :ruby API
|
91
144
|
- `NVIM_RUBY_LOG_LEVEL` now takes strings, e.g. `DEBUG`
|
@@ -95,17 +148,20 @@
|
|
95
148
|
- Remove vendored `neovim`
|
96
149
|
|
97
150
|
# 0.0.6
|
151
|
+
|
98
152
|
- Update Session with improved Fiber coordination
|
99
153
|
- Documentation
|
100
154
|
- Rename APIInfo -> API
|
101
155
|
- Rename Object -> RemoteObject
|
102
156
|
|
103
157
|
# 0.0.5
|
158
|
+
|
104
159
|
- Various fixes for Ruby remote plugins
|
105
160
|
- Move Current#range and #range= methods to Buffer
|
106
161
|
- Add better logging
|
107
162
|
|
108
163
|
# 0.0.4
|
164
|
+
|
109
165
|
- Add support for loading Ruby remote plugins from nvim
|
110
166
|
- Add Current#range to return a LineRange enumerable object
|
111
167
|
- Support sending large messages
|