Skip to content

Commit

Permalink
Add toggle for syntax highlighting (via font-lock)
Browse files Browse the repository at this point in the history
jupl authored and syl20bnr committed Apr 1, 2017
1 parent fb6d592 commit a0715a9
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/DOCUMENTATION.org
Original file line number Diff line number Diff line change
@@ -1086,6 +1086,7 @@ and ~T~):
| ~SPC t h h~ | toggle highlight of the current line |
| ~SPC t h i~ | toggle highlight indentation levels |
| ~SPC t h c~ | toggle highlight indentation current column |
| ~SPC t H~ | toggle syntax highlighting |
| ~SPC t i~ | toggle indentation guide at point |
| ~SPC t l~ | toggle truncate lines |
| ~SPC t L~ | toggle visual lines |
4 changes: 4 additions & 0 deletions layers/+distributions/spacemacs-base/keybindings.el
Original file line number Diff line number Diff line change
@@ -308,6 +308,10 @@
:mode display-time-mode
:documentation "Display time in modeline."
:evil-leader "tmt")
(spacemacs|add-toggle syntax-highlighting
:mode font-lock-mode
:documentation "Toggle syntax highlighting."
:evil-leader "tH")
(spacemacs|add-toggle transparent-frame
:status nil
:on (spacemacs/toggle-transparency)

0 comments on commit a0715a9

Please sign in to comment.