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

Set highlight groups for terminal mode in lightline#highlight #148

Merged
merged 2 commits into from
Feb 10, 2016
Merged

Set highlight groups for terminal mode in lightline#highlight #148

merged 2 commits into from
Feb 10, 2016

Conversation

nhooyr
Copy link
Contributor

@nhooyr nhooyr commented Feb 9, 2016

Fixes #144.
I just added the missing terminal mode to modes in lightline#highlight() if neovim is being used.
Also has('win32') includes 64bit windows. No need to run has('win64').

@itchyny
Copy link
Owner

itchyny commented Feb 10, 2016

How the fix for win64 have something to the issue #144? Is there some reason to fix in one commit?

@itchyny
Copy link
Owner

itchyny commented Feb 10, 2016

Also, is there some reason that we should remove has('win64')? For performance?

@nhooyr
Copy link
Contributor Author

nhooyr commented Feb 10, 2016

@itchyny i just updated it a bit, now terminal is only added if neovim is being used. I removed has('win64') because has('win32') covers 64bit. Its pointless to have it.

Win32 version of Vim (MS-Windows 95 and later, 32 or 64 bits)
http://vimhelp.appspot.com/eval.txt.html

@nhooyr
Copy link
Contributor Author

nhooyr commented Feb 10, 2016

I'll add it in a different commit.

Fixes #144. I just added the missing terminal mode to modes in
lightline#highlight() if neovim is being used.
@nhooyr
Copy link
Contributor Author

nhooyr commented Feb 10, 2016

@itchyny what do you think now.

has('win32') includes 64bit windows thus it is pointless to run
has('win64') afterwards.
@itchyny itchyny merged commit 6e60201 into itchyny:master Feb 10, 2016
@itchyny
Copy link
Owner

itchyny commented Feb 10, 2016

Thank you for your issue report and pull request.

@nhooyr nhooyr deleted the reload-terminal-nvim branch February 10, 2016 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants