diff --git a/lua/ibl/scope_languages.lua b/lua/ibl/scope_languages.lua index 496fcb3..52692f5 100644 --- a/lua/ibl/scope_languages.lua +++ b/lua/ibl/scope_languages.lua @@ -298,6 +298,27 @@ local M = { mlir = { region = true, }, + nim = { + ["if"] = true, + case = true, + try = true, + + ["for"] = true, + ["while"] = true, + block = true, + static_statement = true, + proc_declaration = true, + func_declaration = true, + method_declaration = true, + iterator_declaration = true, + converter_declaration = true, + template_declaration = true, + macro_declaration = true, + proc_expression = true, + func_expression = true, + iterator_expression = true, + concept_declaration = true, + }, nix = { let_expression = true, rec_attrset_expression = true,