aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2020-07-06 03:30:12 +0200
committerGitHub <noreply@github.com>2020-07-05 21:30:12 -0400
commit4ab7bbf3eaeacc32e8970b76a19c8682f98cc183 (patch)
tree602389793048292552211ac1f8f3f0281c345a8a /src
parentf9579d473e00c11c0b76ef5fe0934ef6ec13ed34 (diff)
downloadrneovim-4ab7bbf3eaeacc32e8970b76a19c8682f98cc183.tar.gz
rneovim-4ab7bbf3eaeacc32e8970b76a19c8682f98cc183.tar.bz2
rneovim-4ab7bbf3eaeacc32e8970b76a19c8682f98cc183.zip
lua: add options to highlight.on_yank (#12549)
NOTE: Configuration options have changed for highlight.on_yank. Check help for |:help highlight.on_yank()|
Diffstat (limited to 'src')
-rw-r--r--src/nvim/lua/vim.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/lua/vim.lua b/src/nvim/lua/vim.lua
index 047ce1ad43..771ec971b7 100644
--- a/src/nvim/lua/vim.lua
+++ b/src/nvim/lua/vim.lua
@@ -288,6 +288,9 @@ local function __index(t, key)
elseif key == 'lsp' then
t.lsp = require('vim.lsp')
return t.lsp
+ elseif key == 'highlight' then
+ t.highlight = require('vim.highlight')
+ return t.highlight
end
end