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 + ''; }