diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-10-20 16:44:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-20 16:44:39 -0700 |
commit | 86832dcd1922eee37acc26310f72aa70def1514b (patch) | |
tree | d9db0de1011d6b495e62e7a2a90d46de97f06996 /runtime/lua/vim/lsp/util.lua | |
parent | 8c2d45be77299d6eb70165697bc5c29898cdb25e (diff) | |
parent | 18b43c331d8a0ed87d7cbefe2a18543b8e4ad360 (diff) | |
download | rneovim-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.lua | 5 |
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 |