Add command to open ~/.atom/user.less in an editor

This commit is contained in:
Kevin Sawicki
2014-01-17 12:57:06 -08:00
parent 3c8cb557ed
commit 59c4c15afd
3 changed files with 7 additions and 1 deletions

View File

@@ -38,6 +38,10 @@ class Workspace extends Model
paneContainer: @paneContainer.serialize()
fullScreen: atom.isFullScreen()
# Private: Open ~/.atom/user.less or ~/.atom.user.css
openUserStylesheet: ->
@open(atom.themes.getUserStylesheetPath())
# Public: Asynchronously opens a given a filepath in Atom.
#
# * filePath: A file path