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
Hello I have a weird issue this is my configuration
`{ -- This plugin
"Zeioth/compiler.nvim",
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
dependencies = { "stevearc/overseer.nvim", "nvim-telescope/telescope.nvim" },
config = function()
require("compiler").setup()
vim.g.NODEJS_PACKAGE_MANAGER = 'yarn'
-- Open compiler
vim.keymap.set('n', '<leader>r', function() require("compiler.telescope").show() end)
-- Redo last selected option
vim.api.nvim_set_keymap('n', '<leader>R',
"<cmd>CompilerStop<cr>" -- (Optional, to dispose all tasks before redo)
.. "<cmd>CompilerRedo<cr>",
{ noremap = true, silent = true })
-- Toggle compiler results
vim.keymap.set('n', '<leader>cr', function() require("overseer").toggle() end)
end
},
{ -- The task runner we use
"stevearc/overseer.nvim",
commit = "6271cab7ccc4ca840faa93f54440ffae3a3918bd",
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
opts = {
task_list = {
direction = "bottom",
min_height = 25,
max_height = 25,
default_detail = 1
},
},
}`
The issue is kind of strange after I open nvim and use to open compiler nothing happens, but when I manually run CompilerOpen command then that keymap works.
The same is true for the rest of the key maps, they start working after the command is used manually.
I don't know how even to investigate this if you have any ideas or solutions.
The text was updated successfully, but these errors were encountered:
Hello I have a weird issue this is my configuration
`{ -- This plugin
"Zeioth/compiler.nvim",
cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
dependencies = { "stevearc/overseer.nvim", "nvim-telescope/telescope.nvim" },
config = function()
require("compiler").setup()
vim.g.NODEJS_PACKAGE_MANAGER = 'yarn'
-- Open compiler
The issue is kind of strange after I open nvim and use to open
compiler
nothing happens, but when I manually runCompilerOpen
command then that keymap works.The same is true for the rest of the key maps, they start working after the command is used manually.
I don't know how even to investigate this if you have any ideas or solutions.
The text was updated successfully, but these errors were encountered: