Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pantharshit00/coc-prisma
CoC extension that implements the Prisma language server
https://github.com/pantharshit00/coc-prisma
coc-extensions neovim vim vim-plugin
Last synced: 8 days ago
JSON representation
CoC extension that implements the Prisma language server
- Host: GitHub
- URL: https://github.com/pantharshit00/coc-prisma
- Owner: pantharshit00
- License: mit
- Created: 2020-06-27T10:13:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-08T22:18:15.000Z (4 months ago)
- Last Synced: 2024-10-19T11:12:34.391Z (19 days ago)
- Topics: coc-extensions, neovim, vim, vim-plugin
- Language: TypeScript
- Homepage:
- Size: 200 KB
- Stars: 75
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - coc-prisma
README
# coc-prisma
Coc extension that implements Prisma Language Server. Use it alongside with the Prisma syntax plugin: https://github.com/pantharshit00/vim-prisma
## Install
`:CocInstall coc-prisma`
## Screenshots
![image](https://user-images.githubusercontent.com/22195362/85920005-c8faca80-b88d-11ea-9a49-e3ebfad22375.png)![image](https://user-images.githubusercontent.com/22195362/85920012-d2843280-b88d-11ea-8517-95595c354325.png)
## Commands
`coc-prisma.restartLanguageServer`: Restarts the Prisma Language Server
## Formatting
This extension supports formatting of Prisma files. Under the hood, the language server runs the prisma-fmt binary and it produces the formatted output.
In order to format your file, you can `:Format` which is provided by CoC. If you want to enable autoformatting on save, add `prisma` under the `coc.preferences.formatOnSaveFiletypes` key in `coc-settings.json` file. You can typically find your `coc-settings.json` located at `~/.config/nvim/coc-settings.json`
```json
{
"coc.preferences.formatOnSaveFiletypes": [
"prisma"
]
}```
## License
MIT
---
> This extension is created by [create-coc-extension](https://github.com/fannheyward/create-coc-extension)