mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 16:42:42 +00:00
refactor: rename vim.highlight => vim.hl
Problem: - `vim.highlight` module does not follow `:help dev-name-common`, which documents the name for "highlight" as "hl". - Shorter names are usually preferred. Solution: Rename `vim.highlight` to `vim.hl`. This is not a breaking change until 2.0 (or maybe never).
This commit is contained in:
@@ -437,7 +437,7 @@ function M.signature_help(_, result, ctx, config)
|
||||
local fbuf, fwin = util.open_floating_preview(lines, 'markdown', config)
|
||||
-- Highlight the active parameter.
|
||||
if hl then
|
||||
vim.highlight.range(
|
||||
vim.hl.range(
|
||||
fbuf,
|
||||
sig_help_ns,
|
||||
'LspSignatureActiveParameter',
|
||||
|
||||
Reference in New Issue
Block a user