A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/issues/17624 below:

Getting underline attribute from syntax hl group returns empty string instead of '1' · Issue #17624 · neovim/neovim · GitHub

Neovim version (nvim -v)

NVIM v0.7.0-dev+1194-g24d56116f

Vim (not Nvim) behaves the same?

no, vim 8.2.4464

Operating system/version

Linux

Terminal name/version

Kitty

$TERM environment variable

xterm-kitty

Installation

Built from source

How to reproduce the issue

nvim --clean
:hi UnderlineTest gui=underline
:echo synIDattr(synIDtrans(hlID('UnderlineTest')), 'underline')

Expected behavior

Expected to get 1 returned.

This also properly works in stable versions of Neovim since 0.5.0.

Figured this issue from the tests in nvim-orgmode: https://github.com/nvim-orgmode/orgmode/runs/5439299419?check_suite_focus=true#step:7:96

Link to line where the test fails: https://github.com/nvim-orgmode/orgmode/blob/master/tests/plenary/colors/colors_spec.lua#L79

Actual behavior

Getting the empty string.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4