-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Support / docs / newbie question: Where does the require statement go? #52
Comments
Seems like you are using Vim. |
Closing this due to inactivity. |
Hi! Just to add that the instructions could be clarified. Example (for code snippet under Setup heading): adding a commented out line in the code sample clarifying in what file the setup lines go, and also where in that file if it already exists. I have the same thing. I most definitely am using Neovim 0.5 though. Thanks to this thread I now know I probably need to add those lines in a lua file somewhere (like the OP I tried "the other regular places", such as ~/.config/nvim/init.vim and also created a ~/.vimrc, both without luck of course), but I don't know where that file is and if those lines should go at the top/bottom, or after an init of some kind, as all the lua files I can find in the orgmode.vim folder (which are the only lua files I have) look rather "busy" already. Have tried a couple of options I thought could be logical, but so far no luck. For those "who already know" this is most likely a silly n00b thing, but for those who are new to this plug, like me (and OP) it is very difficult to know what we don't know. It would be a quick fix to just add that info to the readme info, IMHO. |
For the OP's issue, I think there's enough information that this is a Neovim specific plugin, by few things:
I'm assuming he just missed it. Installation instructions doesn't have the note that this needs to go into I'm open for Readme and Docs improvement PRs, so feel free to add what you think it's missing. I'm an advanced user so it's hard for me to figure these things out. |
Right. Then I truly am more confused. I agree that setup/install instructions that go in to the "usual" default files don't need further specification. However, when I add those lines to my ~/.config/nvim/init.vim I get the error messages described by OP. I thought that would be the logical place to put any configuration that isn't otherwise specified, but alas, I get:
Neovim installed on macOS via Homebrew. I'm a long time vim user that decided to try out Neovim after briefly exploring Spacemacs (and deciding to look for other options), and thus ended up here. |
I updated the setup section to explain how to set up from I suggest to read more about Neovim lua functionality here https://github.com/nanotee/nvim-lua-guide, since it has basics explained. Hope this helps. |
Perfect! It worked great, thanks! |
Where does the
require('orgmode').setup({
etc statement documented under Setup get placed?Tried it in
~/.vimrc
and got:Using the kristijanhusak/vim-packager installation approach.
Hmm, same for the chain completion too.
Thanks!
The text was updated successfully, but these errors were encountered: