          ((eq action 'navigate)
           (and (not on-comparison) (not on-fn-return-type) (not on-match-branch))))))))
 
+  (sp-local-pair 'protobuf-mode "'" "'")
   (sp-local-pair 'prog-mode "/*" "*/")
 
   (sp-local-pair 'prog-mode "<" ">"

  ;; Add to minibuffer also.
  :hook ((minibuffer-setup . smartparens-mode)
         (prog-mode . smartparens-strict-mode)
         (ielm-mode . smartparens-strict-mode)
         (eshell-mode . smartparens-strict-mode))
  :config


(use-package smartparens
  :ensure t
  :init
  (when (display-graphic-p)
    (define-key input-decode-map (kbd "C-[") [C-\[]))
  :bind
  (:map
   smartparens-strict-mode-map
