-
Notifications
You must be signed in to change notification settings - Fork 69
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
Cannot get completion to work #307
Comments
Thanks, this is a very good minimal example! Here are some adjustments to simplify:
The main change here is that we removed the global |
Thank you for the instructions! No, I just get
Here is the output of
|
That's strange. Which OS are you on? Which version of wiki.vim? If you are not on the latest version, then please update. After following the steps outlined in my previuos comment, please do this and report the output: cd ~/test
pwd # does your $HOME have strange characters?
ls -l # or tree if you have it
cat test.vim
cat index.md Next, do
|
I'm on a current Arch Linux
|
Please also |
But, it seems things look correct. I want to see The next step is to continue the steps earlier defined steps. After Now, perhaps can we do some simple print debugging together. Let's start here: wiki.vim/autoload/wiki/complete.vim Lines 138 to 139 in f9769a6
Add a line I would expect wiki.vim/autoload/wiki/complete.vim Lines 89 to 93 in f9769a6
|
Ok, I debugged a bit further and found that |
Oh, I did not think of that. Thanks! I'll push an update immediately! |
Let me know if this fixes it for you. If not, feel free to reopen! |
Fix works, thank you! |
Great, glad to hear it! Thanks for digging in and noticing the issue! |
Description
I want to use the completion to find pages and cannot get it to work. I boiled it down to the absolut minimum, what am I missing?
vim -u ~/junkyard/init.vim ~/junkyard/index.md
tes
(or[tes
or[x](tes
,...) and pressC-X C-O
test.md
but nothing happensNotes
:WikiPages
,<cr>
and other functionality works as expectedC-X C-O
works for e.g. python with thisinit.vim
:verbose set omnifunc?
:omnifunc=wiki#complete#omnicomplete Last set from ~/.local/share/nvim/plugged/wiki.vim/autoload/wiki/buffer.vim line 11
Minimal working example
Files:
neovim: NVIM v0.9.0
minimal init.vim:
The text was updated successfully, but these errors were encountered: