dorkhub

coc-prisma

CoC extension that implements the Prisma language server

pantharshit00
TypeScript817 forksMITupdated 11 months ago
git clone https://github.com/pantharshit00/coc-prisma.gitpantharshit00/coc-prisma

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

image

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

{
  "coc.preferences.formatOnSaveFiletypes": [
    "prisma"
  ]
}

License

MIT


This extension is created by create-coc-extension

more like this

vim-dap

Vim/Neovim debugger plugin providing a terminal interface to the Debug Adapter Protocol

Vim Script50

vim-halo

:innocent: Visual highlight for your cursor.

Vim script50

search

search projects, people, and tags