diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-05 21:40:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-05 21:40:39 +0000 |
commit | 25201016d5043954689a4c9f7833935294149404 (patch) | |
tree | 22348771e718709f15c4c4bfdecb753a550b4dad /runtime/filetype.vim | |
parent | 0a2f891adfc52d8f29733817fca15a1b642af1df (diff) |
patch 9.0.1014: zir files are not recognizedv9.0.1014
Problem: Zir files are not recognized.
Solution: Add a pattern for Zir files. (closes #11664)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 0a4be77b22..b326a435bd 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1855,8 +1855,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 +" Zig and Zir (Zig Intermediate Representation) au BufNewFile,BufRead *.zig setf zig +au BufNewFile,BufRead *.zir setf zir " Z-Shell script (patterns ending in a star further below) au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh |