add editor config setup to vim
This commit is contained in:
parent
cb7aacd794
commit
d62375a340
@ -1,7 +1,7 @@
|
|||||||
" File : .vimrc
|
" File : init.vim
|
||||||
" Author : Jeff LANCE <email@jefflance.me>
|
" Author : Jeff LANCE <email@jefflance.me>
|
||||||
" Date : 15.04.2015
|
" Date : 15.04.2015
|
||||||
" Last Modified Date: 27.01.2021
|
" Last Modified Date: 03.03.2021
|
||||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
@ -471,6 +471,16 @@ let g:deoplete#enable_at_startup = 0
|
|||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
|
" Editorconfig {{{
|
||||||
|
" -----
|
||||||
|
|
||||||
|
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
|
||||||
|
au FileType gitcommit let b:EditorConfig_disable = 1
|
||||||
|
|
||||||
|
" -----
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
" FZF {{{
|
" FZF {{{
|
||||||
" -----
|
" -----
|
||||||
|
|
||||||
@ -498,7 +508,7 @@ endif
|
|||||||
|
|
||||||
let g:header_field_author = 'Jeff LANCE'
|
let g:header_field_author = 'Jeff LANCE'
|
||||||
let g:header_field_author_email = 'email@jefflance.me'
|
let g:header_field_author_email = 'email@jefflance.me'
|
||||||
let g:header_auto_add_header = 0
|
let g:header_auto_add_header = 1
|
||||||
|
|
||||||
" -----
|
" -----
|
||||||
" }}}
|
" }}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
" File : plug.vim
|
" File : plug.vim
|
||||||
" Author : Jeff LANCE <email@jefflance.me>
|
" Author : Jeff LANCE <email@jefflance.me>
|
||||||
" Date : 15.04.2015
|
" Date : 15.04.2015
|
||||||
" Last Modified Date: 24.06.2020
|
" Last Modified Date: 03.03.2021
|
||||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||||
|
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
@ -51,6 +51,9 @@ Plug 'roxma/vim-hug-neovim-rpc'
|
|||||||
" Buffer exploration
|
" Buffer exploration
|
||||||
Plug 'bagrat/vim-buffet', { 'as': 'buffet' }
|
Plug 'bagrat/vim-buffet', { 'as': 'buffet' }
|
||||||
|
|
||||||
|
" Editorconfig
|
||||||
|
Plug 'editorconfig/editorconfig-vim'
|
||||||
|
|
||||||
" Folding
|
" Folding
|
||||||
Plug 'Konfekt/FastFold'
|
Plug 'Konfekt/FastFold'
|
||||||
|
|
||||||
|
@ -10,21 +10,28 @@ root = true
|
|||||||
[{*,.*}]
|
[{*,.*}]
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
max_line_length = 80
|
max_line_length = 80
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
||||||
[*.py]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 4
|
|
||||||
max_line_length = 79
|
|
||||||
|
|
||||||
[{Makefile,makefile,*.mk}]
|
[{Makefile,makefile,*.mk}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
|
[*.py]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
max_line_length = 79
|
||||||
|
|
||||||
[*.sh]
|
[*.sh]
|
||||||
|
indent_style = space
|
||||||
max_line_length = 0
|
max_line_length = 0
|
||||||
|
|
||||||
|
[*.vim]
|
||||||
|
indent_style = space
|
||||||
|
max_line_length = 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user