diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-04 19:44:24 +0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-02-04 20:59:10 +0200 |
commit | db680a78d11c45064281dbc5a158919323dda666 (patch) | |
tree | c78bada5ee25f5e6e975977c304f23c3d5c88aa8 /data | |
parent | 02733bc654b273f17597dfaea6bec885ead88e0a (diff) | |
download | meson-db680a78d11c45064281dbc5a158919323dda666.zip meson-db680a78d11c45064281dbc5a158919323dda666.tar.gz meson-db680a78d11c45064281dbc5a158919323dda666.tar.bz2 |
Drop emacs meson-mode
The one on MELPA is way more advanced: https://melpa.org/#/meson-mode
https://github.com/wentasah/meson-mode
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'data')
-rw-r--r-- | data/syntax-highlighting/emacs/meson.el | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/data/syntax-highlighting/emacs/meson.el b/data/syntax-highlighting/emacs/meson.el deleted file mode 100644 index a640bbe..0000000 --- a/data/syntax-highlighting/emacs/meson.el +++ /dev/null @@ -1,31 +0,0 @@ -;; keywords for syntax coloring -(setq meson-keywords - `( - ( ,(regexp-opt '("elif" "if" "else" "endif" "foreach" "endforeach") 'word) . font-lock-keyword-face) - ) - ) - -;; syntax table -(defvar meson-syntax-table nil "Syntax table for `meson-mode'.") -(setq meson-syntax-table - (let ((synTable (make-syntax-table))) - - ;; bash style comment: “# …” - (modify-syntax-entry ?# "< b" synTable) - (modify-syntax-entry ?\n "> b" synTable) - - synTable)) - -;; define the major mode. -(define-derived-mode meson-mode prog-mode - "meson-mode is a major mode for editing Meson build definition files." - :syntax-table meson-syntax-table - - (setq font-lock-defaults '(meson-keywords)) - (setq mode-name "meson") - (setq-local comment-start "# ") - (setq-local comment-end "")) - -(add-to-list 'auto-mode-alist '("meson.build" . meson-mode)) -(provide 'meson) -;;; meson.el ends here |