Update indenting for config file

This commit is contained in:
Sonny 2020-04-12 21:13:10 +02:00
parent 67a0e07fbd
commit 27c5ae35de

View file

@ -1,3 +1,4 @@
" vim:set ts=2 sw=2 et:
" indent, load plugin and detect filetype depending on filetype
filetype indent plugin on
set autoindent
@ -13,15 +14,15 @@ set splitbelow
" colorscheme
if exists('+termguicolors')
" enable termguicolors correctly for terminals other than
" xterm-256color see https://github.com/vim/vim/issues/993
" also see :h xterm-true-color
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
" enable termguicolors correctly for terminals other than
" xterm-256color see https://github.com/vim/vim/issues/993
" also see :h xterm-true-color
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors
set background=dark
colorscheme space_vim_theme
set background=dark
colorscheme space_vim_theme
endif
" syntax on
@ -105,7 +106,7 @@ endfunction
" persistent undo history
if !isdirectory("/tmp/vim-undo")
call mkdir("/tmp/vim-undo", "", 0700)
call mkdir("/tmp/vim-undo", "", 0700)
endif
set undodir=/tmp/vim-undo
set undofile