dotfiles/.config/nvim/lua/plugins/extras/documentation.lua
Sergio Laín c4e8fe2941
♻️ refactor(nvim): big changes to the config structure
a lot of plugins are moving to the extra modules
all the keymaps are on the keys section of each plugin
which-key options are now dependant on the plugin they are in, etc
2023-10-20 15:01:41 +02:00

47 lines
942 B
Lua

return {
{
"luckasRanarison/nvim-devdocs",
cmd = {
"DevdocsFetch",
"DevdocsInstall",
"DevdocsUninstall",
"DevdocsOpen",
"DevdocsOpenFloat",
"DevdocsOpenCurrent",
"DevdocsOpenCurrentFloat",
"DevdocsUpdate",
"DevdocsUpdateAll",
},
keys = {
{ "<leader>sE", "<cmd>DevdocsOpen<cr>", desc = "Devdocs" },
{ "<leader>se", "<cmd>DevdocsOpenCurrent<cr>", desc = "Devdocs Current" },
},
opts = {
ensure_installed = {
"css",
"html",
"javascript",
"lua-5.4",
"python-3.11",
"react",
"typescript",
"angular",
"bash",
"fish-3.6",
"git",
"go",
"rust",
"sass",
"vue-3",
"docker",
"markdown",
"svelte",
"tailwindcss",
"eslint",
"prettier",
"npm",
"node",
},
},
},
}