From bf8ba704fb53ede4813d7b6d278c1aabddf28ea4 Mon Sep 17 00:00:00 2001 From: Victor Doval <10011941+vicdoval@users.noreply.github.com> Date: Thu, 30 Apr 2020 00:06:39 +0200 Subject: [PATCH] snl macros location --- utils/sv_default_macros.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/sv_default_macros.py b/utils/sv_default_macros.py index a8f6b2324..134ddf7f6 100644 --- a/utils/sv_default_macros.py +++ b/utils/sv_default_macros.py @@ -186,6 +186,7 @@ class DefaultMacros(): elif 'snl' in term: file = term.split(' ')[1] snlite = nodes.new('SvScriptNodeLite') + snlite.location = context.space_data.cursor_location sn_loader(snlite, script_name=file) elif term == 'monad info': -- GitLab