telescope-terraform-doc.nvim's People
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 ๐คฃ
Bug in packer documentation in README
The dependency says "nvim-telescope/telescope-terraform-doc.nvim"
it should be "ANGkeith/telescope-terraform-doc.nvim"
Error when executing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.