You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed this package hoping it would provide more context when editing long YAML docs like Kubernetes manifests and values files, but when moving my cursor around with the major mode enabled, I only see the current name of the top-level node (node with no indentation) instead of the full hierarchical path—at least the path to the parent of the node my cursor is on.
Is my expected behavior not the intended one?
The text was updated successfully, but these errors were encountered:
More or less. Breadcrumb doesn't do any syntactic analysis of the buffer's contents. It relies on an existing Imenu backend to do that. If the Imenu information your yaml mode provides is relatively poor, so will Breadcrumb's hints.
Unfortunately, both yaml-mode and yaml-ts-mode which I have just tried have very poor Imenu information. You could submit a bug report to bug-gnu-emacs@gnu.org to request this enhancement (or try to add it yourself! maybe it would be easier for yaml-ts-mode).
Alternatively, there's another package which sometimes does a good job in supplying good Imenu info, Eglot. After installing yaml-language-server and typing M-x eglot ,I got very decent results with Breadcrumb:
I installed this package hoping it would provide more context when editing long YAML docs like Kubernetes manifests and values files, but when moving my cursor around with the major mode enabled, I only see the current name of the top-level node (node with no indentation) instead of the full hierarchical path—at least the path to the parent of the node my cursor is on.
Is my expected behavior not the intended one?
The text was updated successfully, but these errors were encountered: