corfu support
This commit is contained in:
parent
9dd1053a1b
commit
22ea42f3d7
5 changed files with 28 additions and 3 deletions
|
@ -45,6 +45,7 @@ Ouroboros aims to support the following additional Emacs packages natively with
|
||||||
- Rainbow Delimiters
|
- Rainbow Delimiters
|
||||||
- HL-todo mode
|
- HL-todo mode
|
||||||
- Tab-bar-mode
|
- Tab-bar-mode
|
||||||
|
- Corfu
|
||||||
|
|
||||||
* Screenshots
|
* Screenshots
|
||||||
[[file:preview.gif]]
|
[[file:preview.gif]]
|
||||||
|
|
|
@ -226,7 +226,13 @@
|
||||||
`(company-tooltip ((t (:inherit fixed-pitch :background ,(darken accent-one 0.5) :foreground ,fg-main))))
|
`(company-tooltip ((t (:inherit fixed-pitch :background ,(darken accent-one 0.5) :foreground ,fg-main))))
|
||||||
`(company-tooltip-common ((t (:foreground ,(lighten accent-three 0.2)))))
|
`(company-tooltip-common ((t (:foreground ,(lighten accent-three 0.2)))))
|
||||||
|
|
||||||
;;; HL-todo
|
;;; Corfu
|
||||||
|
`(corfu-default ((t (:inherit company-tooltip))))
|
||||||
|
`(corfu-current ((t (:inherit company-tooltip-common))))
|
||||||
|
`(corfu-border ((t (:background ,accent-one-saturated))))
|
||||||
|
`(corfu-bar ((t (:background ,(darken fg-main 0.2)))))
|
||||||
|
|
||||||
|
;;; HL-todo
|
||||||
`(hl-todo ((t (:inherit default :background ,(lighten accent-four-desaturated 0.2) :foreground ,(darken fg-main 0.3)))))
|
`(hl-todo ((t (:inherit default :background ,(lighten accent-four-desaturated 0.2) :foreground ,(darken fg-main 0.3)))))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -225,6 +225,12 @@
|
||||||
;;; Company Mode
|
;;; Company Mode
|
||||||
`(company-tooltip ((t (:inherit fixed-pitch :background ,accent-one :foreground ,bg-main))))
|
`(company-tooltip ((t (:inherit fixed-pitch :background ,accent-one :foreground ,bg-main))))
|
||||||
`(company-tooltip-common ((t (:foreground ,(darken accent-four 0.2)))))
|
`(company-tooltip-common ((t (:foreground ,(darken accent-four 0.2)))))
|
||||||
|
|
||||||
|
;;; Corfu
|
||||||
|
`(corfu-default ((t (:inherit company-tooltip))))
|
||||||
|
`(corfu-current ((t (:inherit company-tooltip-common))))
|
||||||
|
`(corfu-border ((t (:background ,accent-one-saturated))))
|
||||||
|
`(corfu-bar ((t (:background ,accent-one))))
|
||||||
|
|
||||||
;;; HL-todo
|
;;; HL-todo
|
||||||
`(hl-todo ((t (:inherit default :background ,(darken accent-one 0.2) :foreground ,bg-main))))
|
`(hl-todo ((t (:inherit default :background ,(darken accent-one 0.2) :foreground ,bg-main))))
|
||||||
|
|
|
@ -226,7 +226,13 @@
|
||||||
`(company-tooltip ((t (:inherit fixed-pitch :background ,(darken accent-one 0.5) :foreground ,fg-main))))
|
`(company-tooltip ((t (:inherit fixed-pitch :background ,(darken accent-one 0.5) :foreground ,fg-main))))
|
||||||
`(company-tooltip-common ((t (:foreground ,(lighten accent-three 0.2)))))
|
`(company-tooltip-common ((t (:foreground ,(lighten accent-three 0.2)))))
|
||||||
|
|
||||||
;;; HL-todo
|
;;; Corfu
|
||||||
|
`(corfu-default ((t (:inherit company-tooltip))))
|
||||||
|
`(corfu-current ((t (:inherit company-tooltip-common))))
|
||||||
|
`(corfu-border ((t (:background ,accent-one-saturated))))
|
||||||
|
`(corfu-bar ((t (:background ,(lighten bg-main 1.5)))))
|
||||||
|
|
||||||
|
;;; HL-todo
|
||||||
`(hl-todo ((t (:inherit default :background ,(lighten accent-four-desaturated 0.2) :foreground ,(darken fg-main 0.3)))))
|
`(hl-todo ((t (:inherit default :background ,(lighten accent-four-desaturated 0.2) :foreground ,(darken fg-main 0.3)))))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,13 @@
|
||||||
`(company-tooltip ((t (:inherit fixed-pitch :background ,(darken bg-main 0.3) :foreground ,(lighten fg-main 0.3)))))
|
`(company-tooltip ((t (:inherit fixed-pitch :background ,(darken bg-main 0.3) :foreground ,(lighten fg-main 0.3)))))
|
||||||
`(company-tooltip-common ((t (:foreground ,(lighten accent-one-saturated 0.2)))))
|
`(company-tooltip-common ((t (:foreground ,(lighten accent-one-saturated 0.2)))))
|
||||||
|
|
||||||
;;; HL-todo
|
;;; Corfu
|
||||||
|
`(corfu-default ((t (:inherit company-tooltip))))
|
||||||
|
`(corfu-current ((t (:inherit company-tooltip-common))))
|
||||||
|
`(corfu-border ((t (:background ,accent-one-saturated))))
|
||||||
|
`(corfu-bar ((t (:background ,accent-one))))
|
||||||
|
|
||||||
|
;;; HL-todo
|
||||||
`(hl-todo ((t (:inherit default :background ,(lighten accent-four-desaturated 0.2) :foreground ,(darken fg-main 0.3)))))
|
`(hl-todo ((t (:inherit default :background ,(lighten accent-four-desaturated 0.2) :foreground ,(darken fg-main 0.3)))))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue