You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried installing this plugin in my neovim config using lazy but when I run the telescope nx action the list is empty so I cannot run anything.
I have looked in the logs and I seem to be able to see the build targets, I am just unsure why they aren't showing in the list.
I have followed the readme and below is my config
config/plugins.lua
{
"Equilibris/nx.nvim",
dependencies = {
"nvim-telescope/telescope.nvim",
},
config = function()
require("nx").setup({})
end, -- Plugin will load when you use these keys
keys = {
{ "<leader>nx", "<cmd>Telescope nx actions<CR>", desc = "nx actions"}
},
},
plugins/nx.lua
require('nx.nvim').setup{
-- Base command to run all other nx commands, some other values may be:
-- - `npm nx`
-- - `yarn nx`
-- - `pnpm nx`
nx_cmd_root = 'npx nx',
-- Command running capabilities,
-- see nx.m.command-runners for more details
command_runner = require('nx.command-runners').terminal_cmd(),
-- Form rendering capabilities,
-- see nx.m.form-renderers for more detials
form_renderer = require('nx.form-renderers').telescope(),
-- Whether or not to load nx configuration,
-- see nx.loading-and-reloading for more details
read_init = true,
}
NX Version
nx --version
Nx Version:
- Local: v17.2.7
- Global: Not found
Any help is appreciated, I am new to neovim so it might be user error but I have spent a good amount of time trying to wrap my head around it and I am unsure whats going on. 😁
The text was updated successfully, but these errors were encountered:
I experience the same issue.
However, I have noticed that for me the list is populated just fine on the second execution so as a workaround I developed a habit to run <leader>nx, then Escape, then <leader>nx again. It's not nice but it works. 🤷♂️
Hey there,
I have tried installing this plugin in my neovim config using lazy but when I run the telescope nx action the list is empty so I cannot run anything.
I have looked in the logs and I seem to be able to see the build targets, I am just unsure why they aren't showing in the list.
I have followed the readme and below is my config
config/plugins.lua
plugins/nx.lua
NX Version
Any help is appreciated, I am new to neovim so it might be user error but I have spent a good amount of time trying to wrap my head around it and I am unsure whats going on. 😁
The text was updated successfully, but these errors were encountered: