<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/lsp/buf.lua, branch stable</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>fix(lsp): avoid ipairs on non-sequential tables (#15059)</title>
<updated>2021-09-26T18:28:28+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-07-11T18:34:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=dc15b3a92c9b6af1a985fa5b62f04177795e58df'/>
<id>dc15b3a92c9b6af1a985fa5b62f04177795e58df</id>
<content type='text'>
ipairs terminates on the first nil index when iterating over table keys:

for i,k in ipairs( {[1] = 'test', [3] = 'test'} ) do
  print(i, k)
end

prints:
1 test

Instead, use pairs which continues iterating over the entire table:

for i,k in pairs( {[1] = 'test', [3] = 'test'} ) do
  print(i, k)
end

prints:
1 test
3 test</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ipairs terminates on the first nil index when iterating over table keys:

for i,k in ipairs( {[1] = 'test', [3] = 'test'} ) do
  print(i, k)
end

prints:
1 test

Instead, use pairs which continues iterating over the entire table:

for i,k in pairs( {[1] = 'test', [3] = 'test'} ) do
  print(i, k)
end

prints:
1 test
3 test</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): update lsp-handler signature in call_hierarchy (#15738)</title>
<updated>2021-09-26T17:25:17+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2021-09-21T22:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=27bac13be66946e2cb2912a44185d18b0f856a32'/>
<id>27bac13be66946e2cb2912a44185d18b0f856a32</id>
<content type='text'>
This fixes the handler signature and also prevents n+1 requests firing
if there are multiple clients.

(The first `prepareCallHierarchy` handler is called once per client,
each invocation used `buf_request` to make more requests using *all*
clients)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the handler signature and also prevents n+1 requests firing
if there are multiple clients.

(The first `prepareCallHierarchy` handler is called once per client,
each invocation used `buf_request` to make more requests using *all*
clients)</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp)!: change handler signature #15504</title>
<updated>2021-09-26T17:25:17+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-05T17:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=cd8f6c5fb7858d8981fdfb2067bddb3eb86c13d0'/>
<id>cd8f6c5fb7858d8981fdfb2067bddb3eb86c13d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): Set `dir` completion option for add_workspace_folder</title>
<updated>2021-06-25T12:28:17+00:00</updated>
<author>
<name>Mathias Fussenegger</name>
<email>f.mathias@zignar.net</email>
</author>
<published>2021-06-25T12:23:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7ea652e4bf0307c46c1bc47456a94638e17f9f29'/>
<id>7ea652e4bf0307c46c1bc47456a94638e17f9f29</id>
<content type='text'>
Given that the input is pre-filled with a path, it should be possible to
use dir completion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Given that the input is pre-filled with a path, it should be possible to
use dir completion.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): add bufnr to formatting requests</title>
<updated>2021-06-16T06:53:43+00:00</updated>
<author>
<name>Lukas Reineke</name>
<email>lukas.reineke@protonmail.com</email>
</author>
<published>2021-06-16T06:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f76f72a27bb0c60c9e60a5bba30d94fd5541595a'/>
<id>f76f72a27bb0c60c9e60a5bba30d94fd5541595a</id>
<content type='text'>

Add the buffer number to the `textDocument/formatting` request, so
that it is passed to the handler.
The built-in formatting handlers do not use the buffer number, but user
overrides should have access to it.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Add the buffer number to the `textDocument/formatting` request, so
that it is passed to the handler.
The built-in formatting handlers do not use the buffer number, but user
overrides should have access to it.</pre>
</div>
</content>
</entry>
<entry>
<title>docs(lsp): annotate call_hierarchy function as private</title>
<updated>2021-06-15T06:19:23+00:00</updated>
<author>
<name>cbarrete</name>
<email>62146989+cbarrete@users.noreply.github.com</email>
</author>
<published>2021-06-15T06:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8cdffd42dd7db664034f61157e59e1e499f70ad8'/>
<id>8cdffd42dd7db664034f61157e59e1e499f70ad8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lsp: handle unsupported call hierarchy call</title>
<updated>2021-05-19T15:55:03+00:00</updated>
<author>
<name>Cédric Barreteau</name>
<email>cbarrete@users.noreply.github.com</email>
</author>
<published>2021-05-18T21:32:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca336c681d263cd52f2aba40a8d0b0646d5a9f3d'/>
<id>ca336c681d263cd52f2aba40a8d0b0646d5a9f3d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Synchronous formatting methods notify the user on timeout and interrupted</title>
<updated>2021-05-02T14:16:49+00:00</updated>
<author>
<name>Karim Abou Zeid</name>
<email>karim23697@gmail.com</email>
</author>
<published>2021-05-02T14:16:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f0f3fddcddf9c01f89a8afaa32bced52632373ee'/>
<id>f0f3fddcddf9c01f89a8afaa32bced52632373ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support multiple range formatting clients</title>
<updated>2021-05-02T13:37:31+00:00</updated>
<author>
<name>Karim Abou Zeid</name>
<email>karim23697@gmail.com</email>
</author>
<published>2021-05-02T13:37:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=dc9c6ea2194526d829599fe17768a7a09bbc1f56'/>
<id>dc9c6ea2194526d829599fe17768a7a09bbc1f56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add formatting_seq_sync, change formatting and formatting_sync</title>
<updated>2021-05-01T19:12:40+00:00</updated>
<author>
<name>Karim Abou Zeid</name>
<email>karim23697@gmail.com</email>
</author>
<published>2021-04-30T11:40:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=48a59f8f4f3eced84b21a473527b00ef1b9b5bd2'/>
<id>48a59f8f4f3eced84b21a473527b00ef1b9b5bd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
