simplified editor's options management
This commit is contained in:
@@ -48,16 +48,16 @@
|
||||
mode: { name: '{{=filetype}}'{{if filetype=='python':}},version: 2,singleLineStringErrors: false, {{pass}} },
|
||||
{{pass}}
|
||||
lineNumbers: true,
|
||||
indentUnit: current_tabwidth,
|
||||
indentWithTabs: current_indentwithtabs,
|
||||
tabSize: current_tabwidth,
|
||||
indentUnit: {{=editor_settings['tabwidth']}},
|
||||
indentWithTabs: {{=editor_settings['indentwithtabs']}},
|
||||
tabSize: {{=editor_settings['tabwidth']}},
|
||||
styleActiveLine: true,
|
||||
autoCloseTags: current_closetag,
|
||||
theme: current_theme,
|
||||
autoCloseTags: {{=editor_settings['closetag']}},
|
||||
theme: "{{=editor_settings['theme']}}",
|
||||
lineWrapping: true,
|
||||
foldGutter: current_codefolding,
|
||||
foldGutter: {{=editor_settings['codefolding']}},
|
||||
gutters: ["CodeMirror-linenumbers", "breakpoints", "CodeMirror-foldgutter"],
|
||||
keyMap: current_editor,
|
||||
keyMap: "{{=editor_settings['editor']}}",
|
||||
matchBrackets: true,
|
||||
autofocus: false,
|
||||
height: "350px",
|
||||
|
||||
Reference in New Issue
Block a user