Enable nxml-mode for Xaml files
This commit is contained in:
parent
c7606ee498
commit
8009bffa79
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2019.1210.230556
|
;; Version: 2020.0128.214417
|
||||||
;; 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
|
||||||
|
@ -91,6 +91,9 @@
|
||||||
(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)
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.xaml\\'" . nxml-mode))
|
||||||
|
|
||||||
;;;###autoload(with-eval-after-load 'csharp-mode (require 'oni-csharp))
|
;;;###autoload(with-eval-after-load 'csharp-mode (require 'oni-csharp))
|
||||||
|
|
||||||
(provide 'oni-csharp)
|
(provide 'oni-csharp)
|
||||||
|
|
Loading…
Reference in a new issue