Skip to content

Instantly share code, notes, and snippets.

@dz1984
Created January 26, 2014 01:44
Show Gist options
  • Save dz1984/8626869 to your computer and use it in GitHub Desktop.
Save dz1984/8626869 to your computer and use it in GitHub Desktop.

EditorConfig

如何安裝

Clone Eitorcongi-Vim回來,並複制到 ~/.vim 即完成。

$ git clone https://github.com/editorconfig/editorconfig-vim.git

$ cd editorconfig-vim & cp -r doc/ autoload/ plugin/ ~/.vim
; See http://EditorConfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.ls]
; See https://github.com/gkz/LiveScript-style-guide
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment