Add neovim configuration to docs (#3400)

* add neovim configuration doc

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

* prettier

---------

Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
This commit is contained in:
RazaGR 2023-09-23 15:15:40 +02:00 committed by GitHub
parent 0c802f80ea
commit 5bab22da4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",
},
},
},
}
```