<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vis-lspc/init.lua, branch v0.1.9</title>
<subtitle>language server protocol client for the vis editor</subtitle>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/'/>
<entry>
<title>Offer to save current file before opening new one</title>
<updated>2023-07-20T13:58:11+00:00</updated>
<author>
<name>Michiel van den Heuvel</name>
<email>michielvdnheuvel@gmail.com</email>
</author>
<published>2023-07-13T13:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=dcbe70a0cb96639f402f3d7982547906a6dcf82a'/>
<id>dcbe70a0cb96639f402f3d7982547906a6dcf82a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move confirmation and selection functions up</title>
<updated>2023-06-30T07:51:57+00:00</updated>
<author>
<name>Michiel van den Heuvel</name>
<email>michielvdnheuvel@gmail.com</email>
</author>
<published>2023-06-27T12:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=7f8410ff4b0de20caeb240a40ae80588d1a6e538'/>
<id>7f8410ff4b0de20caeb240a40ae80588d1a6e538</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make formatting options sort of configurable</title>
<updated>2023-06-29T13:13:31+00:00</updated>
<author>
<name>Michiel van den Heuvel</name>
<email>michielvdnheuvel@gmail.com</email>
</author>
<published>2023-06-24T17:46:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=336cf3083232e824c8990834b56c6a1068b5a631'/>
<id>336cf3083232e824c8990834b56c6a1068b5a631</id>
<content type='text'>
This should be wired up to code that's in a pull request in the vis
repository for the default options. This PR does not yet expose
`expandtab`.

Referenced PR: https://github.com/martanne/vis/pull/717
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should be wired up to code that's in a pull request in the vis
repository for the default options. This PR does not yet expose
`expandtab`.

Referenced PR: https://github.com/martanne/vis/pull/717
</pre>
</div>
</content>
</entry>
<entry>
<title>Add textDocument/formatting implementation</title>
<updated>2023-06-29T13:13:26+00:00</updated>
<author>
<name>Michiel van den Heuvel</name>
<email>michielvdnheuvel@gmail.com</email>
</author>
<published>2023-06-16T16:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=e83950a7149f364b653395cdd4d9446875a7f469'/>
<id>e83950a7149f364b653395cdd4d9446875a7f469</id>
<content type='text'>
This is tested with the Rust language server and the Lua one. Moving
the cursor to the correct position afterwards works with Rust, but not
with Lua. Being smarter about the ranges is probably necessary for Lua
and might make other ones more robust.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is tested with the Rust language server and the Lua one. Moving
the cursor to the correct position afterwards works with Rust, but not
with Lua. Being smarter about the ranges is probably necessary for Lua
and might make other ones more robust.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix format of license file headers</title>
<updated>2023-06-25T09:07:28+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-25T09:07:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=0ff2950297854ca8f7617e0d83606d41aeb06ce6'/>
<id>0ff2950297854ca8f7617e0d83606d41aeb06ce6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix the license headers to reflect the used GPL license</title>
<updated>2023-06-24T17:42:40+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-24T17:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=224a220fa94b306cacff33eaf4c841b52a41d12f'/>
<id>224a220fa94b306cacff33eaf4c841b52a41d12f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid screen flicker when navigating within file</title>
<updated>2023-06-12T16:23:30+00:00</updated>
<author>
<name>Michiel van den Heuvel</name>
<email>michielvdnheuvel@gmail.com</email>
</author>
<published>2023-06-08T17:17:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=63b8d2ce0e0fd62833c4d795383411b77673ead6'/>
<id>63b8d2ce0e0fd62833c4d795383411b77673ead6</id>
<content type='text'>
When using vis_open_doc_pos, don't reopen the file if the path of the
opened file and the doc_pos match.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using vis_open_doc_pos, don't reopen the file if the path of the
opened file and the doc_pos match.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix log file creation for paths including spaces</title>
<updated>2023-06-11T12:38:12+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-11T12:38:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=4dcc77f638829110b8b6417272fcbf07bde64a24'/>
<id>4dcc77f638829110b8b6417272fcbf07bde64a24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>jump to document position in the original window</title>
<updated>2023-04-15T10:07:18+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-04-15T10:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=2999fa13ee7860a39a0b07a74dbf6dc52bfd83ae'/>
<id>2999fa13ee7860a39a0b07a74dbf6dc52bfd83ae</id>
<content type='text'>
Currently if a method call result causing the editor to jump to a new
location is received from the language server we change the current
window ('vis.win').
However this behavior is strange if the user has already switch window
the message window was opened.
Remember the window where the jump was requested and execute it in
the original window.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently if a method call result causing the editor to jump to a new
location is received from the language server we change the current
window ('vis.win').
However this behavior is strange if the user has already switch window
the message window was opened.
Remember the window where the jump was requested and execute it in
the original window.
</pre>
</div>
</content>
</entry>
<entry>
<title>distinguish between method call and method response</title>
<updated>2023-01-18T14:11:31+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-01-18T14:11:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/vis-lspc/commit/?id=5dca999fd21c261fea34ddeca7bfad2cb531dbce'/>
<id>5dca999fd21c261fea34ddeca7bfad2cb531dbce</id>
<content type='text'>
We can not only use the fact that we have a method call inflight with
the observed id. Because the language server may has called a method
on use with the same id.

Therefore we have to also check if the incoming message contains
a method field.

method + id -&gt; method call
id -&gt; method response
method -&gt; notification
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can not only use the fact that we have a method call inflight with
the observed id. Because the language server may has called a method
on use with the same id.

Therefore we have to also check if the incoming message contains
a method field.

method + id -&gt; method call
id -&gt; method response
method -&gt; notification
</pre>
</div>
</content>
</entry>
</feed>
