<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin/lsp/incremental_sync_spec.lua, branch usermarks</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): 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='http://git.josher.dev/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='http://git.josher.dev/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>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='http://git.josher.dev/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='http://git.josher.dev/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='http://git.josher.dev/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='http://git.josher.dev/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>
