Code Monkey home page Code Monkey logo

telescope-terraform-doc.nvim's People

Stargazers

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

Watchers

 avatar  avatar  avatar

telescope-terraform-doc.nvim's Issues

Module documentation

Hi @ANGkeith

I installed your plugin yesterday and I really love it!

Any chance to add also modules with links to terraform site and directly to the github repo?

I usually dive into the implementation of modules on github to understand usage as I find the site not informative enough and lacking info when it comes to nested maps as variables

Thanks for the great extension to teleport

Error `after the second argument: expected table, got nil` when invoking via keymap

Here is a minimally reproducible configuration with Lazy.nvim:

return {
  "nvim-telescope/telescope.nvim",
  config = function()
    local telescope = require("telescope")
    telescope.load_extension("terraform_doc")
    telescope.setup()
  end,
  keys = {
    {
      "<leader>ft",
      function()
        require("telescope").extensions.terraform_doc.terraform_doc()
      end,
      desc = "Telescope terraform_doc",
    },
  },
  dependencies = {
    { "ANGkeith/telescope-terraform-doc.nvim" },
  },
}

When invoking keymap <leader>ft, the following error is thrown:

E5108: Error executing lua: vim/shared.lua:0: after the second argument: expected table, got nil
stack traceback:
	[C]: in function 'error'
	vim/shared.lua: in function 'validate'
	vim/shared.lua: in function 'tbl_extend'
	...nvim/lua/telescope/_extensions/terraform_doc/builtin.lua:15: in function 'terraform_doc'
	/Users/pbnj/.config/nvim/lua/plugins/telescope.lua:44: in function </Users/pbnj/.config/nvim/lua/plugins/telescope.lua:43>

When invoking via standard command: :Telescope terraform_doc and :Telescope terraform_doc terraform_doc, it works fine.

builtin.lua:15 is trying to initialize opts:

opts = vim.tbl_extend("keep", opts, M_opts)

So, I tried to configure some default options like:

-- ...
  config = function()
    local telescope = require("telescope")
    telescope.load_extension("terraform_doc")
    telescope.setup({
      extensions = {
        terraform_doc = {
          latest_provider_symbol = "*",
        }
      }
    })
  end,
-- ...

But, it still throws the same error.

Option to select default action

This is really useful for our work in terraform! We usually do our terraform work headless on the cloud and we can't perform X11Forward'ing of our SSH Sessions in order to perform the default open url action. Would it be possible to add a config which supports having open in a split instead? My muscle memory is quite atrophied in remembering that opens docs in a split ๐Ÿคฃ

Error when executing

Good morning.

I recently discovered your plugin and loved its functionality, but soon after installing and running it, it takes a while to run and then returns this error:

Error

I would like to know how I can solve it, or if it is a problem with the extension itself.

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.