Procházet zdrojové kódy

Add unused vim colorscheme and set yaml indent width

Taddeus Kroes před 8 měsíci
rodič
revize
7d40212acf
2 změnil soubory, kde provedl 7 přidání a 2 odebrání
  1. 1 1
      vim/bundle/Vundle.vim
  2. 6 1
      vimrc

+ 1 - 1
vim/bundle/Vundle.vim

@@ -1 +1 @@
-Subproject commit 88688fe453038ac1ac26e31646cfbec50fca2fb7
+Subproject commit 5548a1a937d4e72606520c7484cd384e6c76b565

+ 6 - 1
vimrc

@@ -16,6 +16,7 @@ Plugin 'vim-syntastic/syntastic'
 Plugin 'kongo2002/fsharp-vim'
 Plugin 'amiralies/vim-rescript'
 Plugin 'jordwalke/vim-reasonml'
+"Plugin 'jacoborus/tender.vim'  " tender colorscheme
 
 call vundle#end()
 filetype plugin indent on
@@ -49,6 +50,10 @@ set completeopt-=preview
 set t_Co=88
 if $TERM == 'xterm-256color' | set t_Co=256 | endif
 
+if (has("termguicolors"))
+ set termguicolors
+endif
+
 " Color scheme
 "set background=dark
 if &diff
@@ -149,7 +154,7 @@ cmap w!! w !sudo tee % >/dev/null
 " ---------------
 
 " Some files only have 2 spaces indent
-autocmd FileType css,less,sass,html,ocaml,bib,llvm,tex,markdown set shiftwidth=2
+autocmd FileType css,less,sass,html,ocaml,bib,llvm,tex,markdown,yaml set shiftwidth=2 tabstop=2
 
 " Make pfd's readable
 autocmd BufReadPre *.pdf set ro nowrap