forked from aniani/vim
patch 9.0.1014: zir files are not recognized
Problem: Zir files are not recognized. Solution: Add a pattern for Zir files. (closes #11664)
This commit is contained in:
@@ -1855,8 +1855,9 @@ au BufNewFile,BufRead .tcshrc,*.tcsh,tcsh.tcshrc,tcsh.login call dist#ft#SetFile
|
|||||||
" (patterns ending in a start further below)
|
" (patterns ending in a start further below)
|
||||||
au BufNewFile,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias call dist#ft#CSH()
|
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 *.zig setf zig
|
||||||
|
au BufNewFile,BufRead *.zir setf zir
|
||||||
|
|
||||||
" Z-Shell script (patterns ending in a star further below)
|
" Z-Shell script (patterns ending in a star further below)
|
||||||
au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
|
au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh
|
||||||
|
|||||||
@@ -652,6 +652,7 @@ let s:filename_checks = {
|
|||||||
\ 'zig': ['file.zig'],
|
\ 'zig': ['file.zig'],
|
||||||
\ 'zimbu': ['file.zu'],
|
\ 'zimbu': ['file.zu'],
|
||||||
\ 'zimbutempl': ['file.zut'],
|
\ 'zimbutempl': ['file.zut'],
|
||||||
|
\ 'zir': ['file.zir'],
|
||||||
\ 'zsh': ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'],
|
\ 'zsh': ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'],
|
||||||
\
|
\
|
||||||
\ 'help': [$VIMRUNTIME . '/doc/help.txt'],
|
\ 'help': [$VIMRUNTIME . '/doc/help.txt'],
|
||||||
|
|||||||
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1014,
|
||||||
/**/
|
/**/
|
||||||
1013,
|
1013,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user