kakoune/rc
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
..
detection Merge remote-tracking branch 'krobelus/file-completion' 2022-10-19 20:23:39 +11:00
filetype Add "union" as a keyword for Rust syntax 2022-11-01 21:29:07 +00:00
tools Adjust regex in gopls-def for when filepath contains a dash 2022-11-15 10:10:24 +01:00
windowing Merge remote-tracking branch 'krobelus/embrace-menu-2' 2022-07-28 21:34:31 +10:00