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.
1 parent 2e57e1b commit 3af6493Copy full SHA for 3af6493
lua/ibl/scope.lua
@@ -76,7 +76,7 @@ M.get = function(bufnr, config)
76
local type = node:type()
77
78
if
79
- (scope_lang[lang][type] and not utils.tbl_contains(excluded_node_types, type))
+ ((scope_lang[lang] and scope_lang[lang][type]) and not utils.tbl_contains(excluded_node_types, type))
80
or utils.tbl_contains(include_node_types, type)
81
or utils.tbl_contains(include_node_types, "*")
82
then
0 commit comments