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

@ -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;
};