Skip to content

:help pages filetype anchors #3600

@kaddkaka

Description

@kaddkaka

Description

The helppage for :h lspconfig-all is written with markdown syntax rather than help syntax and is aptly marked as such with a vim comment at the bottom.

However helpages has iskeyword set to iskeyword=!-~,^*,^|,^",192-255 but usual default for other files (like markdown) is iskeyword=@,48-57,_,192-255.

This is problematic because it makes it difficult to follow the links at the the top of the helppage which look like this:

- [agda_ls](#agda_ls)
- [aiken](#aiken)
  1. K does not work in plain neovim as it doesn't support markdown anchors
  2. * does not work because it selects across the word boundary characters like ] (

Possible fix: also set iskeyword in the footer comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions