Variable: bazel-workspace-mode-abbrev-table

bazel-workspace-mode-abbrev-table is a variable defined in bazel.el.

Value

#<obarray n=1>

Documentation

Abbrev table for bazel-workspace-mode.

Source Code

;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
;;;###autoload
(define-derived-mode bazel-workspace-mode bazel-mode "WORKSPACE.bazel"
  "Major mode for editing Bazel WORKSPACE files."
  (setq bazel--buildifier-type 'workspace)
  ;; In WORKSPACE files, we don’t have function definitions.  Instead, treat
  ;; rule target definitions (= Python statements) as functions.
  (setq-local beginning-of-defun-function #'python-nav-beginning-of-statement)
  (setq-local end-of-defun-function #'python-nav-end-of-statement)
  (add-hook 'which-func-functions #'bazel-current-target-name nil :local)
  (setq-local add-log-current-defun-function #'bazel-current-target-name)
  (setq-local imenu-create-index-function #'bazel-mode-create-index)
  nil)