mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
[Backport release-0.9] feat(highlight): Allow hyphens (-) in highlight group names (#25661)
feat(highlight): allow hyphens (-) in highlight group names
Fixes: https://github.com/neovim/neovim/issues/23184
(cherry picked from commit f37916b93b
)
Co-authored-by: Gregory Anders <greg@gpanders.com>
This commit is contained in:
![41898282+github-actions[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
GitHub

parent
01f1ac36a9
commit
87bfa82bdf
@@ -106,6 +106,7 @@ describe('semantic token highlighting', function()
|
||||
exec_lua([[
|
||||
bufnr = vim.api.nvim_get_current_buf()
|
||||
vim.api.nvim_win_set_buf(0, bufnr)
|
||||
vim.bo[bufnr].filetype = 'some-filetype'
|
||||
client_id = vim.lsp.start({ name = 'dummy', cmd = server.cmd })
|
||||
]])
|
||||
|
||||
|
Reference in New Issue
Block a user