forked from aniani/vim
patch 8.2.3805: i3config files are not recognized
Problem: i3config files are not recognized.
Solution: Add patterns to match i3config files. (Quentin Hibon,
closes #7969)
This commit is contained in:
committed by
Bram Moolenaar
parent
6206877c51
commit
8176be1598
@@ -790,6 +790,10 @@ au BufNewFile,BufRead *.hb setf hb
|
|||||||
" Httest
|
" Httest
|
||||||
au BufNewFile,BufRead *.htt,*.htb setf httest
|
au BufNewFile,BufRead *.htt,*.htb setf httest
|
||||||
|
|
||||||
|
" i3 (and sway)
|
||||||
|
au BufNewFile,BufRead */i3/config,*/sway/config setf i3config
|
||||||
|
au BufNewFile,BufRead */.i3/config,*/.sway/config setf i3config
|
||||||
|
|
||||||
" Icon
|
" Icon
|
||||||
au BufNewFile,BufRead *.icn setf icon
|
au BufNewFile,BufRead *.icn setf icon
|
||||||
|
|
||||||
|
|||||||
@@ -226,6 +226,7 @@ let s:filename_checks = {
|
|||||||
\ 'hollywood': ['file.hws'],
|
\ 'hollywood': ['file.hws'],
|
||||||
\ 'hostconf': ['/etc/host.conf', 'any/etc/host.conf'],
|
\ 'hostconf': ['/etc/host.conf', 'any/etc/host.conf'],
|
||||||
\ 'hostsaccess': ['/etc/hosts.allow', '/etc/hosts.deny', 'any/etc/hosts.allow', 'any/etc/hosts.deny'],
|
\ 'hostsaccess': ['/etc/hosts.allow', '/etc/hosts.deny', 'any/etc/hosts.allow', 'any/etc/hosts.deny'],
|
||||||
|
\ 'i3config': ['/home/user/.i3/config', '/home/user/.config/i3/config', '/etc/i3/config', '/etc/xdg/i3/config'],
|
||||||
\ 'logcheck': ['/etc/logcheck/file.d-some/file', '/etc/logcheck/file.d/file', 'any/etc/logcheck/file.d-some/file', 'any/etc/logcheck/file.d/file'],
|
\ 'logcheck': ['/etc/logcheck/file.d-some/file', '/etc/logcheck/file.d/file', 'any/etc/logcheck/file.d-some/file', 'any/etc/logcheck/file.d/file'],
|
||||||
\ 'modula3': ['file.m3', 'file.mg', 'file.i3', 'file.ig'],
|
\ 'modula3': ['file.m3', 'file.mg', 'file.i3', 'file.ig'],
|
||||||
\ 'natural': ['file.NSA', 'file.NSC', 'file.NSG', 'file.NSL', 'file.NSM', 'file.NSN', 'file.NSP', 'file.NSS'],
|
\ 'natural': ['file.NSA', 'file.NSC', 'file.NSG', 'file.NSL', 'file.NSM', 'file.NSN', 'file.NSP', 'file.NSS'],
|
||||||
|
|||||||
@@ -749,6 +749,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 */
|
||||||
|
/**/
|
||||||
|
3805,
|
||||||
/**/
|
/**/
|
||||||
3804,
|
3804,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user