Pin rtags to melpa-stable, set scratch buffer to text-mode.

This commit is contained in:
tastytea 2019-03-30 16:37:05 +01:00
parent 1ab7fdb5bd
commit c2b6f26c96
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;;; Time-stamp: <2019-03-30 12:28:53 CET>
;;; Time-stamp: <2019-03-30 16:18:39 CET>
;;; Commentary:
;;; I am using this file with Emacs 26, but most of it will probably work with
@ -145,6 +145,10 @@
(if (display-graphic-p)
(set-scroll-bar-mode 'right))
;; Make scratch buffer empty and select text-mode.
(setq initial-scratch-message nil
initial-major-mode 'text-mode)
;;;;;;;;;;;;;;;;;;;; Keybindings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package bind-key
:config
@ -163,6 +167,7 @@
;;;;;;;;;;;;;;;;;;;; Programming / C++ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(unless slow-computer
(use-package rtags
:pin melpa-stable
:if (executable-find "llvm-config")
:if (executable-find "clang++")
:config
@ -182,6 +187,7 @@
(kill-emacs . rtags-quit-rdm)))
(use-package flycheck-rtags
:pin melpa-stable
:after (flycheck rtags)
:config
;; ensure that we use only rtags checking.
@ -194,6 +200,7 @@
(c++-mode-hook . my/setup-flycheck-rtags))
(use-package company-rtags
:pin melpa-stable
:after (company rtags)
:custom
(rtags-completions-enabled t)

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 6235
127.0.0.1:51313 24608
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh