Mercurial > vim
comparison runtime/filetype.vim @ 28507:73f235d0b6c8 v8.2.4778
patch 8.2.4778: pacman files use dosini filetype
Commit: https://github.com/vim/vim/commit/35cff32dd82e5e2b72453b9f27d0655fc5b8a639
Author: Chaoren Lin <aoe@google.com>
Date: Sun Apr 17 21:15:48 2022 +0100
patch 8.2.4778: pacman files use dosini filetype
Problem: Pacman files use dosini filetype.
Solution: Use conf instead. (Chaoren Lin, closes https://github.com/vim/vim/issues/10213)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Apr 2022 22:30:03 +0200 |
parents | 75f181bef230 |
children | 6a1e5b188374 |
comparison
equal
deleted
inserted
replaced
28506:985367e407d3 | 28507:73f235d0b6c8 |
---|---|
1285 au BufNewFile,BufRead *.org,*.org_archive setf org | 1285 au BufNewFile,BufRead *.org,*.org_archive setf org |
1286 | 1286 |
1287 " Packet filter conf | 1287 " Packet filter conf |
1288 au BufNewFile,BufRead pf.conf setf pf | 1288 au BufNewFile,BufRead pf.conf setf pf |
1289 | 1289 |
1290 " Pacman Config (close enough to dosini) | 1290 " Pacman config |
1291 au BufNewFile,BufRead */etc/pacman.conf setf dosini | 1291 au BufNewFile,BufRead */etc/pacman.conf setf conf |
1292 | 1292 |
1293 " Pacman hooks | 1293 " Pacman hooks |
1294 au BufNewFile,BufRead *.hook | 1294 au BufNewFile,BufRead *.hook |
1295 \ if getline(1) == '[Trigger]' | | 1295 \ if getline(1) == '[Trigger]' | |
1296 \ setf dosini | | 1296 \ setf conf | |
1297 \ endif | 1297 \ endif |
1298 | 1298 |
1299 " Pam conf | 1299 " Pam conf |
1300 au BufNewFile,BufRead */etc/pam.conf setf pamconf | 1300 au BufNewFile,BufRead */etc/pam.conf setf pamconf |
1301 | 1301 |