emacs/layers.personal/mylangs/mycquery/config.el
2018-04-11 15:15:52 +08:00

38 lines
1.5 KiB
EmacsLisp

;; Configuration for cquery
;;; config.el --- lsp Layer config File for Spacemacs
;;
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
;;
;; Author: Fangrui Song <i@maskray.me>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; ;; These all have toggles bound under 't' in spacemacs/lsp-define-keys-for-mode
(defvar mycquery-executable "/usr/local/bin/cquery"
"The executable file for cquery tool")
(defvar mycquery-extra-init-params
'(:index (:comments 2)
:cacheFormat "msgpack"
:completion (:detailedLabel t))
"Extra parameters for cquery init")
(defvar lsp-remap-xref-keybindings nil "When non-nil, xref keybindings remapped to lsp-ui-peek-find-*")
(defvar lsp-ui-peek-expand-by-default nil "Expand lsp-ui-peek by default (may have performance implications)")
(defvar lsp-ui-doc-enable t "Enable/disable lsp-ui-doc overlay")
(defvar lsp-ui-doc-include-signature nil "When non-nil, type signature included in the lsp-ui-doc overlay")
(defvar lsp-ui-sideline-enable t "Enable/disable lsp-ui-sideline overlay")
(defvar lsp-ui-sideline-show-symbol nil "When non-nil, sideline includes symbol info (largely redundant for c modes)") ; don't show symbol on the right of info
(defvar lsp-ui-sideline-ignore-duplicate t "Ignore duplicates")
(defvar mypyls "/Users/rshen/anaconda2/envs/tensorflow/bin/pyls"
"The executable file for python language server")
(defvar mypyls-project-root (getenv "HOME")
"Root directory of python projects")