Print the content of final spec #1037
Answered
by
abeldekat
georgejean
asked this question in
Q&A
-
For testing purpose, I wonder if there is a way to print the content of the final spec table supposing we use something as : table.insert(default_plugins, { import = config.plugins })
require("lazy").setup(default_plugins) In the module local file = io.open("D:/Desktop/file1.txt", "w")
file:write(vim.inspect(default_plugins))
file:close() but obviously it gives only the raw content of the |
Beta Was this translation helpful? Give feedback.
Answered by
abeldekat
Sep 18, 2023
Replies: 1 comment 3 replies
-
You can use: |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
georgejean
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use:
vim.inspect(require("lazy.core.config").plugins)