llvm / clangd-www

Apache License 2.0
25 stars 53 forks source link

Anchor links inside collapsed sections do not work #112

Open HighCommander4 opened 1 week ago

HighCommander4 commented 1 week ago

Steps to reproduce

Navigate to https://clangd.llvm.org/installation#neovim-built-in-lsp-client (without the page being open already).

Expected results

The section titled "Neovim built-in LSP client" is scrolled into view.

Actual results

Nothing is scrolled into view, presumably because the section in question is under "Vim/Neovim" <details> element, which is in the collapsed state on page load.

Motivation

Users frequently have questions about how to do common tasks (e.g. getting logs) with a particular client, and it helps to be able to link directly to instructions for that client.