From 34b928091aad347bc5a6eb6c0a81fdb5b23d652a Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 4 May 2014 12:10:32 +0400 Subject: [PATCH] Move some settings from .local.vimrc to .editorconfig Closes #865 as WONTFIX. It is better to have one .editorconfig then a number of editor-specific files. --- .editorconfig | 20 ++++++++++++++++++++ .local.vimrc | 4 ---- 2 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..94eab89c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# editorconfig ini file +# Check out http://editorconfig.org for a list of plugins for different +# IDEs/text editors that support this file. Vim plugin to support this: +# +# http://www.vim.org/scripts/script.php?script_id=3934 +# https://github.com/editorconfig/editorconfig-vim +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = tab +# Despite promise somewhere alignment is done only using tabs. Thus setting +# indent_size and tab_width is a requirement. +indent_size = 4 +tab_width = 4 +charset = utf-8 + +[*.rst] +indent_style = space diff --git a/.local.vimrc b/.local.vimrc index e9a3bf05..ac676144 100644 --- a/.local.vimrc +++ b/.local.vimrc @@ -4,9 +4,5 @@ " " [1]: http://www.vim.org/scripts/script.php?script_id=3393 " [2]: https://github.com/thinca/vim-localrc -setlocal noexpandtab -" Despite promise somewhere alignment is done only using tabs. Thus setting -" &tabstop is a requirement. -setlocal tabstop=4 let g:syntastic_python_flake8_args = '--ignore=W191,E501,E121,E122,E123,E128,E225,W291,E126' let b:syntastic_checkers = ['flake8']