VIM: Moves plugins to init.vim and adds syntax and filetype on
syntax on needs to be run after the plugins are loader otherwise their
ftdetect won't be evaluated.
source: b98553808d (diff-f1ac6cb94fa93f38916c6118994b11e3R197-R204)
This commit is contained in:
parent
40e3ec0081
commit
fbf82ca323
2 changed files with 10 additions and 3 deletions
|
@ -1,2 +1,12 @@
|
||||||
let mapleader = "\<Space>"
|
let mapleader = "\<Space>"
|
||||||
let maplocalleader = "\\"
|
let maplocalleader = "\\"
|
||||||
|
|
||||||
|
if has('packages')
|
||||||
|
packadd! gruvbox
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Enables filetype detection as well as filetype specific indent rules and
|
||||||
|
" plugins
|
||||||
|
filetype indent plugin on "
|
||||||
|
" Enables filetype specific syntaxs
|
||||||
|
syntax on
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
if has('packages')
|
|
||||||
packadd! gruvbox
|
|
||||||
endif
|
|
Loading…
Add table
Add a link
Reference in a new issue