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

Question: Accessing other files within vimwiki #979

Closed
zamlz opened this issue Aug 7, 2020 · 2 comments
Closed

Question: Accessing other files within vimwiki #979

zamlz opened this issue Aug 7, 2020 · 2 comments
Assignees
Labels

Comments

@zamlz
Copy link

zamlz commented Aug 7, 2020

It's pretty straightforward to link other files in vimwiki, specifically I woudl like to be able to open up my ledger file (ledger-cli) and it uses the vim-ledger plugin. However, when I open the *.journal through vimwiki, I'm not seeing it use the syntax and keybindings provided by the vim-ledger plugin. I can open the main.journal file normally and see the syntax. Any thoughts as to how to go about fixing this?

@tinmarino
Copy link
Member

tinmarino commented Aug 7, 2020

Hi @zamlz

Thanks for raising the issue. It is actually a bug (That I can reproduce). The filetype should be set to journal

These lines are a little hard:

" Make sure no other plugin takes ownership over the new file. Vimwiki
" rules them all! Well, except for directories, which may be opened with
" Netrw
if !vimwiki#u#ft_is_vw() && fname !~? '\m/$'
call vimwiki#u#ft_set()
endif
endif

@tinmarino tinmarino self-assigned this Aug 7, 2020
@tinmarino tinmarino added the bug label Aug 7, 2020
@tinmarino tinmarino added this to Needs triage in Bug Triage Deprecated via automation Aug 7, 2020
@tinmarino tinmarino moved this from Needs triage to High priority in Bug Triage Deprecated Aug 7, 2020
tinmarino added a commit to tinmarino/vimwiki that referenced this issue Aug 7, 2020
@tinmarino
Copy link
Member

Fixed : 659ca62 removing the annoying line

Bug Triage Deprecated automation moved this from High priority to Closed Aug 7, 2020
deepredsky pushed a commit to deepredsky/vimwiki that referenced this issue Jan 16, 2021
jls83 pushed a commit to jls83/vimwiki that referenced this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants