lsp and doom-dracula have been added

This commit is contained in:
Sameer Rahmani 2019-03-28 15:01:10 +00:00
parent be228f5663
commit 17469f2a97
3 changed files with 58 additions and 0 deletions

View File

@ -60,6 +60,11 @@
(depends-on 'imenu-list)
(depends-on 'imenu-anywhere))
(with-ability lsp
(depends-on 'lsp-mode)
(depends-on 'lsp-ui)
(depends-on 'company-lsp))
;; TODO: Add flycheck-color-modebar
;; TODO Add flycheck-tip

View File

@ -1,3 +1,7 @@
;;; development-extension --- A general extension for general development
;;; Commentary:
;;; Code:
;; Functions -------------------------------------------------
;;;###autoload
(defun disable-projectile ()
@ -41,6 +45,12 @@
"Makes projects configurable."
(require 'projects/configuration))
(ability lsp
(require 'lsp-mode)
(add-hook 'prog-mode-hook #'lsp)
(setq lsp-prefer-flymake nil))
(ability bookmarks ()
(setq bm-restore-repository-on-load t)

View File

@ -0,0 +1,43 @@
(require 'doom-themes)
(require 'solaire-mode)
(defun themes/color-theme-doom-dracula-spaceline-faces (face active)
(cond
((eq 'face1 face) (if active 'minibuffer-prompt 'powerline-inactive1))
((eq 'face2 face) (if active 'success 'mode-line-inactive))
((eq 'line face) (if active 'shadow 'shadow))
((eq 'highlight face) (if active 'match 'shadow))))
(defun themes/color-theme-doom-dracula ()
(interactive)
;; Global settings (defaults)
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
(load-theme 'doom-dracula t)
(custom-theme-set-faces
'doom-dracula
'(powerline-inactive1 ((t (:background "#282a36"))))
'(font-lock-comment-face ((t (:foreground "#8B9298"))))
'(font-lock-comment-delimiter-face ((t (:foreground "#5B6268")))))
(enable-theme 'doom-dracula)
;; brighten buffers (that represent real files)
(add-hook 'after-change-major-mode-hook #'turn-on-solaire-mode)
;; You can do similar with the minibuffer when it is activated:
(add-hook 'minibuffer-setup-hook #'solaire-mode-in-minibuffer)
;; ...if you use auto-revert-mode:
(add-hook 'after-revert-hook #'turn-on-solaire-mode)
;; To enable solaire-mode unconditionally for certain modes:
(add-hook 'ediff-prepare-buffer-hook #'solaire-mode)
;; Enable custom neotree theme
(doom-themes-neotree-config))
(provide 'themes/color-theme-doom-dracula)