diff options
| author | 2025-06-19 02:57:51 +0300 | |
|---|---|---|
| committer | 2025-06-19 02:57:51 +0300 | |
| commit | 26341d565ac365904ecd6c98479903a2b0e11bdd (patch) | |
| tree | de221153df73486f9c2937185a25ac3cedabde7f /config/nvim/lua/plugins/apidocs.lua | |
| parent | Вс 15 июн 2025 16:45:49 MSK (diff) | |
| download | dotfiles-26341d565ac365904ecd6c98479903a2b0e11bdd.tar.gz dotfiles-26341d565ac365904ecd6c98479903a2b0e11bdd.tar.bz2 dotfiles-26341d565ac365904ecd6c98479903a2b0e11bdd.tar.xz dotfiles-26341d565ac365904ecd6c98479903a2b0e11bdd.zip | |
Чт 19 июн 2025 02:57:51 MSK
Diffstat (limited to '')
| -rw-r--r-- | config/nvim/lua/plugins/apidocs.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/nvim/lua/plugins/apidocs.lua b/config/nvim/lua/plugins/apidocs.lua new file mode 100644 index 0000000..9bc35da --- /dev/null +++ b/config/nvim/lua/plugins/apidocs.lua @@ -0,0 +1,16 @@ +return { + "emmanueltouzery/apidocs.nvim", + dependencies = { + "nvim-telescope/telescope.nvim", -- or, 'folke/snacks.nvim' + }, + cmd = { "ApidocsSearch", "ApidocsInstall", "ApidocsOpen", "ApidocsSelect", "ApidocsUninstall" }, + config = function() + require("apidocs").setup() + -- Picker will be auto-detected. To select a picker of your choice explicitly you can set picker by the configuration option 'picker': + -- require('apidocs').setup({picker = "snacks"}) + -- Possible options are 'ui_select', 'telescope', and 'snacks' + end, + keys = { + { "<leader>sad", "<cmd>ApidocsOpen<cr>", desc = "Search Api Doc" }, + }, +} |
