aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/init.vim15
1 files changed, 8 insertions, 7 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index f5ccb7d..874779a 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -23,17 +23,20 @@ call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-surround'
Plug 'mcchrish/nnn.vim'
+ Plug 'brainfucksec/wal.vim'
+ Plug 'pearofducks/ansible-vim'
call plug#end()
" Some basics:
filetype plugin on
syntax on
+ colorscheme wal
"colorscheme koehler
set noswapfile
set encoding=utf-8
set number
set relativenumber
- set cursorline
+ "set cursorline
let mapleader = ","
set pastetoggle=<leader>v
nmap <leader>, :w<cr>
@@ -108,12 +111,10 @@ call plug#end()
autocmd BufRead,BufNewFile *.tex set filetype=tex
" Ansible settings
- au BufRead,BufNewFile */playbooks/*.yaml set filetype=yaml.ansible
- au BufRead,BufNewFile */tasks/*.yaml set filetype=yaml.ansible
- au BufRead,BufNewFile */group_vars/*.yaml set filetype=yaml.ansible
- au BufRead,BufNewFile *.j2 set filetype=yaml.ansible
- let g:ansible_attribute_highlight = "ad"
- let g:ansible_name_highlight = 'd'
+ au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
+ let g:ansible_unindent_after_newline = 1
+ let g:ansible_attribute_highlight = "ob"
+ let g:ansible_name_highlight = 'b'
let g:ansible_extra_keywords_highlight = 1
let g:ansible_normal_keywords_highlight = 'Constant'
let g:ansible_with_keywords_highlight = 'Constant'