summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-12-13 19:51:15 +0100
committerAdrian Kummerlaender2018-12-13 19:51:15 +0100
commitb9ed050d11d77d37ef6280eca86c1daf9a9f32a1 (patch)
tree905b29aba1d9ce95d667d6b9a8ec035f07d29fb4
parentbdc4a57c8da0b0c12b22579c5ecff1bb495945b3 (diff)
downloadpkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.tar
pkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.tar.gz
pkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.tar.bz2
pkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.tar.lz
pkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.tar.xz
pkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.tar.zst
pkgs-b9ed050d11d77d37ef6280eca86c1daf9a9f32a1.zip
Display *.tikz files as TeX in vim
-rw-r--r--pkgs/custom-vim/asset/rc.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/custom-vim/asset/rc.vim b/pkgs/custom-vim/asset/rc.vim
index 81f48e0..0703061 100644
--- a/pkgs/custom-vim/asset/rc.vim
+++ b/pkgs/custom-vim/asset/rc.vim
@@ -54,7 +54,8 @@ autocmd FileType racket setlocal shiftwidth=2 tabstop=2 expandtab
autocmd FileType haskell setlocal shiftwidth=2 tabstop=4 softtabstop=2 shiftround expandtab
autocmd FileType pandoc setlocal nonumber autoread
autocmd FileType pandoc let g:airline#extensions#whitespace#checks=['indent', 'trailing', 'long']
-autocmd FileType tex set conceallevel=2
+
+autocmd BufNewFile,BufRead *.tikz setlocal syntax=tex
nnoremap <C-Tab> :bnext<CR>
nnoremap <C-S-Tab> :bprev<CR>