Mercurial > vim
comparison runtime/filetype.vim @ 31688:ead5a3f43a4c v9.0.1176
patch 9.0.1176: smithy files are not recognized
Commit: https://github.com/vim/vim/commit/f68cddabffcbc5b8fbfe9003182cb4b55ff8d72c
Author: Chris Kipp <ckipp@pm.me>
Date: Wed Jan 11 12:20:10 2023 +0000
patch 9.0.1176: smithy files are not recognized
Problem: smithy files are not recognized.
Solution: Add a pattern for Smithy files. (Chris Kipp, closes https://github.com/vim/vim/issues/11804)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 11 Jan 2023 13:30:03 +0100 |
parents | 8153d73088f2 |
children | 9c496513d57c |
comparison
equal
deleted
inserted
replaced
31687:2357c7d1d94f | 31688:ead5a3f43a4c |
---|---|
108 au BufNewFile,BufRead *.a65 setf a65 | 108 au BufNewFile,BufRead *.a65 setf a65 |
109 | 109 |
110 " Applescript | 110 " Applescript |
111 au BufNewFile,BufRead *.scpt setf applescript | 111 au BufNewFile,BufRead *.scpt setf applescript |
112 | 112 |
113 " Automake (must be before the *.am pattern) | |
114 au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake | |
115 | |
113 " Applix ELF | 116 " Applix ELF |
114 au BufNewFile,BufRead *.am | 117 au BufNewFile,BufRead *.am setf elf |
115 \ if expand("<afile>") !~? 'Makefile.am\>' | setf elf | endif | |
116 | 118 |
117 " ALSA configuration | 119 " ALSA configuration |
118 au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf | 120 au BufNewFile,BufRead .asoundrc,*/usr/share/alsa/alsa.conf,*/etc/asound.conf setf alsaconf |
119 | 121 |
120 " Arc Macro Language | 122 " Arc Macro Language |
184 " Autoit v3 | 186 " Autoit v3 |
185 au BufNewFile,BufRead *.au3 setf autoit | 187 au BufNewFile,BufRead *.au3 setf autoit |
186 | 188 |
187 " Autohotkey | 189 " Autohotkey |
188 au BufNewFile,BufRead *.ahk setf autohotkey | 190 au BufNewFile,BufRead *.ahk setf autohotkey |
189 | |
190 " Automake | |
191 au BufNewFile,BufRead [mM]akefile.am,GNUmakefile.am setf automake | |
192 | 191 |
193 " Autotest .at files are actually m4 | 192 " Autotest .at files are actually m4 |
194 au BufNewFile,BufRead *.at setf m4 | 193 au BufNewFile,BufRead *.at setf m4 |
195 | 194 |
196 " Avenue | 195 " Avenue |
1926 \ endif | 1925 \ endif |
1927 | 1926 |
1928 " SMITH | 1927 " SMITH |
1929 au BufNewFile,BufRead *.smt,*.smith setf smith | 1928 au BufNewFile,BufRead *.smt,*.smith setf smith |
1930 | 1929 |
1930 " Smithy | |
1931 au BufNewFile,BufRead *.smithy setf smithy | |
1932 | |
1931 " Snobol4 and spitbol | 1933 " Snobol4 and spitbol |
1932 au BufNewFile,BufRead *.sno,*.spt setf snobol4 | 1934 au BufNewFile,BufRead *.sno,*.spt setf snobol4 |
1933 | 1935 |
1934 " SNMP MIB files | 1936 " SNMP MIB files |
1935 au BufNewFile,BufRead *.mib,*.my setf mib | 1937 au BufNewFile,BufRead *.mib,*.my setf mib |