Mercurial > vim
comparison runtime/filetype.vim @ 20749:dae1811e84dd v8.2.0927
patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized
Commit: https://github.com/vim/vim/commit/da84ac2a6f467d0b9eddcc8709433cda75d16a41
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 20:07:43 2020 +0200
patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized
Problem: Some sshconfig and ssdhconfig files are not recognized.
Solution: Add filetype patterns.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 20:15:03 +0200 |
parents | 3dab6fbe133c |
children | 661eb972cb22 |
comparison
equal
deleted
inserted
replaced
20748:791277e2f6be | 20749:dae1811e84dd |
---|---|
1615 | 1615 |
1616 " SQR | 1616 " SQR |
1617 au BufNewFile,BufRead *.sqr,*.sqi setf sqr | 1617 au BufNewFile,BufRead *.sqr,*.sqi setf sqr |
1618 | 1618 |
1619 " OpenSSH configuration | 1619 " OpenSSH configuration |
1620 au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig | 1620 au BufNewFile,BufRead ssh_config,*/.ssh/config setf sshconfig |
1621 au BufNewFile,BufRead */etc/ssh/ssh_config.d/*.conf setf sshconfig | |
1621 | 1622 |
1622 " OpenSSH server configuration | 1623 " OpenSSH server configuration |
1623 au BufNewFile,BufRead sshd_config setf sshdconfig | 1624 au BufNewFile,BufRead sshd_config setf sshdconfig |
1625 au BufNewFile,BufRead */etc/ssh/sshd_config.d/*.conf setf sshdconfig | |
1624 | 1626 |
1625 " Stata | 1627 " Stata |
1626 au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata | 1628 au BufNewFile,BufRead *.ado,*.do,*.imata,*.mata setf stata |
1627 " Also *.class, but not when it's a Java bytecode file | 1629 " Also *.class, but not when it's a Java bytecode file |
1628 au BufNewFile,BufRead *.class | 1630 au BufNewFile,BufRead *.class |