plugins/treesitter: fix typo

This commit is contained in:
Gaetan Lepage 2023-12-21 12:17:00 +01:00 committed by Gaétan Lepage
parent ff7fe40bf6
commit ebe13a1d24

View file

@ -165,7 +165,7 @@ in {
+ ''
require('nvim-treesitter.configs').setup(${helpers.toLuaObject tsOptions})
''
+ (optionalString (cfg.languageRegister != null) ''
+ (optionalString (cfg.languageRegister != {}) ''
__parserFiltypeMappings = ${helpers.toLuaObject cfg.languageRegister}
for parser_name, ft in pairs(__parserFiltypeMappings) do