diff --git a/utils/sv_default_macros.py b/utils/sv_default_macros.py index a8f6b23247232888fbb8c44adccab1c7f7157894..134ddf7f6e55e89b507eea05bda308c0a5d73c9f 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':