Use soft wrap instead of font size in example hack

Esse commit está contido em:
Kevin Sawicki
2014-02-07 09:38:20 -08:00
commit fbdf16a8fa
+4 -3
Ver Arquivo
@@ -4,10 +4,11 @@
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to make opened Markdown files have larger text:
# An example hack to make opened Markdown files always be soft wrapped:
#
# path = require 'path'
#
# atom.workspaceView.eachEditorView (editorView) ->
# if path.extname(editorView.getEditor().getPath()) is '.md'
# editorView.setFontSize(24)
# editor = editorView.getEditor()
# if path.extname(editor.getPath()) is '.md'
# editor.setSoftWrap(true)