mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-28 17:13:45 +03:00
15 lines
459 B
CoffeeScript
15 lines
459 B
CoffeeScript
# 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:
|
|
#
|
|
# path = require 'path'
|
|
#
|
|
# atom.workspaceView.eachEditorView (editorView) ->
|
|
# editor = editorView.getEditor()
|
|
# if path.extname(editor.getPath()) is '.md'
|
|
# editor.setSoftWrap(true)
|