• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Protobuf major mode, init file by Tim Niemueller [www.niemueller.de], BSD
2; Add mode to automatically recognized modes
3(setq auto-mode-alist (cons '("\\.proto$" . protobuf-mode) auto-mode-alist))
4(autoload 'protobuf-mode "protobuf-mode" "Google protobuf editing mode." t)
5; Turn on colorization by default
6(add-hook 'protobuf-mode-hook 'turn-on-font-lock)
7