syntax on needs to be run after the plugins are loader otherwise their
ftdetect won't be evaluated.
source: b98553808d (diff-f1ac6cb94fa93f38916c6118994b11e3R197-R204)
master
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…
Reference in new issue