We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
I was trying out LunarVim to use as an alternative for Intellij and following the docs for Scala I was getting this warning:
WARN ] lvim: "Invalid configuration: /Users/rehora/.config/lvim/config.lua:40: attempt to index global 'dap' (a nil value)" file="[C]", line=-1
I was able to fix it by adding this line before the config from docs: local dap = require("dap"
local dap = require("dap"
But I am very new to nvim and lua so I am not sure if it is correct solution and therefore I did not do a PR for the docs.
The text was updated successfully, but these errors were encountered:
the example in the docs looks incorrect, it should be
lvim.builtin.dap.on_config_done = function(dap) -- use dap here end
you can require dap, you need to do it in a callback function
Sorry, something went wrong.
No branches or pull requests
Hey,
I was trying out LunarVim to use as an alternative for Intellij and following the docs for Scala I was getting this warning:
WARN ] lvim: "Invalid configuration: /Users/rehora/.config/lvim/config.lua:40: attempt to index global 'dap' (a nil value)" file="[C]", line=-1
I was able to fix it by adding this line before the config from docs:
local dap = require("dap"
But I am very new to nvim and lua so I am not sure if it is correct solution and therefore I did not do a PR for the docs.
The text was updated successfully, but these errors were encountered: