Skip to content
Benjamin Saunders edited this page Nov 1, 2023 · 10 revisions

project.el

Emacs modes like elot, the first-part LSP integration, rely on project.el to discover workspace roots. project.el's heuristics include checks for .git, which will fail in jj repositories that are not colocated. This can be addressed by adding ".jj" to project-vc-extra-root-markers, e.g.:

(use-package project
  :config
  (add-to-list 'project-vc-extra-root-markers ".jj"))
Clone this wiki locally