doomemacs/modules/tools/lookup/autoload
Henrik Lissner 0a2bcf928c
feat(lookup): +lookup/file: search file tree for relative paths
Given a relative file path that:

- Doesn't exist, relative to the open file/buffer (default-directory),
- Doesn't exist, relative to the project root,
- Doesn't satisfy any of the other rules in ffap-alist,
- Contains more than one segment (forward slashes),

The +lookup/file command will walk the file tree from default-directory
to the project root to search for the path, so given:

  project
  └── src
      ├── a
      │   └── a.h
      └── b
          └── b.h

This command, run on 'b/b.h' in a/a.h, will open b/b.h (but 'b.h' alone
won't work, which is intended, to reduce false positives).

Close: #7890
Co-authored-by: liuzhishan <liuzhishan@users.noreply.github.com>
2024-06-20 18:28:12 -04:00
..
docsets.el fix(lookup): require consult in +lookup/in-docsets 2023-02-22 21:14:57 -05:00
evil.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
lookup.el feat(lookup): +lookup/file: search file tree for relative paths 2024-06-20 18:28:12 -04:00
online.el fix(lookup): check ivy|helm-mode before using their backends 2022-05-26 23:37:44 +02:00
xwidget.el refactor(lookup): move xwidget popup rule (#5598) 2021-10-10 18:22:13 +02:00