Mercurial > dotfiles
comparison dot_config/nvim/init.vim @ 374:c141a5571a07
Clean up init.vim
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 07 Apr 2021 18:12:55 +0200 |
parents | d535995f87ef |
children | 536cd19a8c6e |
comparison
equal
deleted
inserted
replaced
373:0cd97c736cc1 | 374:c141a5571a07 |
---|---|
2 | 2 |
3 let s:darwin = has('mac') | 3 let s:darwin = has('mac') |
4 let s:windows = has('win32') | 4 let s:windows = has('win32') |
5 | 5 |
6 luafile ~/.config/nvim/config.lua | 6 luafile ~/.config/nvim/config.lua |
7 command! PackerLoad lua packer_enable() | |
8 | 7 |
9 " Activate built in plugins {{{ | 8 " Activate built in plugins {{{ |
10 if !has('nvim') | 9 if !has('nvim') |
11 if has('packages') | 10 if has('packages') |
12 packadd! matchit | 11 packadd! matchit |
56 \ } | 55 \ } |
57 \} | 56 \} |
58 | 57 |
59 set termguicolors | 58 set termguicolors |
60 | 59 |
61 let g:one_allow_italics=1 | |
62 let g:nvcode_termcolors=256 | |
63 colorscheme one | |
64 set background=dark | 60 set background=dark |
65 | 61 |
66 if s:windows | 62 if s:windows |
67 set background=light | 63 set background=light |
68 colorscheme PaperColor | 64 colorscheme PaperColor |