From a23b4674b9178ef801dd2393bb7fbc50e9de7915 Mon Sep 17 00:00:00 2001 From: Darren Li Date: Sat, 26 Aug 2023 02:27:40 +1000 Subject: [PATCH] Fixed editor recognition for kakoune --- CHANGELOG.md | 4 ++++ bin/docfd.ml | 2 +- bin/version_string.ml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8093ad3..c612d0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.2.2 + +- Fixed editor recognition for kakoune + ## 1.2.1 - Fixed search results when multiple words are involved diff --git a/bin/docfd.ml b/bin/docfd.ml index 7f8c141..810a7f5 100644 --- a/bin/docfd.ml +++ b/bin/docfd.ml @@ -98,7 +98,7 @@ let open_text_path index ~editor ~path ~search_result = Fmt.str "%s +%d %s" editor line_num path | "nvim" | "vim" | "vi" -> Fmt.str "%s +%d %s" editor line_num path - | "kakoune" -> + | "kak" -> Fmt.str "%s +%d %s" editor line_num path | "hx" -> Fmt.str "%s %s:%d" editor path line_num diff --git a/bin/version_string.ml b/bin/version_string.ml index 5af2449..b78f96a 100644 --- a/bin/version_string.ml +++ b/bin/version_string.ml @@ -1 +1 @@ -let s = "1.2.1" +let s = "1.2.2"