vim-prisma icon indicating copy to clipboard operation
vim-prisma copied to clipboard

Refactor the grammer so that we can support highlighting of model keyword and model identifier

Open pantharshit00 opened this issue 5 years ago • 1 comments

Right now grammar is laid out in a way that it is quite hard to highlight model <identifier> part.

Plugin needs some refactoring in order to highlight these fields properly. Kinda same goes for datamodel, enum

Example of the problem: image

pantharshit00 avatar May 18 '20 14:05 pantharshit00

Notice model Block is not highlighted in the above image

pantharshit00 avatar May 18 '20 14:05 pantharshit00