mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
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:
parent
0c802f80ea
commit
5bab22da4a
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user