Giter Club home page Giter Club logo

devdocs.vim's Introduction

๐Ÿ‘‹ Hi, I'm Girish.

devdocs.vim's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

devdocs.vim's Issues

I can't install this plugin on v0.9.5 or even v0.9.4

This is the weird error I get, I suppose the semver check/assertion is buggy. crates.nvim has a very good & tested semver implementation implemented in lua:

vim/_editor.lua:0: /home/izelnakri/.config/home-manager/static/.config/nvim/init.lua..nvim_exec2() called at /home/izelnakri/.config/home-manager/static/.config/nvim/init.lua:0../home/izelnakri/.local/share/nvim/lazy/devdocs.vim/plugin/setup.vim, line 2: Vim(echoerr):Needs Vim version 9.01 and above

# stacktrace:
  - vim/_editor.lua:0 _in_ **cmd**
  - ~/.config/nvim/lua/config/lazy.lua:28
  - static/.config/nvim/init.lua:2

Problem code: https://github.com/girishji/devdocs.vim/blob/main/plugin/setup.vim#L1

error when I involk `:DevdocsInstall`

I have installed plugin, and do :DevdocsInstall get

Error detected while processing /Users/donotreason/.vim/pack/downloads/opt/devdocs.vim/autoload/devdocs/install.vim:
line    4:
E1053: Could not import "./popup.vim"
E1048: Item not found in script: Install

ERROR: Can not find writer.lua

This happened when I was using "DevdocsFind":

ๅ›พ็‰‡

This plugin was trying to load "writer.lua" from a non-existing position: "~/.vim/vim/site/pandoc".

I have a initializing script devdocs2.vim located int "/.vim/vim/site/bundles/", but don't have anything in "/.vim/vim/site/pandoc"

but if I create a pandoc folder in "~/.vim/vim/site" and put writer.lua from this plugin in pandoc folder, it will work.

ERROR: Failed to rename on Windows

When I was trying to install lua docs, I encountered some shell error:

ๅ›พ็‰‡

may this piece of code is not compatible with windows:

ๅ›พ็‰‡

also, the mv arguments in your script is not safe (hasn't been quoted):

$'mv {tmpdir} {outdir}'->system()

I suppose it should be:

$'mv "{tmpdir}" "{outdir}"'->system()

and for windows, it should be:

$'ren "{tmpdir}" "{outdir}"'->system()

Error using DevdocsFind

On gvim, after installed python documentation, I did;
:DevdocsFindos

Got this error:

No abbreviation found
:DevdocsFind

Error detected while processing function <lambda>47:
line    1:
error: Error running Lua: from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
error: tput: createProcess: does not exist (No such file or directory) from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
error: stack traceback: from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
error: ^I...\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua:67: in upvalue 'set_columns' from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
error: ^I...\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua:344: in function 'pandoc.scaffolding.Writer.Pandoc' from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
error: ^Iwhile rendering Pandoc from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
error: stack traceback: from pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html
Error detected while processing function <lambda>48:
line    2:
pandoc -t C:\workspaces\system\config\vim\plugged\devdocs.vim/pandoc/writer.lua C:\Users\pedro\.local\share\devdocs/python~3.11/library/os.html exited with status 84
Error detected while processing function <lambda>46[5]..<lambda>44:
line    5:
Pandoc failed (Vim:E1012: Type mismatch; expected dict<any> but got special)

No abbreviation found
:q

The error reproduces for other languages as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.