Stop git from changing line endings on Windows and add support for editorconfig in vim

This commit is contained in:
2023-03-16 16:26:18 -04:00
parent 4464e4f681
commit 28c88ca5f1
5 changed files with 59 additions and 6 deletions

6
vimrc
View File

@@ -213,6 +213,7 @@ Plug 'vim-scripts/AnsiEsc.vim' " Ansi escape sequences concealed, but hig
Plug 'sir-pinecone/errormarker.vim' " Build error highlighting (requires skywind3000/asyncrun.vim).
Plug 'skywind3000/asyncrun.vim' " Async commands.
Plug 'nelstrom/vim-qargs' " For the GlobalReplaceIt function (i.e. search and replace).
Plug 'editorconfig/editorconfig-vim' " Adds support for .editorconfig files.
if IsWindows()
Plug 'suxpert/vimcaps' " Disable capslock (useful if the OS isn't configured to do so).
@@ -722,6 +723,11 @@ inoremap <s-tab> <c-n>
let g:localvimrc_sandbox = 0
let g:localvimrc_ask = 0
"##################################################################################
" EDITOR CONFIG
"##################################################################################
let g:EditorConfig_exclude_patterns = ['fugitive://.*']
"##################################################################################
" LION (TEXT ALIGNMENT)
"##################################################################################