luckasRanarison / nvim-devdocs

Neovim DevDocs integration
MIT License
269 stars 19 forks source link

Bug #20

Closed I-Own-You closed 1 year ago

I-Own-You commented 1 year ago

When i am in .py file, i try to run :DevdocOpenCurrent or :DevdocOpenCurrentFloat

and it says python documentation is not installed, even thought i have installed python-3.11.

I never issued such a problem because i opened the plugin with :DevdocOpenFloat everytime.

luckasRanarison commented 1 year ago

It's not a bug it was just missing in the filetype list, it should work now

local M = {
  ["sh"] = "bash",
  ["lua"] = "lua-5.4",
  ["vue"] = "vue-3",
  ["dart"] = "dart-2",
  ["ruby"] = "ruby-3.2",
  ["twig"] = "twig-3",
  ["less"] = "less-4",
  ["python"] = "python-3.11",
  ["javascriptreact"] = "react",
  ["typescriptreact"] = "react",
}