]> git.zndr.dk Git - dotfiles.git/commitdiff
Add errormarker to vim
authorJannik Zander <59698@grundfos.com>
Fri, 13 Jul 2018 16:49:56 +0000 (18:49 +0200)
committerJannik Zander <59698@grundfos.com>
Fri, 13 Jul 2018 16:49:56 +0000 (18:49 +0200)
.gitmodules
.vim/pack/github/opt/errormarker.vim [new submodule]
.vim/vimrc

index f354094d267729d54e9b4b0c67c95d64af1f8fb4..126069480a9b61515ec0dfb2f192fffd2fa68c7d 100644 (file)
@@ -49,3 +49,6 @@
 [submodule ".vim/pack/github/opt/asyncrun.vim"]
        path = .vim/pack/github/opt/asyncrun.vim
        url = https://github.com/skywind3000/asyncrun.vim.git
+[submodule ".vim/pack/github/opt/errormarker.vim"]
+       path = .vim/pack/github/opt/errormarker.vim
+       url = https://github.com/mh21/errormarker.vim.git
diff --git a/.vim/pack/github/opt/errormarker.vim b/.vim/pack/github/opt/errormarker.vim
new file mode 160000 (submodule)
index 0000000..66ab8e0
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 66ab8e0a356ea8a971e99156c59d09c3beae5ef2
index 6d9fc3cf08d028a8a4c29215e082757391d8b5be..7893fbdfe60281b893e3d6d962096b52a41b6051 100644 (file)
@@ -182,12 +182,16 @@ packadd! matchit
 packadd asyncrun.vim
 let g:asyncrun_open = 8
 let g:asyncrun_status = "stopped" 
+let g:asyncrun_auto = "make"
 let g:airline_section_error = airline#section#create_right(['%{g:asyncrun_status}'])
 command! -bang -nargs=* -complete=file Make AsyncRun -program=make @ <args>
 augroup asyncrun
   autocmd QuickFixCmdPost * call asyncrun#quickfix_toggle(8, 1)
 augroup END
 
+" Error markers
+packadd errormarker.vim
+
 " Normal mode Mappings
 nnoremap ;                  :
 nnoremap :                  ;
@@ -217,7 +221,6 @@ tnoremap <C-l>              <C-\><C-n><C-w>l
 
 " Autocommands
 if has('autocmd')
-  " Put these in an autocmd groups, so that we can delete them easily.
   augroup filetypes 
     autocmd!
     autocmd bufnewfile,buffilepre,bufread *.md     set filetype=markdown
@@ -243,8 +246,6 @@ if has('autocmd')
     autocmd bufwritepost ~/.vim/vimrc source %
     autocmd bufwritepost ~/.vim/vimrc.local source %
   augroup END
-
-
 endif
 
 " local settings