Skip to content

Commit 7504f48

Browse files
committed
fixed not being able to file global root
1 parent 5db16e4 commit 7504f48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

notes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def insert_title(self, title, tag, view):
174174
class NotesEvents(sublime_plugin.EventListener):
175175

176176
def on_load_async(self, view):
177+
global root
177178
if view.settings().get("is_note") or not view.file_name():
178179
return
179180
if os.path.realpath(view.file_name()).startswith(root):

0 commit comments

Comments
 (0)