fix(readme): typos
This commit is contained in:
parent
ae48287cf7
commit
1e6b58c888
2 changed files with 18 additions and 2 deletions
|
@ -36,3 +36,18 @@ config.lsp = {
|
|||
return config
|
||||
|
||||
]]
|
||||
local config = {
|
||||
lsp = {
|
||||
format_on_save = true,
|
||||
servers = {
|
||||
eslint = {
|
||||
format = false,
|
||||
},
|
||||
efm = {
|
||||
-- specifc to efm, e.g. 'eslint', 'prettier', 'stylua'
|
||||
disable_formatters = {'eslint'},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
return config
|
||||
|
|
|
@ -46,7 +46,8 @@ _While CosmicNvim is geared specifically toward TypeScript/JavaScript developmen
|
|||
#### Prerequisites
|
||||
- Neovim (+0.6.0)
|
||||
- [Node.js](https://nodejs.org/en/)
|
||||
- [prettierd](https://github.com/fsouza/prettierd) (for Prettier formatting)
|
||||
- [prettierd](https://github.com/fsouza/prettierd) (for Prettier formatting, optional)
|
||||
- [eslint_d](https://www.npmjs.com/package/eslint_d) (for eslint w/efm, optional)
|
||||
|
||||
#### Install
|
||||
```
|
||||
|
@ -65,7 +66,7 @@ Additional LSP server installation [details](https://github.com/mattleong/Cosmic
|
|||
|
||||
[Add additional mappings](./lua/cosmic/config/mappings.lua)
|
||||
|
||||
[Add addtional vim options](./lua/cosmic/config/editor.lua)
|
||||
[Add additional vim options](./lua/cosmic/config/editor.lua)
|
||||
|
||||
## Default Mappings
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue