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 topspace-empty-line-indicator defcustom #8

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

trevorpogue
Copy link
Owner

@trevorpogue trevorpogue commented Mar 22, 2022

Resolves #7

  • By default, "~" will be displayed on each top space line as an empty-line indicator
    if indicate-empty-lines is non-nil, and the indicator string's 'face is set to 'fringe
  • The empty-line indicator string is customizable through topspace-empty-line-indicator
  • The string properties and conditions in which it is present are also customizable through
    topspace-empty-line-indicator by setting it to a function instead of a constant string.
    Whenever you don't want any indicator present, have the function return "" (an empty string).

Checklist

  • I have read the topspace contributing guidelines
  • My changes follow the Emacs Lisp conventions and the Emacs Lisp Style Guide
  • I've used the latest version of package-lint to check for packaging issues, and addressed its feedback
  • The new code is not generating bytecode warnings
  • I've updated the readme (if adding/changing user-visible functionality)
  • I have confirmed some of these without doing them

@trevorpogue trevorpogue merged commit 483ef53 into main Mar 22, 2022
@trevorpogue trevorpogue deleted the empty-line-indicator branch March 22, 2022 15:23
@trevorpogue trevorpogue added the enhancement New feature or request label Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

topspace empty lines vs real new lines
1 participant