aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-10-20 16:44:39 -0700
committerGitHub <noreply@github.com>2024-10-20 16:44:39 -0700
commit86832dcd1922eee37acc26310f72aa70def1514b (patch)
treed9db0de1011d6b495e62e7a2a90d46de97f06996 /runtime/lua/vim/lsp/util.lua
parent8c2d45be77299d6eb70165697bc5c29898cdb25e (diff)
parent18b43c331d8a0ed87d7cbefe2a18543b8e4ad360 (diff)
downloadrneovim-86832dcd1922eee37acc26310f72aa70def1514b.tar.gz
rneovim-86832dcd1922eee37acc26310f72aa70def1514b.tar.bz2
rneovim-86832dcd1922eee37acc26310f72aa70def1514b.zip
Merge #30840 from justinmk/renamehl
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index 2c28633e3c..2e9c71cf38 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -2,7 +2,6 @@ local protocol = require('vim.lsp.protocol')
local validate = vim.validate
local api = vim.api
local list_extend = vim.list_extend
-local highlight = vim.highlight
local uv = vim.uv
local M = {}
@@ -1716,13 +1715,13 @@ do --[[ References ]]
[protocol.DocumentHighlightKind.Write] = 'LspReferenceWrite',
}
local kind = reference['kind'] or protocol.DocumentHighlightKind.Text
- highlight.range(
+ vim.hl.range(
bufnr,
reference_ns,
document_highlight_kind[kind],
{ start_line, start_idx },
{ end_line, end_idx },
- { priority = vim.highlight.priorities.user }
+ { priority = vim.hl.priorities.user }
)
end
end