forked from swiftlang/swift-package-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dir-locals.el
More file actions
19 lines (17 loc) · 723 Bytes
/
.dir-locals.el
File metadata and controls
19 lines (17 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((nil
(eval .
;; Auto-load the swiftpm project settings.
(unless (featurep 'swiftpm-project-settings)
(message "loading 'swiftpm-project-settings")
;; Make sure the project's own utils directory is in the load path,
;; but don't override any one the user might have set up.
(add-to-list
'load-path
(concat
(let ((dlff (dir-locals-find-file default-directory)))
(if (listp dlff) (car dlff) (file-name-directory dlff)))
"Utilities/Emacs")
:append)
(require 'swiftpm-project-settings)))))