Comments (6)
Thank you, I didn't check my plugin against neovim. Now it should work properly.
from calendar.vim.
Start the calendar with -debug
option and investigate the responses in ~/.vim/cache/calendar.vim/download/
.
from calendar.vim.
~/.cache/calendar.vim/download
is empty after calling :Calendar -debug
and after setting let g:calendar_debug = 1
.
~/.vim
did not exist and after making ~/.vim/cache/calendar.vim/download
it too stayed empty.
~/.cache/calendar.vim/google
contains a valid-looking access token and a refresh token.
from calendar.vim.
Sorry the default download directory is ~/.cache/calendar.vim/download
. Any case, could you debug with echom content
here?
from calendar.vim.
thank you for your assistance
I get
{'refresh_token': '1//09...2F8', 'scope': 'https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/tasks', 'access_tokes': 'ya2...163', 'expires_in': 3599, 'token_type': 'Bearer'}
This token seems to be identical to what is stored in ~/.cache/calendar.vim/google/access_token
ls -l ~/.cache/calendar.vim/google
returns
-rw------- 1 user user 490 Feb 2 12:36 access_token
-rw------- 1 user user 125 Feb 2 12:36 refresh_token
from calendar.vim.
I remade my API keys to be sure. Both gcalcli and the python library gcsa can work with it.
I tested it with a different account and the different account again works with gcalcli and gcsa but gets calendar.vim to give the same behavior as before.
I uninstalled all my neovim plugins to no avail (I use packer).
I also uninstalled packer and just cloned calendar.vim into ~/.local/share/nvim/site/pack/vendor/start
while keeping a very vanilla init.vim
Removing let g:calendar_google_calendar = 1
does get me a(n empty) calendar upon calling :Calendar
.
What did work was using vim instead of neovim. My vim was vanilla aside from cloning this repo into ~/.vim/pack/vendor/start
, sourcing the credentials and setting let g:calendar_google_calendar = 1
. I did not need to log in even (It probably reuses the login from nvim).
I would prefer to use neovim however.
from calendar.vim.
Related Issues (20)
- Calendar command not work well HOT 1
- Sort entries in month view according to begin time HOT 3
- meaning of function names? HOT 4
- Color issue depending on background? HOT 8
- Events not taking all the horizontal space available in week view HOT 1
- request to hide the summary in the day view HOT 1
- Google Calendar events not colored correctly. HOT 9
- Options that set event item's background ? (now skeleton) HOT 4
- Some events don't show up. HOT 9
- support json authorization for gcal with gcsa HOT 3
- It would be more helpful if it had supoort fot hooks for such as vimwiki
- [Feature] live update
- Task view
- Store a file for each year.
- Keep?
- Calendar.vim must be initialised by running PlugInstall on every VIM launch HOT 1
- Error authenticating google on Windows HOT 4
- Clearing the calendar HOT 2
- Delete calendar? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendar.vim.