Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
404 B

  1. return function ()
  2. require('nvim-devdocs').setup({
  3. float_win = {
  4. relative = "editor",
  5. height = 50,
  6. width = 170,
  7. border = "rounded",
  8. },
  9. wrap = false,
  10. previewer_cmd = "glow",
  11. cmd_args = { "-s", "dark", "-w", "80" },
  12. after_open = function(bufnr)
  13. vim.api.nvim_buf_set_keymap(bufnr, 'n', '<Esc>', ':close<CR>', {})
  14. end
  15. })
  16. end