hrsh7th / cmp-path

nvim-cmp source for path
MIT License
628 stars 60 forks source link

lua: add option for automatic trailing slash #35

Closed squat closed 2 years ago

squat commented 2 years ago

This commit adds a new option to the source to automatically include trailing slashes in the inserted text when completing a directory. This option is disabled by default.

Signed-off-by: Lucas Servén Marín lserven@gmail.com

xref: https://github.com/hrsh7th/cmp-path/pull/33#issuecomment-1014480859

hrsh7th commented 2 years ago

Perfect. Thank you!