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)
|
||||
- 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)
|
||||
- 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)
|
||||
- Session management with [auto-session](https://github.com/rmagatti/auto-session)
|
||||
- Notifications via [nvim-notify](https://github.com/rcarriga/nvim-notify)
|
||||
- Additional custom highlighting
|
||||
- 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
|
||||
|
||||
#### Prerequisites
|
||||
|
||||
- Neovim (+0.6.0)
|
||||
- [Node.js](https://nodejs.org/en/)
|
||||
- [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)
|
||||
|
||||
#### Install
|
||||
|
||||
```
|
||||
$ cd ~/.config
|
||||
$ 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
|
||||
|
||||
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
|
||||
|
||||
|
@ -89,31 +93,40 @@ Enter `:TSInstall` followed by <TAB> to see your options for languages with tree
|
|||
## 📷 Screenshots
|
||||
|
||||
### Statusline
|
||||
|
||||

|
||||

|
||||

|
||||

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

|
||||
|
||||
#### 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">
|
||||
|
||||
### Hover
|
||||
|
||||

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

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

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

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

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