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

Add UUID prefix to new notes #84

Merged
merged 4 commits into from
Apr 6, 2022

Conversation

lambtho12
Copy link
Member

Proposed change

This allows the user to specify if they want an UUID prefix in the filename of the new notes (falseby default).
Two types of prefixes are supported:

  • rand: a random 6-char string
  • <input for os.date()> such as %Y%m%d%H%M(default)

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Code quality improvements to existing code or addition of tests
  • Documentation update

Additional information

Checklist

  • I am running the latest version of the plugin.
  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • The code has been formatted using Stylua (a .stylua.toml file is provided)
  • The code has been checked with luacheck (a .luacheckrc file is provided)
  • The README.md has been updated according to this change.
  • The doc/telekasten.txt helpfile has been updated according to this change.

@lambtho12 lambtho12 changed the title Add UUID prefix to new notes Draft: Add UUID prefix to new notes Jan 27, 2022
@lambtho12 lambtho12 changed the title Draft: Add UUID prefix to new notes Add UUID prefix to new notes Jan 27, 2022
@lambtho12 lambtho12 changed the title Add UUID prefix to new notes Draft: Add UUID prefix to new notes Jan 27, 2022
@lambtho12 lambtho12 changed the title Draft: Add UUID prefix to new notes Add UUID prefix to new notes Jan 27, 2022
@lambtho12
Copy link
Member Author

Stylua failed because of a HTML 403 issue... not sure what is the problem. Anyway, this should be ok to merge @renerocksai

@renerocksai
Copy link
Member

Sorry for taking so long. Will merge now.

@renerocksai renerocksai merged commit 02023c5 into nvim-telekasten:main Apr 6, 2022
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.

2 participants