hrsh7th / vim-vsnip

Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.
MIT License
876 stars 37 forks source link

Fixed error handling when json is invalid. #271

Open arakkkkk opened 1 year ago

arakkkkk commented 1 year ago

When a key with the same name exists in the json of the created snippet, an error is displayed as follows However, it is not possible to determine what is causing the error from this content. Screenshot from 2023-08-26 07-47-42

Therefore, the error has been corrected so that the error is displayed as follows Screenshot from 2023-08-26 07-48-57 Screenshot from 2023-08-26 07-49-47