Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<CR> or ObsidianFollowLink doesn't create new files #787

Open
jkmacc opened this issue Dec 9, 2024 · 0 comments
Open

<CR> or ObsidianFollowLink doesn't create new files #787

jkmacc opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jkmacc
Copy link

jkmacc commented Dec 9, 2024

🐛 Describe the bug

Typing "enter" or running ObsidianFollowLink on a relative link to a non-existent file doesn't create the file as expected, but instead gives a failed to resolve file <filename> ERROR.

Config

No matter how I configure markdown_link_func, I still get the error. I even used the final config from discussion, which should to handle relative note links in case that was the problem.

Environment

❯ nvim --version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1732813678
Run "nvim -V1 -v" for more info
❯ nvim --headless -c 'lua require("obsidian").info()' -c q

Obsidian.nvim v3.9.0 (ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b)
Status:
  • buffer directory: nil
  • working directory: /Users/jkmacc/notes/logs
Workspaces:
  ✓ active workspace: Workspace(name='vault', path='/Users/jkmacc/notes', root='/Users/jkmacc/notes')
  ✗ inactive workspace: Workspace(name='dataview', path='/Users/jkmacc/code/obsidian_dataview_example_vault', root='/Users/jkmacc/code/obsidian_dataview_example_vault')
Dependencies:
  ✓ plenary.nvim: 2d9b06177a975543726ce5c73fca176cedbffe9d
  ✓ nvim-cmp: ca4d3330d386e76967e53b85953c170658255ecb
Integrations:
  ✓ picker: TelescopePicker()
  ✓ completion: enabled (nvim-cmp) ✗ refs, ✗ tags, ✗ new
    all sources:
      • nvim_lsp
      • luasnip
      • path
Tools:
  ✓ rg: ripgrep 14.1.1
Environment:
  • operating system: Darwin
Config:
  • notes_subdir: nil%

@jkmacc jkmacc added the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant