 (add-to-list 'cff-source-regexps '("\\.m$" . (lambda (base) (concat base ".m"))))
 (add-to-list 'cff-source-regexps '("\\.mm$" . (lambda (base) (concat base ".mm"))))
 
-;; (require 'cquery)
-;; ;; https://github.com/cquery-project/cquery/wiki/Getting-started
-;; (setq cquery-executable (expand-file-name "~/cquery/build/release/bin/cquery"))
-;; (setq cquery-extra-init-params '(:index (:comments 2) :cacheFormat "msgpack"))
-;; (setq cquery-sem-highlight-method nil)   ;; 'font-lock)
-
-;; (require 'lsp-mode)
-;; (setq lsp-highlight-symbol-at-point nil
-;;       lsp-enable-flycheck nil
-;;       lsp-enable-indentation nil
-;;       lsp-enable-eldoc nil)
-
-;; (add-hook 'c-mode-hook #'lsp-cquery-enable)
-;; (add-hook 'c++-mode-hook #'lsp-cquery-enable)
-
+(require 'cquery)
+;; https://github.com/cquery-project/cquery/wiki/Getting-started
+(setq cquery-executable (expand-file-name "~/cquery/cquery"))
+(setq cquery-extra-init-params '(:index (:comments 2) :cacheFormat "msgpack"))
+(setq cquery-sem-highlight-method nil)   ;; 'font-lock)
+
+(require 'lsp-mode)
+(setq lsp-highlight-symbol-at-point nil
+      lsp-enable-indentation nil
+      lsp-enable-eldoc nil)
+
+(add-hook 'c-mode-hook #'lsp-cquery-enable)
+(add-hook 'c++-mode-hook #'lsp-cquery-enable)
+
+;; broken:
 ;; (require 'lsp-imenu)
 ;; (add-hook 'lsp-after-open-hook 'lsp-enable-imenu)
 

(add-hook 'scheme-mode-hook #'smartparens-mode)
(add-hook 'lisp-mode-hook #'smartparens-mode)

(require 'scheme)

(defun run-s7 ()
  (interactive)
  (require 'cmuscheme)
  (setq scheme-program-name "s7")
  (if (not (comint-check-proc "*scheme*"))
      (let ((cmdlist (list '("localhost" . 5555))))
        (set-buffer (apply 'make-comint "scheme" (car cmdlist) nil nil))
        (inferior-scheme-mode)))
  (setq scheme-buffer "*scheme*")
  (pop-to-buffer-same-window "*scheme*"))

(setq pulse-delay .06)
;; (when *linux*

(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(when (< emacs-major-version 27)
  (package-initialize))

;; (package-initialize)

(menu-bar-mode -1)
(blink-cursor-mode 1)
