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

19 lines
754 B
EmacsLisp

;;; config.el --- semantic Layer configuration
;;
;; Copyright (c) 2012-2018 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))