diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-07-08 15:58:50 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2023-07-08 16:06:46 +0200 |
commit | 0a90e4b05ad3263bf656e24f616b6dadf6ba92e4 (patch) | |
tree | fd0846481d7a5c8281854cd81f36cb12ccaacbbe | |
parent | 6318edadc32acce3ed41a6995a5faa5395b5f562 (diff) | |
download | rneovim-0a90e4b05ad3263bf656e24f616b6dadf6ba92e4.tar.gz rneovim-0a90e4b05ad3263bf656e24f616b6dadf6ba92e4.tar.bz2 rneovim-0a90e4b05ad3263bf656e24f616b6dadf6ba92e4.zip |
fix(docs): match DocSearch style with site theme
ref https://github.com/neovim/neovim.github.io/commit/2b4f9e47809c16743f7d31d0dc1f1e3c2f313a56
-rw-r--r-- | runtime/doc/pattern.txt | 4 | ||||
-rw-r--r-- | scripts/gen_help_html.lua | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 7ea3b7df76..d74757de4f 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -72,7 +72,7 @@ N Repeat the latest "/" or "?" [count] times in command "/\<keyword\>". |exclusive| 'ignorecase' is used, 'smartcase' is not. *v_star-default* - In Visual mode, search forward for the current selection. +{Visual}* In Visual mode, search forward for the current selection. |default-mappings| *#* @@ -81,7 +81,7 @@ N Repeat the latest "/" or "?" [count] times in backspace, try using "stty erase <BS>" before starting Vim (<BS> is CTRL-H or a real backspace). *v_#-default* - In Visual mode, search backward for the current selection. +{Visual}# In Visual mode, search backward for the current selection. |default-mappings| *gstar* diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua index 5575de5b36..1b997a5614 100644 --- a/scripts/gen_help_html.lua +++ b/scripts/gen_help_html.lua @@ -709,16 +709,17 @@ local function gen_one(fname, to_fname, old, commit, parser_path) <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Neovim user documentation"> + + <!-- algolia docsearch https://docsearch.algolia.com/docs/docsearch-v3/ --> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" /> + <link rel="preconnect" href="https://X185E15FPG-dsn.algolia.net" crossorigin /> + <link href="/css/normalize.min.css" rel="stylesheet"> <link href="/css/bootstrap.css" rel="stylesheet"> <link href="/css/main.css" rel="stylesheet"> <link href="help.css" rel="stylesheet"> <link href="/highlight/styles/neovim.min.css" rel="stylesheet"> - <!-- algolia docsearch https://docsearch.algolia.com/docs/docsearch-v3/ --> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" /> - <link rel="preconnect" href="https://X185E15FPG-dsn.algolia.net" crossorigin /> - <script src="/highlight/highlight.min.js"></script> <script>hljs.highlightAll();</script> <title>%s - Neovim docs</title> |