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 support for Alaccrity terminal #36

Open
khughitt opened this issue Aug 28, 2019 · 2 comments
Open

Add support for Alaccrity terminal #36

khughitt opened this issue Aug 28, 2019 · 2 comments

Comments

@khughitt
Copy link

Currently, colorizer does not appear to be loaded at all when running (Neo)vim inside an Alacritty term.

@lilydjwg
Copy link
Owner

It works for me with vim 8.1.1933 and alacrity 0.3.3.

Try :echo &t_Co and see if you get 256.

@khughitt
Copy link
Author

Good catch! That indeed appears to be the issue..

I'm not sure why t_Co is set to "16" (in my nvim config, I check to make sure $TERM != "linux", and if so, do set t_Co = 256.. TERM is not "linux" (I checked), so something else is keeping it from being set properly. I'll do a bit more digging around.

Also, apologies for not providing any version info in the original issue description! For clarification, I am testing this on:

neovim:

NVIM v0.4.0-1750-gce9367c25
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/home/keith/.cache/yay/neovim-git/src/neovim-git/build/config -I/home/keith/.cache/yay/neovim-git/src/neovim-git/src -I/usr/include -I/home/keith/.cache/yay/neovim-git/src/neovim-git/build/src/nvim/auto -I/home/keith/.cache/yay/neovim-git/src/neovim-git/build/include
Compiled by keith@titan

Features: +acl +iconv +tui
See ":help feature-compile"

alaccrity: v0.3.3

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

2 participants