[nvim] Change color theme to "one", enable spell

This commit is contained in:
M1dgard 2018-08-19 01:17:27 +02:00
parent 01f4c2df7e
commit 5790bb6b72
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -149,12 +149,6 @@ inoremap <leader>aahl ⇔ | inoremap <leader>aalh ⇔
nnoremap v <C-v>
nnoremap <C-v> v
" Color settings {{{2
" Decent color schemes: ron, delek, peachpuff, slate, murphy, elflord, desert
source /usr/share/nvim/runtime/colors/ron.vim
highlight LineNr ctermfg=08 ctermbg=None
highlight link Whitespace Conceal
" Adding modeline {{{2
" Append modeline after last line in buffer.
" Use substitute() instead of printf() to handle '%%s' modeline in LaTeX
@ -167,9 +161,15 @@ function! AppendModeline()
endfunction
nnoremap <silent> <leader>ml :call AppendModeline()<CR>
" Spell check {{{2
" ================
set spell
set spelllang=en_us,nl
set spellfile=$HOME/.local/share/nvim/spellfile.utf-8.add
" Plugins {{{1
" ============
" Plug-ins {{{1
" =============
" Plug {{{2
" ------------
@ -177,6 +177,7 @@ call plug#begin('~/.config/nvim/plug')
" Colors
"Plug 'chriskempson/base16-vim'
Plug 'rakr/vim-one'
" Language support
Plug 'sheerun/vim-polyglot' " color, indentation support for 100+ languages
@ -238,6 +239,16 @@ call plug#begin('~/.config/nvim/plug')
call plug#end()"
" One {{{2
" --------
set termguicolors
set cursorline
let g:one_allow_italics = 1
colorscheme one
set background=dark
hi Normal guibg=NONE
hi SpellBad guibg=NONE
hi link Whitespace Conceal
" Haskell {{{2
" ------------
@ -472,7 +483,7 @@ let g:gutentags_cache_dir = '~/.cache/gutentag'
" Airline {{{2
" ------------
let g:airline_powerline_fonts=1
let g:airline_theme='minimalist'
let g:airline_theme='one'
let g:airline#extensions#ycm#enabled=1
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#ale#enabled=1