1
0
forked from aniani/vim

patch 8.2.3769: zig files are not recognized

Problem:    Zig files are not recognized.
Solution:   Add *.zig. (Gregory Anders, closes #9313)
This commit is contained in:
Gregory Anders
2021-12-09 20:54:21 +00:00
committed by Bram Moolenaar
parent 95b2dd0c00
commit 4c8c634365
3 changed files with 7 additions and 1 deletions

View File

@@ -1650,6 +1650,9 @@ au BufNewFile,BufRead .tcshrc,*.tcsh,tcsh.tcshrc,tcsh.login call dist#ft#SetFile
" (patterns ending in a start further below)
au BufNewFile,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias call dist#ft#CSH()
" Zig
au BufNewFile,BufRead *.zig setf zig
" Z-Shell script (patterns ending in a star further below)
au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh