Skip to content

Instantly share code, notes, and snippets.

@akovalyov
Created May 20, 2015 12:10
Show Gist options
  • Save akovalyov/bd2f7331b27a8246dce1 to your computer and use it in GitHub Desktop.
Save akovalyov/bd2f7331b27a8246dce1 to your computer and use it in GitHub Desktop.
Editor config for Symfony2 project
; top-most EditorConfig(editorconfig.org) file
root = true
[*]
end_of_line = LF
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
[*.php]
indent_size = 4
[*.yml]
indent_size = 4
[*.js]
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[{.travis.yml,package.json}]
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2
#ignore minified
[*.min.*]
indent_style = ignore
trim_trailing_whitespace = false
insert_final_newline = ignore
@PedroTroller
Copy link

:%s/conig/config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment