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