From c7b281939571e5a70e5b10f9ad3ee31bd6c554da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20B=C3=BCckendorf?= Date: Sat, 18 May 2019 00:21:35 +0200 Subject: [PATCH] neovim: Checking in changes I have been making to my config during work --- .config/nvim/init.vim | 7 ++++++- .github/README.md | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 0532012..f969378 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -3,11 +3,13 @@ call plug#begin() Plug 'semanser/vim-outdated-plugins' " Show trailing whitespaces (this could also easaly be achieved by settings Plug 'ntpeters/vim-better-whitespace' +Plug 'vim-airline/vim-airline' +Plug 'w0rp/ale' call plug#end() " Add a set of commands that will make the 80th column of a document visible highlight ColorColumn ctermbg=244 guibg=lightgrey -command Col let &colorcolumn=join(range(81,999),",") +command Col let &colorcolumn=join(range(81,100),",") command NoCol set colorcolumn= Col @@ -28,3 +30,6 @@ set scrolloff=2 " Classic set number +" Yaml Indent +"autocmd BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent +"autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab diff --git a/.github/README.md b/.github/README.md index 3986348..60be858 100644 --- a/.github/README.md +++ b/.github/README.md @@ -37,6 +37,8 @@ git --work-tree=$HOME --git-dir=$HOME/.dotgit checkout master - missing executables warnings - environment templates? (git.env!) - fix the umask +- Vim put the Yaml indent Stuff in a proper filetype detection script (ftplugin?) +- Vim also add cfn filetype for cfn-lint ## Echos to be replaced by msg() - fuck error msg