Skip to content

Commit

Permalink
Add neovim configuration to docs (#3400)
Browse files Browse the repository at this point in the history
* add neovim configuration doc

add neovim configuration documentation to setup with lazy.vim plugin.

* prettier

---------

Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
  • Loading branch information
RazaGR and ranile authored Sep 23, 2023
1 parent 0c802f8 commit 5bab22d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions website/docs/getting-started/editor-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,24 @@ Emmet support should work out of the box, if not please fall back to edditing th
"rust": "html",
}
```

### Neovim

#### Lazyvim

> Below configuration works with [LazyVim](https://www.lazyvim.org) configuration and lazy.vim plugin, create a file in `lua/plugins/nvim-lspconfig.lua` (or update your `lspconfig`) with:
```json
return {
{
"neovim/nvim-lspconfig",
init_options = {
userLanguages = {
eelixir = "html-eex",
eruby = "erb",
rust = "html",
},
},
},
}
```

0 comments on commit 5bab22d

Please sign in to comment.