|
|
1f05c80 |
; Protobuf major mode, init file by Tim Niemueller [www.niemueller.de], BSD
|
|
|
1f05c80 |
; Add mode to automatically recognized modes
|
|
|
1f05c80 |
(setq auto-mode-alist (cons '("\\.proto$" . protobuf-mode) auto-mode-alist))
|
|
|
1f05c80 |
(autoload 'protobuf-mode "protobuf-mode" "Google protobuf editing mode." t)
|
|
|
1f05c80 |
; Turn on colorization by default
|
|
|
1f05c80 |
(add-hook 'protobuf-mode-hook 'turn-on-font-lock)
|