diff options
author | Quentin Hibon <qh.public@yahoo.com> | 2021-12-14 09:34:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-14 09:34:41 +0000 |
commit | 8176be159859deb9cf6455565bd7b24b3dcf17b9 (patch) | |
tree | 3d1b8cca66bef1a0a6548e09d4f5d41027d79fec /runtime | |
parent | 6206877c511c636cbeb2a2b911451af316b62d00 (diff) |
patch 8.2.3805: i3config files are not recognizedv8.2.3805
Problem: i3config files are not recognized.
Solution: Add patterns to match i3config files. (Quentin Hibon,
closes #7969)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 2b98b48f55..7170912941 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -790,6 +790,10 @@ au BufNewFile,BufRead *.hb setf hb " 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 au BufNewFile,BufRead *.icn setf icon |