From 259357fa4097e232730341fa60988087d189193a Mon Sep 17 00:00:00 2001 From: janAkali <60652075+janAkali@users.noreply.github.com> Date: Wed, 4 Dec 2024 07:14:24 +0000 Subject: [PATCH] feat: Add Nim to scope languages (#951) --- lua/ibl/scope_languages.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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,