From 28903758a8fe5d2ece44c5b30dab8ef196fa09ac Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 11 Jun 2025 12:46:54 +0200 Subject: [PATCH] vim:ftdetect: Use C's syntax highlighting for .asl Make .asl files (ACPI Source Language) belong to the 'c' filetype. Not perfect, but an easy way to have some colors without a full plugin. Additionally set the 'asl' filetype too, in case I want to add some ftplugin in the future. --- .config/vim/ftdetect/asl.vim | 1 + 1 file changed, 1 insertion(+) create mode 100644 .config/vim/ftdetect/asl.vim diff --git a/.config/vim/ftdetect/asl.vim b/.config/vim/ftdetect/asl.vim new file mode 100644 index 0000000..11c120c --- /dev/null +++ b/.config/vim/ftdetect/asl.vim @@ -0,0 +1 @@ +autocmd BufNewFile,BufRead *.asl set filetype=c.asl