mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
treewide: fix typos (#1217)
This commit is contained in:
parent
e9564ac336
commit
233feeb8d2
50 changed files with 123 additions and 96 deletions
|
@ -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 =
|
||||
[
|
||||
(
|
||||
|
|
|
@ -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.";
|
||||
|
|
|
@ -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 ''
|
||||
|
|
|
@ -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.
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
'');
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue