Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat GH 45 add events for enabling and disabling autosave #84

Conversation

primeapple
Copy link

okuuva and others added 30 commits February 12, 2023 17:39
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.
When this file is loaded, `cnf` has default options
Squashed changes from pocco81/auto-save.nvim#50
Got too hairy for a GH noob like me to fix properly.
Manually picked from pocco81/auto-save.nvim#67,
namely 6203ae6.
Ancient news, doesn't affect this repo.
Also added acknowledgement to Pocco81's work on the original plugin.
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.
Namely: applied stylua to the whole repo and ran marksman on README.md.
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
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.
github-actions bot and others added 9 commits July 21, 2023 06:33
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.
@primeapple primeapple closed this Feb 12, 2024
@primeapple primeapple deleted the feat-GH-45-add-events-for-enabling-and-disabling-autosave branch February 12, 2024 21:30
@primeapple primeapple restored the feat-GH-45-add-events-for-enabling-and-disabling-autosave branch February 12, 2024 21:34
@primeapple primeapple deleted the feat-GH-45-add-events-for-enabling-and-disabling-autosave branch February 12, 2024 21:35
@primeapple primeapple restored the feat-GH-45-add-events-for-enabling-and-disabling-autosave branch February 12, 2024 21:36
@okuuva okuuva deleted the feat-GH-45-add-events-for-enabling-and-disabling-autosave branch February 27, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants