This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+emacs/semantic/config.el

20 lines
754 B
EmacsLisp
Raw Normal View History

;;; config.el --- semantic Layer configuration
;;
2020-09-16 21:34:40 +00:00
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Sebastian Wiesner <swiesner@lunaryorn.com
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(setq srecode-map-save-file (concat spacemacs-cache-directory
"srecode-map.el"))
(setq semanticdb-default-save-directory (concat spacemacs-cache-directory
"semanticdb/"))
(setq semanticdb-search-system-databases nil)
(setq semanticdb-project-root-functions #'projectile-project-root)
(unless (file-exists-p semanticdb-default-save-directory)
(make-directory semanticdb-default-save-directory))