Skip to content

Platform specific configuration and Environment variable expansion#77

Merged
colinta merged 1 commit into
colinta:masterfrom
Starli0n:master
Mar 20, 2017
Merged

Platform specific configuration and Environment variable expansion#77
colinta merged 1 commit into
colinta:masterfrom
Starli0n:master

Conversation

@Starli0n

Copy link
Copy Markdown
Contributor

Hi,

In this PR, there is two new features:

  • Platform specific configuration in User folder
    (Platform settings take precedence on generic settings)
  • Environment variable expansion
    (Replace environment variable in path set in the configuration files)

Thank you

Comment thread file_diffs.py Outdated
def settings(self):
return sublime.load_settings('FileDiffs.sublime-settings')
def get_setting(self, key, default=None):
print('FileDiffs.sublime-settings')

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small thing, but could you remove this print?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, it was for a debug purpose.
I forgot to remove it. My bad.

@colinta

colinta commented Mar 17, 2017

Copy link
Copy Markdown
Owner

Looks great! Just gonna wait on removing the debug print() statement, then it's good to merge.

@Starli0n

Copy link
Copy Markdown
Contributor Author

Done :-)

@colinta colinta merged commit 2b5db2e into colinta:master Mar 20, 2017
@colinta

colinta commented Mar 20, 2017

Copy link
Copy Markdown
Owner

Thanks! I pushed this up as 2.8.0. It just now occurred to me that we should mention this feature in the README.

@Starli0n

Copy link
Copy Markdown
Contributor Author

True! I created another PR #78 for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants