From caea6202293f923f83655701ac9e1720fbb6d040 Mon Sep 17 00:00:00 2001 From: Jonta <359397+Jonta@users.noreply.github.com> Date: Thu, 7 Oct 2021 04:54:55 +0200 Subject: [PATCH 1/3] Grammar --- src/highlighter.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/highlighter.hh b/src/highlighter.hh index 17cfac4a..a9029433 100644 --- a/src/highlighter.hh +++ b/src/highlighter.hh @@ -28,7 +28,7 @@ enum class HighlightPass }; constexpr bool with_bit_ops(Meta::Type) { return true; } -// An Highlighter is a function which mutates a DisplayBuffer in order to +// A Highlighter is a function which mutates a DisplayBuffer in order to // change the visual representation of a file. It could be changing text // color, adding information text (line numbering for example) or replacing // buffer content (folding for example) From 4a34ae9c2d894d026ffbae59900837ee96fab296 Mon Sep 17 00:00:00 2001 From: Jonta <359397+Jonta@users.noreply.github.com> Date: Thu, 7 Oct 2021 04:57:29 +0200 Subject: [PATCH 2/3] Grammar --- src/window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cc b/src/window.cc index ab885ca9..2fda7770 100644 --- a/src/window.cc +++ b/src/window.cc @@ -347,7 +347,7 @@ void Window::clear_display_buffer() void Window::on_option_changed(const Option& option) { run_hook_in_own_context(Hook::WinSetOption, format("{}={}", option.name(), option.get_desc_string())); - // an highlighter might depend on the option, so we need to redraw + // a highlighter might depend on the option, so we need to redraw force_redraw(); } From e93ebbca78b68569f551284ac49b407517268bff Mon Sep 17 00:00:00 2001 From: Jonta <359397+Jonta@users.noreply.github.com> Date: Thu, 7 Oct 2021 04:59:03 +0200 Subject: [PATCH 3/3] Grammar --- src/commands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.cc b/src/commands.cc index c62f42a5..7567f157 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -962,7 +962,7 @@ const CommandDesc arrange_buffers_cmd = { const CommandDesc add_highlighter_cmd = { "add-highlighter", "addhl", - "add-highlighter / ...: add an highlighter to the group identified by \n" + "add-highlighter / ...: add a highlighter to the group identified by \n" " is a '/' delimited path or the parent highlighter, starting with either\n" " 'global', 'buffer', 'window' or 'shared', if is empty, it will be autogenerated", ParameterDesc{