feat: emit \CanolaFileCreated\ autocmd on file creation
Problem: no way to hook into individual file creation to populate initial contents, without a plugin-specific config callback. Solution: fire \`User CanolaFileCreated\` with \`data.path\` after each successful \`fs.touch\` in the files adapter. Users listen with \`nvim_create_autocmd\` and write to the path however they like.
This commit is contained in:
parent
c7a55fd787
commit
75eaf3994d
3 changed files with 1260 additions and 1 deletions
1231
doc/upstream.html
Normal file
1231
doc/upstream.html
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue