diff options
author | Hideaki Kawai <kayhide@gmail.com> | 2022-03-22 23:18:02 +0900 |
---|---|---|
committer | Hideaki Kawai <kayhide@gmail.com> | 2022-03-22 23:18:02 +0900 |
commit | 3b776cb0a7574bf11c20fe0a1d91ec1d21d8ebeb (patch) | |
tree | d5c5a37daaa477af4524125605c0e77e9fbc3a57 /src/libcmd/command.cc | |
parent | 84348696329b4504b851f0de4a9a9a52321ce59d (diff) |
nix edit: support kakoune
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r-- | src/libcmd/command.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc index dc8fa9e5a..a53b029b7 100644 --- a/src/libcmd/command.cc +++ b/src/libcmd/command.cc @@ -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; |