feat(readme): document plugin usage better
This commit is contained in:
parent
2a75928aa9
commit
8433f2a609
1 changed files with 14 additions and 1 deletions
15
readme.md
15
readme.md
|
@ -32,8 +32,10 @@ Full featured native LSP functionality!
|
||||||
- Floating terminal with [vim-floaterm](https://github.com/voldikss/vim-floaterm)
|
- Floating terminal with [vim-floaterm](https://github.com/voldikss/vim-floaterm)
|
||||||
- Auto LSP installation with [nvim-lsp-installer](https://github.com/williamboman/nvim-lsp-installer)
|
- Auto LSP installation with [nvim-lsp-installer](https://github.com/williamboman/nvim-lsp-installer)
|
||||||
- Autocompletion provided by [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
|
- Autocompletion provided by [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
|
||||||
|
- Additional TypeScript support with [nvim-lsp-ts-utils](https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils)
|
||||||
- Snippet support via [LuaSnip](https://github.com/L3MON4D3/LuaSnip)
|
- Snippet support via [LuaSnip](https://github.com/L3MON4D3/LuaSnip)
|
||||||
- Session management with [auto-session](https://github.com/rmagatti/auto-session)
|
- Session management with [auto-session](https://github.com/rmagatti/auto-session)
|
||||||
|
- Notifications via [nvim-notify](https://github.com/rcarriga/nvim-notify)
|
||||||
- Additional custom highlighting
|
- Additional custom highlighting
|
||||||
- Floating windows for references, renaming, diagnostics, code actions and more!
|
- Floating windows for references, renaming, diagnostics, code actions and more!
|
||||||
|
|
||||||
|
@ -44,12 +46,14 @@ _While CosmicNvim is geared specifically toward TypeScript/JavaScript developmen
|
||||||
### Quick guide
|
### Quick guide
|
||||||
|
|
||||||
#### Prerequisites
|
#### Prerequisites
|
||||||
|
|
||||||
- Neovim (+0.6.0)
|
- Neovim (+0.6.0)
|
||||||
- [Node.js](https://nodejs.org/en/)
|
- [Node.js](https://nodejs.org/en/)
|
||||||
- [prettierd](https://github.com/fsouza/prettierd) (for prettier formatting w/efm, optional)
|
- [prettierd](https://github.com/fsouza/prettierd) (for prettier formatting w/efm, optional)
|
||||||
- [eslint_d](https://www.npmjs.com/package/eslint_d) (for eslint w/efm, optional)
|
- [eslint_d](https://www.npmjs.com/package/eslint_d) (for eslint w/efm, optional)
|
||||||
|
|
||||||
#### Install
|
#### Install
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd ~/.config
|
$ cd ~/.config
|
||||||
$ git clone git@github.com:mattleong/CosmicNvim.git nvim
|
$ git clone git@github.com:mattleong/CosmicNvim.git nvim
|
||||||
|
@ -72,7 +76,7 @@ Additional LSP server installation [details](https://github.com/mattleong/Cosmic
|
||||||
|
|
||||||
## Treesitter Support
|
## Treesitter Support
|
||||||
|
|
||||||
Enter `:TSInstall` followed by <TAB> to see your options for languages with treesitter support
|
Enter `:TSInstall` followed by <TAB> to see your options for additional language support.
|
||||||
|
|
||||||
## Default Mappings
|
## Default Mappings
|
||||||
|
|
||||||
|
@ -89,31 +93,40 @@ Enter `:TSInstall` followed by <TAB> to see your options for languages with tree
|
||||||
## 📷 Screenshots
|
## 📷 Screenshots
|
||||||
|
|
||||||
### Statusline
|
### Statusline
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
### Autocomplete
|
### Autocomplete
|
||||||
|
|
||||||
<img width="2532" alt="autocomplete" src="https://user-images.githubusercontent.com/3721204/138015498-3b18495e-9011-4ac2-9f3f-f020feb85caf.png">
|
<img width="2532" alt="autocomplete" src="https://user-images.githubusercontent.com/3721204/138015498-3b18495e-9011-4ac2-9f3f-f020feb85caf.png">
|
||||||
|
|
||||||
### Rename
|
### Rename
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
#### Rename change notification
|
#### Rename change notification
|
||||||
|
|
||||||
<img width="486" alt="Screen Shot 2021-10-27 at 9 41 06 PM" src="https://user-images.githubusercontent.com/3721204/139188213-b1e067a6-4317-40c8-b9b2-77b0ae696f8a.png">
|
<img width="486" alt="Screen Shot 2021-10-27 at 9 41 06 PM" src="https://user-images.githubusercontent.com/3721204/139188213-b1e067a6-4317-40c8-b9b2-77b0ae696f8a.png">
|
||||||
|
|
||||||
### Hover
|
### Hover
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Find Reference
|
### Find Reference
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Code Action
|
### Code Action
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### File Navigation
|
### File Navigation
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Floating Terminal
|
### Floating Terminal
|
||||||
|
|
||||||

|

|
||||||
|
|
Loading…
Add table
Reference in a new issue