[nvim] plug check and more comments

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-07-15 10:37:06 +02:00
parent 7cbc404094
commit b3752a2f32

View file

@ -1,4 +1,7 @@
" vim-plug plugin manager " vim-plug plugin manager
if filereadable(expand("~/.vim/autoload/plug.vim")) || filereadable(expand("~/.config/nvim/autoload/plug.vim")) || filereadable(expand("~\vimfiles\autoload\plug.vim"))
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
Plug 'benekastah/neomake' Plug 'benekastah/neomake'
@ -27,9 +30,16 @@ Plug 'kovisoft/slimv'
Plug 'freeo/vim-kalisi' Plug 'freeo/vim-kalisi'
Plug 'vim-scripts/java.vim' Plug 'vim-scripts/java.vim'
Plug 'vim-php/vim-phpunit' Plug 'vim-php/vim-phpunit'
Plug 'IN3D/vim-raml'
Plug 'zchee/deoplete-clang'
Plug 'parkr/vim-jekyll'
call plug#end() call plug#end()
else
echom "Didn't find Plug"
endif
set nocompatible set nocompatible
filetype indent plugin on filetype indent plugin on
@ -92,6 +102,7 @@ if has("gui_running")
set guifont=Hermit\ 10 set guifont=Hermit\ 10
endif endif
endif endif
set t_Co=256
set encoding=utf-8 set encoding=utf-8
set ffs=unix,dos,mac set ffs=unix,dos,mac
set textwidth=80 set textwidth=80
@ -194,13 +205,19 @@ set list
set clipboard+=unnamedplus set clipboard+=unnamedplus
" Plugin settings " Plugin settings
" airline
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='gruvbox' let g:airline_theme='gruvbox'
" deoplete
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#clang#libclang_path='/usr/lib/llvm-3.6/lib/libclang.so.1'
let g:deoplete#sources#clang#clang_header='/usr/lib/llvm-3.6/lib/clang/3.6.2/include/'
set grepprg=grep\ -nH\ $* set grepprg=grep\ -nH\ $*
" latexsuite
let g:tex_flavor='latex' let g:tex_flavor='latex'
let g:tex_fold_enabled=1 let g:tex_fold_enabled=1
let g:Tex_CompileRule_pdf = 'pdflatex --interaction=nonstopmode $*' let g:Tex_CompileRule_pdf = 'pdflatex --interaction=nonstopmode $*'