Adds i3 config syntax and makes i3 config file fold

master
Jonathan Hodgson 5 years ago
parent 8ceb861ccc
commit 1b6ec60917
  1. 3
      .gitmodules
  2. 6
      .vimrc
  3. 1
      bundle/i3config.vim

3
.gitmodules vendored

@ -66,3 +66,6 @@
path = bundle/wordpress.vim
url = https://github.com/DArcMattr/wordpress.vim
branch = universal-ctags
[submodule "bundle/i3config.vim"]
path = bundle/i3config.vim
url = https://github.com/mboughaba/i3config.vim

@ -519,6 +519,12 @@ augroup latex
autocmd FileType tex,latex vnoremap <localleader>P :!pandoc -t markdown -f latex --wrap=preserve --atx-headers<cr>
augroup END
" Make vim fold using markers {{{2
augroup file_i3
autocmd!
autocmd FileType i3config setlocal foldmethod=marker foldenable
augroup END
" Make vim fold using markers {{{2
augroup file_vim
autocmd!

@ -0,0 +1 @@
Subproject commit ae9f8a6073c31e385445b0a98db3fc9051dd5ecd
Loading…
Cancel
Save