From 34d3ede42060ae1b1c1db3cccb0a6131c8abaddf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 07:38:38 +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