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)
Jonathan Hodgson 4 years ago
parent 665c8a06ea
commit 2d3dcfc7d9
  1. 10
      nvim/.config/nvim/init.vim
  2. 3
      nvim/.config/nvim/plugin/plugins.vim

@ -1,2 +1,12 @@
let mapleader = "\<Space>"
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…
Cancel
Save