Skip to content

Commit

Permalink
plugins/treesitter: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Dec 22, 2023
1 parent ff7fe40 commit ebe13a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/languages/treesitter/treesitter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebe13a1

Please sign in to comment.