Skip to content

Commit

Permalink
Move sublime-* files to package root
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Jan 7, 2024
1 parent 15e7557 commit 7f103fe
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"caption": "Preferences: A File Icon Settings",
"command": "edit_settings", "args":
{
"base_file": "${packages}/A File Icon/.sublime/A File Icon.sublime-settings",
"base_file": "${packages}/A File Icon/A File Icon.sublime-settings",
"default": "// A File Icon Preferences – User\n// ================================================================\n{\n\t$0\n}\n"
}
}
Expand Down
2 changes: 1 addition & 1 deletion .sublime/Main.sublime-menu → Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"caption": "Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/A File Icon/.sublime/A File Icon.sublime-settings",
"base_file": "${packages}/A File Icon/A File Icon.sublime-settings",
"default": "// A File Icon Preferences – User\n// ================================================================\n{\n\t$0\n}\n"
}
},
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def add_listener():
log("Initializing settings")
path = "Packages/{0}/.sublime/{1}".format(PACKAGE_NAME, PACKAGE_SETTINGS)
path = "Packages/{0}/{1}".format(PACKAGE_NAME, PACKAGE_SETTINGS)
settings = sublime.load_settings(PACKAGE_SETTINGS)
for key in sublime.decode_value(sublime.load_resource(path)).keys():
if key not in ("dev_mode", "dev_trace"):
Expand Down

0 comments on commit 7f103fe

Please sign in to comment.