editor: use 'editor.lineWrapping' option on opening

This commit is contained in:
tophf 2017-12-03 01:52:46 +03:00
parent 904e6017f2
commit a5c3c2e895

View File

@ -11,7 +11,7 @@
const defaults = { const defaults = {
mode: 'css', mode: 'css',
lineNumbers: true, lineNumbers: true,
lineWrapping: true, lineWrapping: prefs.get('editor.lineWrapping'),
foldGutter: true, foldGutter: true,
gutters: [ gutters: [
'CodeMirror-linenumbers', 'CodeMirror-linenumbers',