[submodule "pack/shougo/start/vim-hug-neovim-rpc"]
path = pack/shougo/opt/vim-hug-neovim-rpc
url = https://github.com/roxma/vim-hug-neovim-rpc.git
+[submodule "pack/async/start/gen_tags.vim"]
+ path = pack/async/opt/gen_tags.vim
+ url = https://github.com/jsfaint/gen_tags.vim.git
-" Use :help 'option' to see the documentation for the given option.
+;" Use :help 'option' to see the documentation for the given option.
set nocompatible
filetype plugin indent on
syntax on
" fonts and chars
set list
if has('multi_byte') && &encoding ==# 'utf-8'
- let &listchars = 'tab:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\83Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¢Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\96Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¸ ,extends:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\83Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¢Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\9dÃ\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¯,precedes:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\83Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¢Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\9dÃ\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82®,nbsp:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82Â\83Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\82Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82±'
+ let &listchars = 'tab:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82¢Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\96Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¸ ,extends:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82¢Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\9dÃ\83Â\83Ã\82Â\82Ã\83Â\82Ã\82¯,precedes:Ã\83Â\83Ã\82Â\83Ã\83Â\82Ã\82¢Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82Â\9dÃ\83Â\83Ã\82Â\82Ã\83Â\82Ã\82®,nbsp:Ã\83Â\83Ã\82Â\82Ã\83Â\82Ã\82±'
else
let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.'
endif
augroup filetypes
autocmd!
- autocmd bufnewfile,bufread *.md,*.txt set filetype=pandoc
+ autocmd bufnewfile,bufread *.md set filetype=pandoc
autocmd bufnewfile,bufread *.gradle set filetype=groovy
autocmd bufnewfile,bufread *.json set filetype=json
autocmd bufnewfile,bufread *.yml set filetype=yaml
augroup saveall
autocmd!
- autocmd focuslost * wall
+ autocmd focuslost * silent! wa
augroup end
augroup numbers
packadd! tagbar
" Gtags-Cscope
-set csprg=gtags-cscope
-set cscopetag
+if executable('global')
+packadd! gen_tags.vim
let GtagsCscope_Auto_Map = 1
let GtagsCscope_Ignore_Case = 1
let GtagsCscope_Absolute_Path = 1
let GtagsCscope_Keep_Alive = 1
let GtagsCscope_Auto_Load = 1
let GtagsCscope_Quiet = 1
+set csprg=gtags-cscope
+set cscopetag
+endif
+
" Async shell commands
packadd asyncrun.vim