-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.el
25 lines (20 loc) · 812 Bytes
/
config.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
;;; config.el --- lsp-intellij layer packages file for Spacemacs.
;;
;; Copyright (c) 2018 Richard Jones
;;
;; Author: <joneseh25@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: MIT
;;; Code:
(if (version< spacemacs-version "0.300")
(setq spacemacs//intellij-lsp-version-dir-name "spacemacs-0.200")
(setq spacemacs//intellij-lsp-version-dir-name "spacemacs-0.300"))
(setq spacemacs//intellij-lsp-version-dir-fullpath
(expand-file-name spacemacs//intellij-lsp-version-dir-name
(file-name-directory (or load-file-name buffer-file-name))))
;; Load the relevant `config.el` based on Spacemacs version
(load (expand-file-name "config" spacemacs//intellij-lsp-version-dir-fullpath) t)
;;; config.el ends here