[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:
github-actions[bot]
2023-10-15 14:21:54 -05:00
committed by GitHub
parent 01f1ac36a9
commit 87bfa82bdf
4 changed files with 6 additions and 5 deletions

View File

@@ -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 })
]])