Skip to content

An entity in copilot.vim docs is not highlighted #28

@231tr0n

Description

@231tr0n

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:-

  1. 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()
  1. Run :h copilot. You can see that :Copilot_enable is not highlighted as shown in the below image.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions