Skip to content

Instantly share code, notes, and snippets.

@paulfryzel
Created May 23, 2013 00:52
Show Gist options
  • Save paulfryzel/5632058 to your computer and use it in GitHub Desktop.
Save paulfryzel/5632058 to your computer and use it in GitHub Desktop.
".editorconfig
root = true
bundle/vim-jsbeautify/plugin/lib/beautify.js
[**.js]
; Path to the external file format
; The default is taken from the lib folder inside the folder extension.
path=~/.vim/bundle/vim-jsbeautify/plugin/lib/beautify.js
; Javascript interpreter to be invoked by default 'node'
bin=node
space_after_anon_function = true
indent_style = space
indent_size = 2
indent_level = 0
preserve_newlines = true
max_preserve_newlines = 10
brace_style = collapse
keep_array_indentation = false
keep_function_indentation = false
space_before_conditional = true
eval_code = false
indent_case = false
unescape_strings = false
space_after_anon_function = true
[**.css]
path=~/.vim/bundle/vim-jsbeautify/plugin/lib/beautify-css.js
indent_style = space
indent_size = 2
[**.html]
; Using special comments
; And such comments or apply only in global configuration
; So it's best to avoid them
;vim:path=~/.vim/bundle/vim-jsbeautify/plugin/lib/beautify-html.js
;vim:max_char=78:brace_style=expand
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment