Variable: projection-primary-project-type

projection-primary-project-type is a buffer-local variable defined in projection-core-match.el.

Documentation

Override for the primary project type of the current project.

Set this to the name of a defined project type to force projection to use it as the primary project type by default. You can still override the current project type interactively with projection-set-primary-project-type. This is useful for projects that support multiple possible project-types but the default matched type isn't the primary type you'd like to use for the project. It's recommended to set this in a dir-locals file.

Source Code

;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-core-match.el
(defvar-local projection-primary-project-type nil
  "Override for the primary project type of the current project.
Set this to the name of a defined project type to force projection to use it as
the primary project type by default. You can still override the current project
type interactively with `projection-set-primary-project-type'. This is useful
for projects that support multiple possible project-types but the default
matched type isn't the primary type you'd like to use for the project. It's
recommended to set this in a dir-locals file.")