Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #358 from hmps/stylus-preferences
Browse files Browse the repository at this point in the history
Stylus preferences
  • Loading branch information
sergeche committed Nov 24, 2015
2 parents dfeabeb + c3a94b9 commit d45f0be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion keymaps/emmet.cson
Expand Up @@ -30,7 +30,7 @@

# language-specific Tab triggers
# you can add more triggers by changing `grammar` attribute values
'atom-text-editor[data-grammar="text html basic"]:not([mini]), atom-text-editor[data-grammar~="erb"]:not([mini]), atom-text-editor[data-grammar~="jade"]:not([mini]), atom-text-editor[data-grammar~="css"]:not([mini]), atom-text-editor[data-grammar~="sass"]:not([mini])':
'atom-text-editor[data-grammar="text html basic"]:not([mini]), atom-text-editor[data-grammar~="erb"]:not([mini]), atom-text-editor[data-grammar~="jade"]:not([mini]), atom-text-editor[data-grammar~="css"]:not([mini]), atom-text-editor[data-grammar~="stylus"]:not([mini]), atom-text-editor[data-grammar~="sass"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'

'.platform-darwin atom-text-editor:not([mini])':
Expand Down
3 changes: 3 additions & 0 deletions lib/emmet.coffee
Expand Up @@ -17,6 +17,9 @@ singleSelectionActions = [

toggleCommentSyntaxes = ['html', 'css', 'less', 'scss']

for k, v of atom.config.get 'emmet.stylus'
emmet.preferences.set('stylus.' + k, v);

getUserHome = () ->
if process.platform is 'win32'
return process.env.USERPROFILE
Expand Down

0 comments on commit d45f0be

Please sign in to comment.