mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
bf92d423a9
Problem: filetype: ldapconf files are not recognized
Solution: Detect '.ldaprc', 'ldap.conf' and 'ldaprc' files as ldapconf
filetype, include a simple ldapconf ftplugin file
(Riley Bruins)
[Specification](https://www.openldap.org/software//man.cgi?query=ldap.conf&sektion=5&apropos=0&manpath=OpenLDAP+2.4-Release)
closes: vim/vim#15176
62f31e9499
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
14 lines
286 B
VimL
14 lines
286 B
VimL
" Vim filetype plugin
|
|
" Language: ldap.conf(5) configuration file.
|
|
" Maintainer: Riley Bruins <ribru17@gmail.com>
|
|
" Last Change: 2024 Jul 06
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = 'setl com< cms<'
|