Skip to content

Commit 71b98de

Browse files
committed
docs: flatten H4 subheadings in Vim/Neovim and Emacs sections
The Vim/Neovim and Emacs sections each had two H4 subheadings, pushing the sidebar TOC three levels deep. Replace the H4s with bold leading phrases so the page reads the same but the sidebar collapses to two levels.
1 parent e04d786 commit 71b98de

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

runtime/getting_started/setup_your_environment.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ vim.lsp.config('ts_ls', {
8787
This assumes a `deno.json` or `deno.jsonc` lives at the root of your Deno
8888
project.
8989

90-
#### Kickstart.nvim and Mason LSP
91-
92-
If you use [kickstart.nvim](https://github.com/nvim-lua/kickstart.nvim), add the
93-
equivalent configuration to the `servers` table in your `init.lua`:
90+
**Kickstart.nvim and Mason LSP.** If you use
91+
[kickstart.nvim](https://github.com/nvim-lua/kickstart.nvim), add the equivalent
92+
configuration to the `servers` table in your `init.lua`:
9493

9594
```lua
9695
local servers = {
@@ -108,9 +107,8 @@ local servers = {
108107
}
109108
```
110109

111-
#### Other Vim/Neovim plugins
112-
113-
If you prefer a different plugin ecosystem, Deno also works with the following:
110+
**Other Vim/Neovim plugins.** If you prefer a different plugin ecosystem, Deno
111+
also works with the following:
114112

115113
- **[ALE](https://github.com/dense-analysis/ale):** supports the Deno language
116114
server out of the box. See
@@ -185,21 +183,15 @@ config.deno.enable = true
185183

186184
### Emacs
187185

188-
#### lsp-mode
189-
190-
Emacs supports Deno via the Deno language server using
186+
**lsp-mode.** Emacs supports Deno via the Deno language server using
191187
[lsp-mode](https://emacs-lsp.github.io/lsp-mode/). Once
192188
[lsp-mode is installed](https://emacs-lsp.github.io/lsp-mode/page/installation/)
193189
it should support Deno, which can be
194190
[configured](https://emacs-lsp.github.io/lsp-mode/page/lsp-deno/) to support
195191
various settings.
196192

197-
#### eglot
198-
199-
You can also use built-in Deno language server by using
200-
[`eglot`](https://github.com/joaotavora/eglot).
201-
202-
An example configuration for Deno via eglot:
193+
**eglot.** You can also use the built-in Deno language server via
194+
[`eglot`](https://github.com/joaotavora/eglot). An example configuration:
203195

204196
```elisp
205197
(add-to-list 'eglot-server-programs '((js-mode typescript-mode) . (eglot-deno "deno" "lsp")))

0 commit comments

Comments
 (0)