-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
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
e492 #71
Comments
Hi @nevdawg123, I'm also starting my neovim journey with Edit : -- ~/.config/nvim/lua/custom/plugins/code_runner.lua
return {
"CRAG666/code_runner.nvim",
config = function()
require("code_runner").setup ({
filetype = {
javascript = "cd $dir && node $fileName"
}
})
end,
}
|
Have you tried this? What does your config look like? I think more information would help make your issue clearer. Like, @Skylli202, I've shared my config to give an example of what works. Any updated information from you will be greatly appreciated. Thanks! |
I caught the same after migrate to Lazy (with your config)... |
@Uttah , Can you share your config file, as well as your |
Hi, can you verify if the plugin is loaded by return {
"CRAG666/code_runner.nvim",
event = "VeryLazy",
opts = {
filetype = {
...
},
},
} |
@dorrajmachai use this in lazy config: keys = {
{
"<leader>e",
function()
require("code_runner").run_code()
end,
desc = "[e]xcute code",
},
},
|
I'm currently using a version of kickstart.nvim and when i added the plugin and set the keymap every time i try to run a file or code it says "e492: not an editor command:Run File, or run code:
The text was updated successfully, but these errors were encountered: