chipsenkbeil / vimwiki.nvim

Neovim plugin that offers enhanced and alternative functionality for the vimwiki language.
BSD 2-Clause "Simplified" License
50 stars 0 forks source link

Reaching max timeout on inspecting specification.wiki #16

Closed chipsenkbeil closed 3 years ago

chipsenkbeil commented 3 years ago

While small wiki files seem to work fine, larger ones like specification.wiki seem to take too long (over 1 second) to return a query. This seems odd given that once the file has been parsed I would expect querying the file to be quick.

I may have some bad logic somewhere slowing things down, either on the plugin or server side. First step is to see if there's anything to be done on the plugin.

chipsenkbeil commented 3 years ago

Running a manual server and querying via graphql playground seems to be really snappy, so there may be something else going on. Need to support writing logs to file so I can monitor vim-launched version.

chipsenkbeil commented 3 years ago

I don't see the server starting, but this is also the file where the vimwiki plugin encounters errors. Due to vim's nature, this may mean that autocmds are not getting run to launch the server and communicate with it.

chipsenkbeil commented 3 years ago

Turns out the server works just fine. Seems like the vimwiki plugin errors are causing things to not load.