home/rc/tools
Loric Brevet 199b7ea165
Adjust regex in gopls-def for when filepath contains a dash
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 `<path>.go:<line>:<colstart>-<colend>` to `<path>.go
<line> <colstart>`. However, if the `<path>` contains a dash character,
the `sed` will fail and strip everything after this first dash, removing
the line and columns information.

Closes #4776
2022-11-15 10:10:24 +01:00
..
go Adjust regex in gopls-def for when filepath contains a dash 2022-11-15 10:10:24 +01:00
python Fix jedi off-by-one and refactor jedi 2021-05-04 20:57:13 +02:00
rust simplify rust completion to match generic Kakoune completions 2019-05-17 20:00:40 +03:00
autorestore.asciidoc Update plugin docs to not duplicate docstring information. 2020-09-03 17:18:19 +10:00
autorestore.kak rc autorestore: fix regression due to ! breaking change 2022-04-28 19:32:24 +02:00
autowrap.kak Make x just select the full lines 2022-07-05 08:43:40 +10:00
clang.kak Move user mappings to <space> and keep/remove selection to , 2022-07-05 08:43:40 +10:00
comment.kak Merge branch 'patch-4' of https://github.com/blaggacao/kakoune 2022-10-19 20:17:28 +11:00
ctags.kak Move user mappings to <space> and keep/remove selection to , 2022-07-05 08:43:40 +10:00
doc.asciidoc Wrapped the lines at the 80th column 2022-05-06 10:33:12 -07:00
doc.kak Use complete-command for the :doc command 2022-10-19 20:35:05 +11:00
format.kak rc format: restore in-client error when formatcmd fails 2022-04-09 15:36:02 +02:00
git.kak Remove unnecessary leading space in prompt from mappings 2022-08-01 07:37:02 +02:00
grep.kak Move user mappings to <space> and keep/remove selection to , 2022-07-05 08:43:40 +10:00
lint.asciidoc Reference content goes in docstrings, explanations go in prose docs. 2020-09-04 19:20:50 +10:00
lint.kak Fix #3957 2021-07-09 22:18:25 -03:00
make.kak rc make: make-next-error to switch toolsclient to *make* buffer 2022-10-16 20:00:22 +02:00
man.kak Merge remote-tracking branch 'krobelus/fix-man-jump' 2022-10-19 20:37:19 +11:00
spell.kak Add standard DiagnosticError and DiagnosticWarning faces. 2021-09-07 17:46:50 +10:00