<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin/lsp, branch tmp</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<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='https://git.josher.dev/cgit/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>fix(lsp): small bugs in snippet-parser #18998</title>
<updated>2022-06-29T16:53:49+00:00</updated>
<author>
<name>L3MON4D3</name>
<email>41961280+L3MON4D3@users.noreply.github.com</email>
</author>
<published>2022-06-29T16:53:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6f6286e4f90da25a7d1b6bcc96b79b0ccbaf5c26'/>
<id>6f6286e4f90da25a7d1b6bcc96b79b0ccbaf5c26</id>
<content type='text'>
This fixes the following bugs:
`${1:else_text}` -&gt; format with if_text: "else_text"
`${1:-else_text}` -&gt; format with if_text: "else_text"
`${1:}` in `format` (eg. empty else_text) -&gt; error.
`${1:}` (eg. empty placeholder) -&gt; error.

Thanks hrsh7th :)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the following bugs:
`${1:else_text}` -&gt; format with if_text: "else_text"
`${1:-else_text}` -&gt; format with if_text: "else_text"
`${1:}` in `format` (eg. empty else_text) -&gt; error.
`${1:}` (eg. empty placeholder) -&gt; error.

Thanks hrsh7th :)</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): fix unnecessary buffers being added on empty diagnostics (#18275)</title>
<updated>2022-04-26T17:00:28+00:00</updated>
<author>
<name>ii14</name>
<email>59243201+ii14@users.noreply.github.com</email>
</author>
<published>2022-04-26T17:00:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=55135cea619cd1b8b8d7563c14436c092fa749ab'/>
<id>55135cea619cd1b8b8d7563c14436c092fa749ab</id>
<content type='text'>
Some language servers send empty `textDocument/publishDiagnostics`
messages after indexing the project with URIs corresponding to unopened buffers.
This commit guards against opening buffers corresponding to empty diagnostics.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some language servers send empty `textDocument/publishDiagnostics`
messages after indexing the project with URIs corresponding to unopened buffers.
This commit guards against opening buffers corresponding to empty diagnostics.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): handle insertion of previous line (#17618)</title>
<updated>2022-03-06T15:52:11+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2022-03-06T15:52:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3800615da9eaf9e8b26d9040c882c74084d688e4'/>
<id>3800615da9eaf9e8b26d9040c882c74084d688e4</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): start incremental sync range at previous newline character (#17610)</title>
<updated>2022-03-05T17:17:56+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2022-03-05T17:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a5e475fcc269b32a8a487f787af20802cbfabe28'/>
<id>a5e475fcc269b32a8a487f787af20802cbfabe28</id>
<content type='text'>
This change forces the start of an incremental sync range to begin always on an existing line.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change forces the start of an incremental sync range to begin always on an existing line.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(diagnostic): add "code" to the diagnostic structure (#17510)</title>
<updated>2022-03-03T01:42:27+00:00</updated>
<author>
<name>David Shen</name>
<email>17462095+mxteries@users.noreply.github.com</email>
</author>
<published>2022-03-03T01:42:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5d6006f9bfc2f1f064adbcfa974da6976e867450'/>
<id>5d6006f9bfc2f1f064adbcfa974da6976e867450</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): correctly align start and end range to codepoints during incremental sync (#16670)</title>
<updated>2021-12-18T02:05:00+00:00</updated>
<author>
<name>Rishikesh Vaishnav</name>
<email>rishhvaishnav@gmail.com</email>
</author>
<published>2021-12-18T02:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=36c401db243da08a60bde7f2c42e1ed9f5204c85'/>
<id>36c401db243da08a60bde7f2c42e1ed9f5204c85</id>
<content type='text'>
Closes #16624

Fixes two issues with aligning the start position and end position to
codepoints when calculating the start and end range.

When aligning the start position:
* use aligned byte index to calculate character index rather than 
  the unadjusted byte

When aligning the end position:
* do not adjust the end byte if it falls on a UTF-8 codepoint
* align byte to the first byte of the next codepoint rather than the
  last byte of the current codepoint
* compute character character end range on the aligned byte index

This commit also adds additional test coverage, including multibyte operations
that previously failed before this commit.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #16624

Fixes two issues with aligning the start position and end position to
codepoints when calculating the start and end range.

When aligning the start position:
* use aligned byte index to calculate character index rather than 
  the unadjusted byte

When aligning the end position:
* do not adjust the end byte if it falls on a UTF-8 codepoint
* align byte to the first byte of the next codepoint rather than the
  last byte of the current codepoint
* compute character character end range on the aligned byte index

This commit also adds additional test coverage, including multibyte operations
that previously failed before this commit.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): improve incremental sync robustness (#16358)</title>
<updated>2021-11-18T21:49:46+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-18T21:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f71be1f87b40bf863b6cf6b4fbcebffdd3297d88'/>
<id>f71be1f87b40bf863b6cf6b4fbcebffdd3297d88</id>
<content type='text'>
closes https://github.com/neovim/neovim/issues/16352

* improve handling of multi-byte deletions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes https://github.com/neovim/neovim/issues/16352

* improve handling of multi-byte deletions</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): fix edge cases in incremental sync (#16308)</title>
<updated>2021-11-15T16:51:30+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-15T16:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=87a053f126c79f5eeb1654e35beb31d9fe733163'/>
<id>87a053f126c79f5eeb1654e35beb31d9fe733163</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): rewrite incremental sync (#16252)</title>
<updated>2021-11-09T22:37:48+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-09T22:37:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2ecf0a4c6183bba1c65d440711038f040d355fef'/>
<id>2ecf0a4c6183bba1c65d440711038f040d355fef</id>
<content type='text'>
* use codeunits/points instead of byte ranges when applicable
* take into account different file formats when computing range and
  sending text (dos, unix, and mac supported)
* add tests of incremental sync</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use codeunits/points instead of byte ranges when applicable
* take into account different file formats when computing range and
  sending text (dos, unix, and mac supported)
* add tests of incremental sync</pre>
</div>
</content>
</entry>
</feed>
