feat: emit CanolaFileCreated autocmd on file creation (#75)

* 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.

* build: gitignore `doc/upstream.html`

* docs(upstream): mark #721 fixed, triage #735

* docs(upstream): simplify #735 note
This commit is contained in:
Barrett Ruth 2026-03-06 15:54:01 -05:00 committed by GitHub
parent c7a55fd787
commit a74747e1f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 41 additions and 13 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
doc/tags
doc/upstream.html
*.log
.*cache*
CLAUDE.md