1
0
Fork 0

Add ‘rainbow-delimiters-mode’ to C# buffers

This commit is contained in:
Tom Willemse 2020-02-05 22:42:33 -08:00
parent d7f3711045
commit 3e21fca289

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0128.221359 ;; Version: 2020.0205.224224
;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck) ;; Package-Requires: (csharp-mode omnisharp oni-company oni-flycheck)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -22,7 +22,7 @@
;;; Commentary: ;;; Commentary:
;; My C# configuration. ;; My C# configuration. This configuration enables rainbow-delimiters-mode.
;;; Code: ;;; Code:
@ -90,6 +90,7 @@
(add-hook 'csharp-mode-hook 'flycheck-mode) (add-hook 'csharp-mode-hook 'flycheck-mode)
(add-hook 'csharp-mode-hook 'omnisharp-mode) (add-hook 'csharp-mode-hook 'omnisharp-mode)
(add-hook 'csharp-mode-hook 'oni-csharp--auto-fill-mode) (add-hook 'csharp-mode-hook 'oni-csharp--auto-fill-mode)
(add-hook 'csharp-mode-hook 'rainbow-delimiters-mode)
;;;###autoload ;;;###autoload
(add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode)) (add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode))