treewide: fix typos (#1217)

This commit is contained in:
Loïc Reynier 2024-03-07 19:44:13 +01:00 committed by GitHub
parent e9564ac336
commit 233feeb8d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 123 additions and 96 deletions

View file

@ -13,7 +13,7 @@ with lib; let
borderOpt = helpers.defaultNullOpts.mkBorder "none" "clangd-extensions" "";
in {
# All of those warnings were introduced on 08/22/2023.
# TODO: Remove them in ~2 monts (Oct. 2023).
# TODO: Remove them in ~2 months (Oct. 2023).
imports =
[
(

View file

@ -182,7 +182,7 @@ in {
stderr = {
enable = helpers.defaultNullOpts.mkBool true ''
Redirect Lean's stderr messages somehwere (to a buffer by default).
Redirect Lean's stderr messages somewhere (to a buffer by default).
'';
height = helpers.defaultNullOpts.mkPositiveInt 5 "Height of the window.";

View file

@ -119,7 +119,7 @@ with helpers.vim-plugin;
Scroll type:
- "middle": The cursor position is always shown at the middle of the preview page.
- "top": The vim top viewport is always shown at the top of the preview page.
- "relative": The cursor position is always shown at the relative positon of the preview page.
- "relative": The cursor position is always shown at the relative position of the preview page.
'';
hide_yaml_meta = helpers.defaultNullOpts.mkBool true ''

View file

@ -107,7 +107,7 @@ in {
'';
pipe = helpers.mkNullOrStr ''
Overide the pipe symbol in the shell command.
Override the pipe symbol in the shell command.
Useful if using a shell that is not supported by this plugin.
'';
};

View file

@ -33,7 +33,7 @@ in {
mkList ''["Classic" "VirtualTextOk"]''
''
You can combo different display modes as desired and with the 'Ok' or 'Err' suffix to filter
only sucessful runs (or errored-out runs respectively)
only successful runs (or errored-out runs respectively)
Example:
```nix

View file

@ -69,7 +69,7 @@ with lib; {
description = ''
go to the definition of the symbol under the cursor or use vim.lsp.buf.definition if
the symbol can not be resolved. You can use your own fallback function if create a
mapping fo `lua require'nvim-treesitter.refactor.navigation(nil, fallback_function)<cr>`.
mapping for `lua require'nvim-treesitter.refactor.navigation(nil, fallback_function)<cr>`.
'';
};
listDefinitions = mkOption {

View file

@ -180,9 +180,9 @@ in {
require('nvim-treesitter.configs').setup(${helpers.toLuaObject tsOptions})
''
+ (optionalString (cfg.languageRegister != {}) ''
__parserFiltypeMappings = ${helpers.toLuaObject cfg.languageRegister}
__parserFiletypeMappings = ${helpers.toLuaObject cfg.languageRegister}
for parser_name, ft in pairs(__parserFiltypeMappings) do
for parser_name, ft in pairs(__parserFiletypeMappings) do
require('vim.treesitter.language').register(parser_name, ft)
end
'');

View file

@ -20,7 +20,7 @@ with lib; {
type = types.bool;
default = true;
description = ''
Whethter to skip backwards compatibility routines and speed up loading.
Whether to skip backwards compatibility routines and speed up loading.
'';
example = false;
};

View file

@ -126,7 +126,7 @@ in {
"WARNING: Experimental feature also in VSCode, disabled by default because it might impact server performance.";
disableMemberCodeLens = helpers.defaultNullOpts.mkBool true ''
By default code lenses are displayed on all referencable values. Display less by removing member references from lenses.
By default code lenses are displayed on all referenceable values. Display less by removing member references from lenses.
'';
jsxCloseTag = {