Skip to content

Commit 7e85bca

Browse files
committed
Add Emacs LDAP mode
This includes major modes for editing LDAP schema and LDIF files. * elisp/init.d/init-ldap.el: Require `ldap-mode` package for `.ldif` files * elisp/init.d/init-modes.el: Load `init-ldap` * elisp/ldap-mode.el: LDAP mode
1 parent d266e42 commit 7e85bca

File tree

3 files changed

+652
-0
lines changed

3 files changed

+652
-0
lines changed

elisp/init.d/init-ldap.el

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
;; SPDX-License-Identifier: MIT
2+
;;
3+
;;; init-ldap.el --- Init file to load Emacs LDAP mode
4+
;;
5+
;; Copyright 2019 Matthew Krupcale <[email protected]>
6+
;;
7+
8+
(require 'req-package)
9+
10+
;; ldap mode
11+
12+
(req-package ldap-mode :mode "\\.ldif\\'")
13+
14+
(provide 'init-ldap)

elisp/init.d/init-modes.el

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
(load-library "init-ebnf")
1111
(load-library "init-ggtags")
1212
(load-library "init-go")
13+
(load-library "init-ldap")
1314
(load-library "init-markdown")
1415
(load-library "init-mcnp")
1516
(load-library "init-php")

0 commit comments

Comments
 (0)