This removes the execution message and adds a comment to the README on
how to readd them via Autocommands.
Also I implemented a function to handle breaking changes. It can later
be used for https://github.com/okuuva/auto-save.nvim/pull/48
This merges in a feature branch. I would like to collect all potential
breaking changes there until we can release it all together in a version
1.0.0
---------
Co-authored-by: okuuva <okuuva@users.noreply.github.com>
Use `lockmarks` in write command to keep `[` and `]` marks after saving.
Thanks @simonmandlik
---------
Co-authored-by: okuuva <okuuva@users.noreply.github.com>
Demojify used by panvimdoc to strip emojis is outdated, it doesn't include any codepoints since Unicode 12. So Hook emoji ended up in the vimdoc since it was included in Unicode 13. Switching to an older emoji is good enough a workaround for now.
Also bumped panvimdoc version.
vimdoc should update on every commit to `main`. This way the "Last change" info in vimdoc actually shows when the code was last changed even if the source file for help didn't change.
Other notable changes:
- Made README.md panvimdoc compatible
- Got rid of `<details>` and `<summary>` tags in installation instructions
- Made title, description and badges markdown only features (not included in vimdoc)
- Tweaked README.md appearance
- Raised all heading levels by one
- Updated description
- Added license badge
- Removed customisations from badges
- Left style as For the Badge though
- Added initial vimdoc, locally generated with panvimdoc
Closes#10.
Workflow was broken for everybody except me since pull_request trigger
only works properly if every contributor has write access to the repo.
With fork based workflow prevalent in Github the trigger to use is
pull_request_target where the config and access token comes from main
branch instead of the PR itself.
Other notable changes:
- Only run checks if lua files change
- Run even if PR targets some branch other than main
Made stylua.toml use two spaces as indentation since that seems to be
the most common convention in lua. Rest of the settings are kept in
Stylua defaults but made explicit.
Also updated .editorconfig to match config in stylua.toml.
Made it compatible with the .editorconfig already present and didn't
introduce any bells and whistles beyond that. Fixed the typo in
.editorconfig indent_style while I was at it.