<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/lsp/handlers.lua, branch tmp</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): prevent unexpected position jumps (#19370)</title>
<updated>2022-08-03T19:44:33+00:00</updated>
<author>
<name>rhcher</name>
<email>kaer41@qq.com</email>
</author>
<published>2022-08-03T19:44:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7c997dbc5db145ccfa3c4d687b85168819c8b7d2'/>
<id>7c997dbc5db145ccfa3c4d687b85168819c8b7d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): provide feedback if server can't compute rename result (#19546)</title>
<updated>2022-07-27T16:56:27+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2022-07-27T16:56:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f5d558c8ea2e0637f105521806edc8a27d549847'/>
<id>f5d558c8ea2e0637f105521806edc8a27d549847</id>
<content type='text'>
Without some form of feedback a user cannot easily tell if the server is
still computing the result (which can take a while in large projects),
or whether the server couldn't compute the rename result.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without some form of feedback a user cannot easily tell if the server is
still computing the result (which can take a while in large projects),
or whether the server couldn't compute the rename result.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): allow passing custom list handler to LSP functions that return lists (#19213)</title>
<updated>2022-07-25T21:02:51+00:00</updated>
<author>
<name>Dalius Dobravolskas</name>
<email>daliusd@wix.com</email>
</author>
<published>2022-07-25T21:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3ded2ab55a1d894234163f82ced026e1423c9915'/>
<id>3ded2ab55a1d894234163f82ced026e1423c9915</id>
<content type='text'>
Currently LSP allows only using loclist or quickfix list window. I
normally prefer to review all quickfix items without opening quickfix
window. This fix allows passing `on_list` option which allows full
control what to do with list.

Here is example how to use it with quick fix list:

```lua
local function on_list(options)
  vim.fn.setqflist({}, ' ', options)
  vim.api.nvim_command('cfirst')
end

local bufopts = { noremap=true, silent=true, buffer=bufnr }
vim.keymap.set('n', '&lt;leader&gt;ad', function() vim.lsp.buf.declaration{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;d', function() vim.lsp.buf.definition{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;ai', function() vim.lsp.buf.implementation{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;at', function() vim.lsp.buf.type_definition{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;af', function() vim.lsp.buf.references(nil, {on_list=on_list}) end, bufopts)
```

If you prefer loclist do something like this:

```lua
local function on_list(options)
  vim.fn.setloclist(0, {}, ' ', options)
  vim.api.nvim_command('lopen')
end
```

close #19182

Co-authored-by: Mathias Fußenegger &lt;mfussenegger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently LSP allows only using loclist or quickfix list window. I
normally prefer to review all quickfix items without opening quickfix
window. This fix allows passing `on_list` option which allows full
control what to do with list.

Here is example how to use it with quick fix list:

```lua
local function on_list(options)
  vim.fn.setqflist({}, ' ', options)
  vim.api.nvim_command('cfirst')
end

local bufopts = { noremap=true, silent=true, buffer=bufnr }
vim.keymap.set('n', '&lt;leader&gt;ad', function() vim.lsp.buf.declaration{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;d', function() vim.lsp.buf.definition{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;ai', function() vim.lsp.buf.implementation{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;at', function() vim.lsp.buf.type_definition{on_list=on_list} end, bufopts)
vim.keymap.set('n', '&lt;leader&gt;af', function() vim.lsp.buf.references(nil, {on_list=on_list}) end, bufopts)
```

If you prefer loclist do something like this:

```lua
local function on_list(options)
  vim.fn.setloclist(0, {}, ' ', options)
  vim.api.nvim_command('lopen')
end
```

close #19182

Co-authored-by: Mathias Fußenegger &lt;mfussenegger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lsp): use autocmd api (#19407)</title>
<updated>2022-07-17T17:13:33+00:00</updated>
<author>
<name>ii14</name>
<email>59243201+ii14@users.noreply.github.com</email>
</author>
<published>2022-07-17T17:13:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=13abe20b5f855779456c84b9583ed614223a69c8'/>
<id>13abe20b5f855779456c84b9583ed614223a69c8</id>
<content type='text'>
* refactor(lsp): use autocmd api

* refactor(lsp): inline BufWritePost and VimLeavePre callbacks

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* refactor(lsp): use autocmd api

* refactor(lsp): inline BufWritePost and VimLeavePre callbacks

</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use `local api = vim.api`</title>
<updated>2022-07-15T16:26:47+00:00</updated>
<author>
<name>ii14</name>
<email>ii14@users.noreply.github.com</email>
</author>
<published>2022-07-15T16:26:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f59c96903a61702c69a5bf23a7adb09fff435331'/>
<id>f59c96903a61702c69a5bf23a7adb09fff435331</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lsp): make the use of local aliases more consistent</title>
<updated>2022-07-15T15:39:26+00:00</updated>
<author>
<name>ii14</name>
<email>ii14@users.noreply.github.com</email>
</author>
<published>2022-07-09T23:57:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8a5c7e91f21b9f49c5443105e694056a65bf761e'/>
<id>8a5c7e91f21b9f49c5443105e694056a65bf761e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): reformat with stylua 0.14.0 (#19264)</title>
<updated>2022-07-07T16:27:18+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-07-07T16:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aa4f9c5341f5280f16cce0630ea54b84eef717b3'/>
<id>aa4f9c5341f5280f16cce0630ea54b84eef717b3</id>
<content type='text'>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): include cancellable in progress message table (#18809)</title>
<updated>2022-05-31T11:19:45+00:00</updated>
<author>
<name>Chris Kipp</name>
<email>ckipp@pm.me</email>
</author>
<published>2022-05-31T11:19:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1a20aed3fb35e00f96aa18abb69d35912c9e119d'/>
<id>1a20aed3fb35e00f96aa18abb69d35912c9e119d</id>
<content type='text'>
Currently the `title`, `message` and `percentage` is stored for a
progress, but there is also an optional `cancellable` that comes in with
both the `WorkDoneProgressBegin` and also `WorkDoneProgressReport`. This
change also stores that value so that a plugin can access it when they
do a lookup in `client.messages`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the `title`, `message` and `percentage` is stored for a
progress, but there is also an optional `cancellable` that comes in with
both the `WorkDoneProgressBegin` and also `WorkDoneProgressReport`. This
change also stores that value so that a plugin can access it when they
do a lookup in `client.messages`.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): option to reuse_win for jump actions (#18577)</title>
<updated>2022-05-18T19:03:24+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-05-18T19:03:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3eea66d65a75c83cbd6bd7ec2aa0886781c807c9'/>
<id>3eea66d65a75c83cbd6bd7ec2aa0886781c807c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: format runtime with stylua</title>
<updated>2022-05-09T14:31:55+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-05-09T09:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aefdc6783cb77f09786542c90901a9e7120bea42'/>
<id>aefdc6783cb77f09786542c90901a9e7120bea42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
