hrsh7th / vim-vsnip

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

Implement $RELATIVE_FILEPATH #248

Closed refractalize closed 2 years ago

refractalize commented 2 years ago

Implement $RELATIVE_FILEPATH

As per docs in VS Code:

RELATIVE_FILEPATH The relative (to the opened workspace or folder) file path of the current document

I've taken to the opened workspace or folder to mean current working directory in Vim-land.

hrsh7th commented 2 years ago

LGTM