Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Log Highlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,10 @@ def run(self, edit):

class LogHighlightSetAsBaseCommand(sublime_plugin.TextCommand):

def is_visible(self):
srch_opt = get_prefs().get('search_base', [])
return srch_opt.get('sidebar_enable', True)

def run(self, edit, **args):
try:
path = args.get('paths', [])[0]
Expand Down
3 changes: 2 additions & 1 deletion Log Highlight.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
// hidden folders are ignored as default, like .git, .svn
"ignore_dir" : [""],
// adjust when using network like samba
"max_scan_path" : 1000
"max_scan_path" : 1000,
"sidebar_enable": true
},

// summary panel
Expand Down