Hi OXY2DEV! I was going through the copilot.vim docs and found that an :Copilot_enable is not being highlighted by helpview.nvim. What do you think might be going wrong here?
To reproduce the issue:-
- Paste the below script in a file called repro.lua and run it as 'nvim -u repro.lua repro.lua'.
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
"nvim-treesitter/nvim-treesitter",
"OXY2DEV/helpview.nvim",
"github/copilot.vim",
},
})
require("nvim-treesitter.configs").setup({
auto_install = true,
})
vim.cmd("TSInstall vim vimdoc")
require("helpview").setup()
- Run
:h copilot. You can see that :Copilot_enable is not highlighted as shown in the below image.

Hi OXY2DEV! I was going through the copilot.vim docs and found that an
:Copilot_enableis not being highlighted by helpview.nvim. What do you think might be going wrong here?To reproduce the issue:-
:h copilot. You can see that:Copilot_enableis not highlighted as shown in the below image.