<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kakoune.git/rc/tools/go, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/'/>
<entry>
<title>Reset SIGINT handler in background processes</title>
<updated>2024-03-31T09:13:35+00:00</updated>
<author>
<name>Johannes Altmanninger</name>
<email>aclopte@gmail.com</email>
</author>
<published>2024-03-29T16:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=7b93567bb18629a0e61362821223e759b8598149'/>
<id>7b93567bb18629a0e61362821223e759b8598149</id>
<content type='text'>
In a noninteractive shell, asynchronous commands ignore SIGINT and
SIGQUIT. We typically use such shells to feed fifo buffers which we
do want to cancel them on Control-C.  Make it so.

Same for SIGQUIT; that one is not typically used but I expect that
along the Kakoune server it kills any child processes that (haven't
been daemonized).

Note that for unknown reasons, Bash already doesn't ignore SIGINT in
async processes that use "eval".

Note that Dash has a bug that prevents this from working;
proposed fix is at
https://lore.kernel.org/dash/20240329153905.154792-2-aclopte@gmail.com/

(While at it balance out some parens, to help the m command)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a noninteractive shell, asynchronous commands ignore SIGINT and
SIGQUIT. We typically use such shells to feed fifo buffers which we
do want to cancel them on Control-C.  Make it so.

Same for SIGQUIT; that one is not typically used but I expect that
along the Kakoune server it kills any child processes that (haven't
been daemonized).

Note that for unknown reasons, Bash already doesn't ignore SIGINT in
async processes that use "eval".

Note that Dash has a bug that prevents this from working;
proposed fix is at
https://lore.kernel.org/dash/20240329153905.154792-2-aclopte@gmail.com/

(While at it balance out some parens, to help the m command)
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust regex in gopls-def for when filepath contains a dash</title>
<updated>2022-11-15T09:10:24+00:00</updated>
<author>
<name>Loric Brevet</name>
<email>loric.brevet@gmail.com</email>
</author>
<published>2022-11-11T11:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=199b7ea1659c27f87a46bc96ce3e9a9366eb4102'/>
<id>199b7ea1659c27f87a46bc96ce3e9a9366eb4102</id>
<content type='text'>
When calling `:gopls definition`, the gopls LSP server returns the location of
the selected definition. Then, `gopls.kak` tries to parse this output to
feed the `:edit` command and open the file in Kakoune. To do this, it
uses `sed` to transform `&lt;path&gt;.go:&lt;line&gt;:&lt;colstart&gt;-&lt;colend&gt;` to `&lt;path&gt;.go
&lt;line&gt; &lt;colstart&gt;`. However, if the `&lt;path&gt;` contains a dash character,
the `sed` will fail and strip everything after this first dash, removing
the line and columns information.

Closes #4776
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When calling `:gopls definition`, the gopls LSP server returns the location of
the selected definition. Then, `gopls.kak` tries to parse this output to
feed the `:edit` command and open the file in Kakoune. To do this, it
uses `sed` to transform `&lt;path&gt;.go:&lt;line&gt;:&lt;colstart&gt;-&lt;colend&gt;` to `&lt;path&gt;.go
&lt;line&gt; &lt;colstart&gt;`. However, if the `&lt;path&gt;` contains a dash character,
the `sed` will fail and strip everything after this first dash, removing
the line and columns information.

Closes #4776
</pre>
</div>
</content>
</entry>
<entry>
<title>gopls.kak: use nop for removing temp dir</title>
<updated>2020-10-17T07:47:07+00:00</updated>
<author>
<name>voroskoi</name>
<email>60064214+voroskoi@users.noreply.github.com</email>
</author>
<published>2020-10-17T07:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=dd6a275c3e5ade7963f9c208fc84e9d3549564ce'/>
<id>dd6a275c3e5ade7963f9c208fc84e9d3549564ce</id>
<content type='text'>
Co-authored-by: Frank LENORMAND &lt;1379068+lenormf@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Frank LENORMAND &lt;1379068+lenormf@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gopls: Fix format/imports error reporting</title>
<updated>2020-10-16T20:40:58+00:00</updated>
<author>
<name>VÖRÖSKŐI András</name>
<email>voroskoi@gmail.com</email>
</author>
<published>2020-10-16T20:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=cbbab07aabacd07ac40045f9d881ba1241f42758'/>
<id>cbbab07aabacd07ac40045f9d881ba1241f42758</id>
<content type='text'>
Remove unnecessary single quotes and whitespaces in %file{}
Do not delete error file before sending to debug buffer
Fix gopls definition error handling and empty sting check
Silence shellcheck warnings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unnecessary single quotes and whitespaces in %file{}
Do not delete error file before sending to debug buffer
Fix gopls definition error handling and empty sting check
Silence shellcheck warnings
</pre>
</div>
</content>
</entry>
<entry>
<title>gopls: fixes based on krobelus@ review</title>
<updated>2020-09-16T19:58:22+00:00</updated>
<author>
<name>VÖRÖSKŐI András</name>
<email>voroskoi@gmail.com</email>
</author>
<published>2020-09-16T19:58:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=9fe1a2a9a4894ab3bca418c4458c7c2fa323bb8d'/>
<id>9fe1a2a9a4894ab3bca418c4458c7c2fa323bb8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rc/go-tools.kak: remove</title>
<updated>2020-09-14T23:02:19+00:00</updated>
<author>
<name>VÖRÖSKŐI András</name>
<email>voroskoi@gmail.com</email>
</author>
<published>2020-09-14T23:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=2b18b1d08829cec267a34dfbf5f1e66564e4a3fc'/>
<id>2b18b1d08829cec267a34dfbf5f1e66564e4a3fc</id>
<content type='text'>
Working functions replaced by gopls
Use kak-lsp if you need in place documentation and autocompletion
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Working functions replaced by gopls
Use kak-lsp if you need in place documentation and autocompletion
</pre>
</div>
</content>
</entry>
<entry>
<title>rc gopls.kak: initial import</title>
<updated>2020-09-14T23:01:35+00:00</updated>
<author>
<name>VÖRÖSKŐI András</name>
<email>voroskoi@gmail.com</email>
</author>
<published>2020-09-02T21:21:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=568020d67bd745cc203dd8fbf2957bb39e435b1f'/>
<id>568020d67bd745cc203dd8fbf2957bb39e435b1f</id>
<content type='text'>
Add support for the following gopls commands:
 - format
 - imports
 - definition
 - references

Thanks krobelus@ and lenormf@ for their review and suggestions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for the following gopls commands:
 - format
 - imports
 - definition
 - references

Thanks krobelus@ and lenormf@ for their review and suggestions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid accidentally using environment variables in sh scopes</title>
<updated>2020-08-24T17:01:05+00:00</updated>
<author>
<name>Johannes Altmanninger</name>
<email>aclopte@gmail.com</email>
</author>
<published>2020-08-23T16:55:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=9a7d8df44732b684255acd151c4104bf95aeebd5'/>
<id>9a7d8df44732b684255acd151c4104bf95aeebd5</id>
<content type='text'>
On the instances with altfile this was already the case, but this makes it more obvious.

Closes #3673
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the instances with altfile this was already the case, but this makes it more obvious.

Closes #3673
</pre>
</div>
</content>
</entry>
<entry>
<title>Modified a bunch of language support files to use modules</title>
<updated>2019-04-09T00:02:44+00:00</updated>
<author>
<name>Justin Frank</name>
<email>justinpfrank@protonmail.com</email>
</author>
<published>2019-03-13T05:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=1fab727f2be4be4e4b6e85887c283daf86aef722'/>
<id>1fab727f2be4be4e4b6e85887c283daf86aef722</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add categories in rc/</title>
<updated>2019-03-21T00:06:16+00:00</updated>
<author>
<name>Alex Leferry 2</name>
<email>alexherbo2@gmail.com</email>
</author>
<published>2019-03-18T18:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vinkies.net/kakoune.git/commit/?id=c0dccdd90dd615cf663d95fd94fbdbdf2a88b165'/>
<id>c0dccdd90dd615cf663d95fd94fbdbdf2a88b165</id>
<content type='text'>
Closes #2783
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #2783
</pre>
</div>
</content>
</entry>
</feed>
