From 3a4821593227c0fefc0ec56f7f66727a87b83fad Mon Sep 17 00:00:00 2001 From: "EEva @ felin" Date: Sat, 25 Mar 2017 10:19:01 +0100 Subject: [PATCH] Vim must read .tikz as tex files --- vim.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim.nix b/vim.nix index 682bd62..740afcd 100644 --- a/vim.nix +++ b/vim.nix @@ -136,5 +136,9 @@ let plugins = let inherit (vimUtils) buildVimPluginFrom2Nix; in { " Normal backspace set backspace=indent,eol,start + + " Set filetype tex for tikz files + au BufNewFile,BufRead *.tikz set filetype=tex + ''; }