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

Tasknote [N] should not count first line or blank lines #19

Open
linuxcaffe opened this issue Nov 19, 2013 · 1 comment
Open

Tasknote [N] should not count first line or blank lines #19

linuxcaffe opened this issue Nov 19, 2013 · 1 comment

Comments

@linuxcaffe
Copy link

The [N] of items below the fold is an excellent thing, and could be somewhat misleading.

When the line says

== Task details == [9]

I actually have 7 attributes listed, and under

== Annotations == [2]

there are no annotations. (same for == Notes == [2])

Now I understand this is a line count, and subtracting "2" will usually give the actual number of items below, but it may be worth considering excluding the heading and any blank lines from that count, for details, Annotations and Notes.

An exception to this might be the very first heading of the task, with the description, as that contains several sections, and overall number-of-lines, including other headings and blank lines, makes as much sense here as anything else.

@linuxcaffe
Copy link
Author

should "tasknote" filetype be defined in ../ftdetect/task.vim ?

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

No branches or pull requests

1 participant