Make emacs much more usable as an IDE
Fix C-u in evil Fix 'region theme Add editorconfig, flycheck, company, and lsp-mode
This commit is contained in:
parent
4ef985d7e6
commit
2c12aec78d
2 changed files with 70 additions and 1 deletions
|
@ -61,6 +61,9 @@
|
|||
(variable '("#6ec5b1" nil nil))
|
||||
(string '("#15e04a" nil nil))
|
||||
(type '("#17b343" nil nil))
|
||||
|
||||
(lsp-hover-highlight (funcall brighten-first common-bg 0.05))
|
||||
(company-bg (funcall brighten-first common-bg 0.1))
|
||||
;; Extra colors #1fa345
|
||||
)
|
||||
(custom-theme-set-faces
|
||||
|
@ -72,6 +75,7 @@
|
|||
(funcall face 'mode-line-inactive :bg (funcall darken-first common-bg 0.35) :fg common-fg)
|
||||
(funcall face 'mode-line :bg modeline :fg common-fg)
|
||||
(funcall face 'hl-line :bg (funcall darken-first common-bg 0.15))
|
||||
(funcall face 'region :bg (funcall brighten-first common-bg 0.15))
|
||||
(funcall face 'font-lock-comment-face :fg comment)
|
||||
(funcall face 'font-lock-doc-face :fg doc)
|
||||
(funcall face 'font-lock-keyword-face :fg keyword)
|
||||
|
@ -80,6 +84,17 @@
|
|||
(funcall face 'font-lock-variable-name-face :fg variable)
|
||||
(funcall face 'font-lock-string-face :fg string)
|
||||
(funcall face 'font-lock-type-face :fg type)
|
||||
|
||||
;; Lsp
|
||||
(funcall face 'lsp-face-highlight-textual :bg lsp-hover-highlight)
|
||||
(funcall face 'lsp-face-highlight-read :bg lsp-hover-highlight)
|
||||
(funcall face 'lsp-face-highlight-write :bg lsp-hover-highlight)
|
||||
|
||||
;; company
|
||||
(funcall face 'company-tooltip :bg company-bg)
|
||||
(funcall face 'company-tooltip-selection :bg (funcall brighten-first company-bg 0.15))
|
||||
(funcall face 'company-scrollbar-fg :bg (funcall brighten-first company-bg 0.3))
|
||||
(funcall face 'company-scrollbar-bg :bg (funcall brighten-first company-bg 0.15))
|
||||
))
|
||||
|
||||
(provide-theme 'my-theme)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue