mirror of
https://github.com/NvChad/NvChad
synced 2023-10-04 09:45:13 -05:00
Updated Home (markdown)
parent
8e0875fa2a
commit
a9eb615fe9
20
Home.md
20
Home.md
|
@ -49,6 +49,26 @@ git clone https://github.com/wbthomason/packer.nvim\
|
|||
lspconfig/blob/master/CONFIG.md
|
||||
<br><br>
|
||||
|
||||
```
|
||||
Emmet-ls lspconfig ( put this at last in nvim-lspconfig.lua file)
|
||||
local nvim_lsp = require "lspconfig"
|
||||
local configs = require "lspconfig/configs"
|
||||
|
||||
configs.emmet_ls = {
|
||||
default_config = {
|
||||
cmd = {"emmet-ls", "--stdio"},
|
||||
filetypes = {"html", "css"},
|
||||
root_dir = function()
|
||||
return vim.loop.cwd()
|
||||
end,
|
||||
settings = {}
|
||||
}
|
||||
}
|
||||
|
||||
nvim_lsp.emmet_ls.setup {
|
||||
on_attach = on_attach
|
||||
}
|
||||
```
|
||||
## - Code Formating && Pretifying
|
||||
|
||||
- NvChad uses neoformat , install the formatters for the language you want from [here](https://github.com/sbdchd/neoformat).
|
||||
|
|
Loading…
Reference in a new issue