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

Permanent "1 line less" Message #27

Closed
tdavis opened this issue Jun 20, 2011 · 3 comments
Closed

Permanent "1 line less" Message #27

tdavis opened this issue Jun 20, 2011 · 3 comments
Labels

Comments

@tdavis
Copy link

tdavis commented Jun 20, 2011

Whenever I have TagBar enabled, my status line will say "1 line less." This message always overrides whatever else updates the status line and causes an extra cursor flicker after movement commands.

@majutsushi
Copy link
Collaborator

In the RenderContent function there is a part that looks like this:

" Delete empty lines at the end of the buffer
for linenr in range(line('$'), 1, -1)
    if getline(linenr) =~ '^$'
        execute linenr . 'delete _'
    else
        break
    endif
endfor

Could you try replacing the execute line with

execute 'silent ' . linenr . 'delete _'

to see if that fixes it for you?

@tdavis
Copy link
Author

tdavis commented Jun 21, 2011

Indeed it did! Thanks! (leaving this open in case you wanted to change it in the repo)

@majutsushi
Copy link
Collaborator

OK, I've committed it now.

dev-hann added a commit to dev-hann/tagbar that referenced this issue Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants