mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
nix edit: support kakoune
This commit is contained in:
parent
8434869632
commit
3b776cb0a7
2 changed files with 5 additions and 4 deletions
|
@ -204,7 +204,8 @@ Strings editorFor(const Pos & pos)
|
|||
if (pos.line > 0 && (
|
||||
editor.find("emacs") != std::string::npos ||
|
||||
editor.find("nano") != std::string::npos ||
|
||||
editor.find("vim") != std::string::npos))
|
||||
editor.find("vim") != std::string::npos ||
|
||||
editor.find("kak") != std::string::npos))
|
||||
args.push_back(fmt("+%d", pos.line));
|
||||
args.push_back(pos.file);
|
||||
return args;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue