mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
plugins/treesitter: fix typo
This commit is contained in:
parent
ff7fe40bf6
commit
ebe13a1d24
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ in {
|
||||||
+ ''
|
+ ''
|
||||||
require('nvim-treesitter.configs').setup(${helpers.toLuaObject tsOptions})
|
require('nvim-treesitter.configs').setup(${helpers.toLuaObject tsOptions})
|
||||||
''
|
''
|
||||||
+ (optionalString (cfg.languageRegister != null) ''
|
+ (optionalString (cfg.languageRegister != {}) ''
|
||||||
__parserFiltypeMappings = ${helpers.toLuaObject cfg.languageRegister}
|
__parserFiltypeMappings = ${helpers.toLuaObject cfg.languageRegister}
|
||||||
|
|
||||||
for parser_name, ft in pairs(__parserFiltypeMappings) do
|
for parser_name, ft in pairs(__parserFiltypeMappings) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue