Skip to content

Commit

Permalink
Merge pull request #307 from rmagatti/upgrade-gh-actions
Browse files Browse the repository at this point in the history
ci: Update GitHub Actions and commit message format
  • Loading branch information
rmagatti authored Jun 21, 2024
2 parents 7d7eeac + 77a3466 commit e5ffe23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
name: emmylua to vimdoc
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Generating help
run: |
curl -Lq https://github.com/numToStr/lemmy-help/releases/latest/download/lemmy-help-x86_64-unknown-linux-gnu.tar.gz | tar xz
./lemmy-help ./lua/auto-session/init.lua ./lua/auto-session/autocmds.lua ./lua/auto-session/session-lens/init.lua ./lua/auto-session/session-lens/actions.lua > doc/${{env.PLUGIN_NAME}}.txt
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: ${{ github.head_ref }}
commit_message: "chore(docs): auto-generate vimdoc"
Expand Down
5 changes: 5 additions & 0 deletions doc/auto-session.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ defaultConf *defaultConf*
{auto_session_create_enabled} (boolean|nil) Enables/disables auto creating new sessions
{auto_save_enabled?} (boolean) Enables/disables auto saving session
{auto_restore_enabled?} (boolean) Enables/disables auto restoring session
{auto_restore_lazy_delay_enabled?} (boolean) Automatically detect if Lazy.nvim is being used and wait until Lazy is done to make sure session is restored correctly. Does nothing if Lazy isn't being used. Can be disabled if a problem is suspected or for debugging
{auto_session_suppress_dirs?} (table) Suppress auto session for directories
{auto_session_allowed_dirs?} (table) Allow auto session for directories, if empty then all directories are allowed except for suppressed ones
{auto_session_use_git_branch?} (boolean) Include git branch name in session name to differentiate between sessions for different git branches
Expand All @@ -20,6 +21,7 @@ luaOnlyConf *luaOnlyConf*
Fields: ~
{cwd_change_handling} (CwdChangeHandling)
{bypass_session_save_file_types?} (table) List of file types to bypass auto save when the only buffer open is one of the file types listed
{close_unsupported_windows?} (boolean) Whether to close windows that aren't backed by a real file
{silent_restore} (boolean) Whether to restore sessions silently or not
{log_level?} (string|integer) "debug", "info", "warn", "error" or vim.log.levels.DEBUG, vim.log.levels.INFO, vim.log.levels.WARN, vim.log.levels.ERROR

Expand Down Expand Up @@ -57,6 +59,9 @@ AutoSession.get_latest_session() *AutoSession.get_latest_session*
(string|nil)


AutoSession.session_exists_for_cwd() *AutoSession.session_exists_for_cwd*


*AutoSession.AutoSaveSession*
AutoSession.AutoSaveSession({sessions_dir?})
AutoSaveSession
Expand Down

0 comments on commit e5ffe23

Please sign in to comment.