diff options
author | Christian Clason <c.clason@uni-graz.at> | 2021-12-09 22:03:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 22:03:25 +0100 |
commit | 8e64b21fed0bc83e9ac98949e2962c39ffa8b4e6 (patch) | |
tree | 2c38df689d785ffee2c872e0ad0f2a7f5990c8d2 /runtime | |
parent | 2fe60905f6e12b3cae5c9ca2d1456fe23501be61 (diff) | |
download | rneovim-8e64b21fed0bc83e9ac98949e2962c39ffa8b4e6.tar.gz rneovim-8e64b21fed0bc83e9ac98949e2962c39ffa8b4e6.tar.bz2 rneovim-8e64b21fed0bc83e9ac98949e2962c39ffa8b4e6.zip |
vim-patch:8.2.3769: zig files are not recognized (#16598)
Problem: Zig files are not recognized.
Solution: Add *.zig. (Gregory Anders, closes vim/vim#9313)
https://github.com/vim/vim/commit/4c8c634365bc6d4d462635aed5e0f7ad2262d590
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index e1c917ac64..3e57ae7f0f 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1646,6 +1646,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 |