General cleanup
This commit is contained in:
parent
ea13be53b1
commit
eaa467c1a7
12 changed files with 18 additions and 20 deletions
|
@ -45,7 +45,7 @@
|
|||
:config
|
||||
(setq irony-server-install-prefix (concat doom-temp-dir "/irony/"))
|
||||
(add-hook! c++-mode
|
||||
(make-variable-buffer-local 'irony-additional-clang-options)
|
||||
(make-local-variable 'irony-additional-clang-options)
|
||||
(push "-std=c++11" irony-additional-clang-options))
|
||||
|
||||
(require 'irony-eldoc)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
(setq omnisharp-auto-complete-want-documentation nil
|
||||
omnisharp-server-executable-path (concat doom-ext-dir "/OmniSharp.exe"))
|
||||
:when (file-exists-p omnisharp-server-executable-path)
|
||||
:init (add-hook! csharp-mode '(turn-on-eldoc-mode omnisharp-mode))
|
||||
:init (add-hook! csharp-mode '(eldoc-mode omnisharp-mode))
|
||||
:config
|
||||
(def-company-backend! csharp-mode (omnisharp))
|
||||
(map! :map omnisharp-mode-map
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;;; module-elisp --- all things lisp
|
||||
|
||||
(associate! emacs-lisp-mode :match "\\(/Cask\\|\\.\\(el\\|gz\\)\\)$")
|
||||
(add-hook! emacs-lisp-mode '(turn-on-eldoc-mode flycheck-mode highlight-numbers-mode))
|
||||
(add-hook! emacs-lisp-mode '(eldoc-mode flycheck-mode highlight-numbers-mode))
|
||||
|
||||
;; Real go-to-definition for elisp
|
||||
(map! :map emacs-lisp-mode-map :m "gd" 'doom/elisp-find-function-at-pt)
|
||||
|
@ -103,11 +103,10 @@
|
|||
:config (setq inferior-lisp-program "clisp"))
|
||||
|
||||
(use-package auto-compile
|
||||
:commands (auto-compile-on-save-mode)
|
||||
:commands auto-compile-on-save-mode
|
||||
:init (add-hook 'emacs-lisp-mode-hook 'auto-compile-on-save-mode)
|
||||
:config (setq auto-compile-display-buffer nil))
|
||||
|
||||
|
||||
;;
|
||||
(def-project-type! emacs-ert "ert"
|
||||
:modes (emacs-lisp-mode)
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
(use-package php-extras
|
||||
:after php-mode
|
||||
:init (add-hook 'php-mode-hook 'turn-on-eldoc-mode)
|
||||
:init (add-hook 'php-mode-hook 'eldoc-mode)
|
||||
:config
|
||||
(defun php-extras-company-setup ()) ;; company will set up itself
|
||||
;; Generate php-extras documentation and completion asynchronously
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
(use-package scala-mode
|
||||
:mode "\\.s\\(cala\\|bt\\)$"
|
||||
:init (add-hook 'scala-mode-hook 'turn-on-eldoc-mode)
|
||||
:init (add-hook 'scala-mode-hook 'eldoc-mode)
|
||||
:config (def-company-backend! scala-mode '(ensime-company (company-yasnippet))))
|
||||
|
||||
(use-package sbt-mode
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
:mode ("\\.m\\(d\\|arkdown\\)$" "/README$"
|
||||
("/README\\.md$" . gfm-mode))
|
||||
:init
|
||||
(add-hook 'markdown-mode-hook 'turn-on-auto-fill)
|
||||
(add-hook 'markdown-mode-hook 'auto-fill-mode)
|
||||
(setq markdown-enable-wiki-links t
|
||||
markdown-italic-underscore t
|
||||
markdown-enable-math t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue