summaryrefslogtreecommitdiff
path: root/csharp.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-06-26 19:57:13 +0800
committerJSDurand <mmemmew@gmail.com>2022-06-26 19:57:13 +0800
commitaf5f6c3924d66104e5425220c23e51cdda9e7311 (patch)
treeb579d8599cd437f5fdadfb664bf512e626c5cfa2 /csharp.el
parentdec9d1162bd234381da0b37e1c9859dbfa5cc577 (diff)
csharp and v in view-mode-map
* csharp.el: ("csharp-mode"): Syntax-highlighting for C-sharp files. * view-conf.el: Bind 'v' to `View-scroll-page-forward' in `view-mode-map'.
Diffstat (limited to 'csharp.el')
-rw-r--r--csharp.el30
1 files changed, 30 insertions, 0 deletions
diff --git a/csharp.el b/csharp.el
new file mode 100644
index 0000000..8b83afc
--- /dev/null
+++ b/csharp.el
@@ -0,0 +1,30 @@
+;;; csharp.el --- Mode for CSharp -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2022 李俊緯
+
+;; Author: 李俊緯 <mmemmew@gmail.com>
+;; Keywords: convenience, c, files, languages, tools
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; A little configuration for Csharp files
+
+;;; Code:
+
+(use-package "csharp-mode" 'csharp-mode)
+
+(provide 'csharp)
+;;; csharp.el ends here