pulsar/dot-atom/init.coffee

15 lines
462 B
CoffeeScript
Raw Normal View History

2014-02-07 21:32:38 +04:00
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files always be soft wrapped:
2014-02-07 21:32:38 +04:00
#
# path = require 'path'
#
# atom.workspaceView.eachEditorView (editorView) ->
# editor = editorView.getEditor()
# if path.extname(editor.getPath()) is '.md'
# editor.setSoftWrapped(true)