From 2e312f4001c27e25bc432546aeb7a68c0b98cbe0 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 21 Jun 2023 08:44:50 +0000 Subject: automatic import of protobuf --- protobuf-init.el | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 protobuf-init.el (limited to 'protobuf-init.el') diff --git a/protobuf-init.el b/protobuf-init.el new file mode 100644 index 0000000..008bdef --- /dev/null +++ b/protobuf-init.el @@ -0,0 +1,6 @@ +; Protobuf major mode, init file by Tim Niemueller [www.niemueller.de], BSD +; Add mode to automatically recognized modes +(setq auto-mode-alist (cons '("\\.proto$" . protobuf-mode) auto-mode-alist)) +(autoload 'protobuf-mode "protobuf-mode" "Google protobuf editing mode." t) +; Turn on colorization by default +(add-hook 'protobuf-mode-hook 'turn-on-font-lock) -- cgit v1.2.3