We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
auto_install
false
1 parent 34b3369 commit 3d19180Copy full SHA for 3d19180
lua/rocks_treesitter/config.lua
@@ -39,7 +39,7 @@ config.auto_highlight = opts.auto_highlight == "all" and "all"
39
acc[lang] = true
40
return acc
41
end)
42
-config.auto_install = opts.auto_install ~= nil and opts.auto_install or config.auto_install
+config.auto_install = vim.F.if_nil(opts.auto_install, config.auto_install)
43
config.parser_map = vim.tbl_extend("force", config.parser_map, opts.parser_map or {})
44
45
return config
0 commit comments