From c75c90acc6e771f8ee20789bef7a4a055412d4da Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Wed, 2 Feb 2022 11:41:15 +0000 Subject: [PATCH] Extend systemd file syntax highlighting to pickup systemctl edit temp files --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index d57acca0..862b4e2d 100644 --- a/vimrc +++ b/vimrc @@ -57,6 +57,7 @@ au BufRead,BufNewFile *.ipynb setlocal filetype=json au BufRead,BufNewFile *.md setlocal spell au BufRead,BufNewFile *.code-workspace setlocal filetype=json au BufRead,BufNewFile *.csv setlocal nowrap +au BufRead,BufNewFile *.service[a-zA-Z0-9]* setlocal filetype=systemd syntax on if &diff