zbirenbaum / nvterm

NvChad's Official Terminal Plugin ( Unmaintained but still usable and stable), wait for v3.0
GNU General Public License v3.0
181 stars 20 forks source link

Improve documentation: additional functionality example #53

Closed jtuz closed 7 months ago

jtuz commented 1 year ago

The current example in the README.md regarding additional functionality and how to define commands per filetype has a little drawback with vim.fn.expand('%') due the current way to call this function at load time and not when the keymap is being called; more information about: in this redit post

The current approach in the new example solves this issue.