Highlight Numbers

You can add syntax highlighting to numbers if you want to see them contrasted against text.



(use-package highlight-numbers
:commands highlight-numbers-mode
);end highight numbers
; Highlight-identifiers

Rainbow Identifiers and Delimiters

Delimiters highlights brackets with different colours. Identifiers introduces more syntax highlighting in your code.



(use-package rainbow-identifiers
:commands rainbow-identifiers-mode
);end rainbow identifiers
;Highlight Delimiters
(use-package rainbow-delimiters
:commands rainbow-delimiters-mode
:hook(
(prog-mode . rainbow-delimiters-mode)
(text-mode . rainbow-delimiters-mode)
);end hook
);end rainbow-delimiters

Rainbow Mode

You can highlight hex colour codes in their corresponding colours.



;Show Hex Color Codes
(use-package rainbow-mode
:commands rainbow-mode
:diminish
:hook (
(web-mode . rainbow-mode)
(css-mode . rainbow-mode)
);end hook
);end rainbow-mode

Syntax and Font

Defaults you need somewhere.



;Highlight Syntax
(global-font-lock-mode t)
; Highlight current line
;(global-hl-line-mode 1)
;maximum font decoration
(setq font-lock-maximum-decoration t)

Highlight Parentheses



;Highlight Parenthesis
(use-package highlight-parentheses
:config
(show-paren-mode t)
(setq show-paren-style 'mixed)
'(kept-old-versions 0)
(setq show-paren-delay 0)
);end highlight parenthesis

Indent Guides

Indent guides highlights indents, good when your code is prettified.



;Highlight Indent Guides
(use-package highlight-indent-guides
:diminish
:commands highlight-indent-guides-mode
:custom
;(highlight-indent-guides-auto-enabled t)
(highlight-indent-guides-responsive t)
(highlight-indent-guides-method 'character)
:hook
(prog-mode  . highlight-indent-guides-mode)
) ; end indent-guides

Fill Column Indicator

Let's you know where you are on the page, relative to say a Word document.



;Highlight column edge
(use-package fill-column-indicator
:commands fill-column-indicator-mode
:config
;to change the color
(setq fci-rule-color "#111122")
;( set fci-rule-use-dashes nil)
(setq fci-rule-width 1)
(setq fci-rule-color "darkblue")
:diminish
);end fill column indicator

Beacon

You can add a cursor that flashes when you change windows.



;highlight cursor when jump window/buffer
(use-package beacon
:diminish
:commands beacon-mode
:init
(beacon-mode 1)
:config
;; only flash on window/buffer changes...
(setq beacon-blink-when-window-changes t)
(setq beacon-blink-when-window-scrolls nil)
(setq beacon-blink-when-point-moves nil)
(setq beacon-blink-duration .2)
(setq beacon-blink-delay .2)
(setq beacon-size 20)
);end beacon