Skip to content

Syntax completion for Neovim's help tags and nvim-cmp

License

Notifications You must be signed in to change notification settings

PhilippFeO/cmp-help-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cmp-help-tags

Syntax completion for all help tags in Neovim (including your plugins). It uses the same data structure as :Telescope help_tags. The plugin targets nvim-cmp.

Installation and Configuration (Lazy.nvim)

{
  'PhilippFeO/cmp-help-tags',
  opts = {
    filetypes = {
        ...
    }
  }
}
  • filetypes: Table of filetypes where the completion should be activated, fi. 'markdown'.

Enabling within nvim-cmp

require("cmp").setup({
  sources = {
    { name = "cmp_help_tags",-- '_' not '-' 😯
      -- recommended to avoid cluttering
      -- keyword_length = 5
    },
  }
})

Releases

No releases published

Packages

No packages published

Languages