aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2021-03-16 18:44:41 +0100
committerGitHub <noreply@github.com>2021-03-16 18:44:41 +0100
commit0ab88c2ea80caa7cda97b3a8479d0d32e4636ab6 (patch)
treee73b25e500be64346f93f8ec9a04f6c9e86ac1f3 /runtime/lua/vim
parentb0599d270841b0fe721b6a1b081763f8cc291a73 (diff)
parent2b0c34053da15e40a4bf281d0b45b3b7a55b1a09 (diff)
downloadrneovim-0ab88c2ea80caa7cda97b3a8479d0d32e4636ab6.tar.gz
rneovim-0ab88c2ea80caa7cda97b3a8479d0d32e4636ab6.tar.bz2
rneovim-0ab88c2ea80caa7cda97b3a8479d0d32e4636ab6.zip
Merge pull request #14145 from teto/remove-tshighlighter
chore: remove deprecated lua module tshighlighter
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/treesitter.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/lua/vim/treesitter.lua b/runtime/lua/vim/treesitter.lua
index 3af66b134c..64a5ba1fd8 100644
--- a/runtime/lua/vim/treesitter.lua
+++ b/runtime/lua/vim/treesitter.lua
@@ -12,11 +12,7 @@ local M = vim.tbl_extend("error", query, language)
setmetatable(M, {
__index = function (t, k)
- if k == "TSHighlighter" then
- a.nvim_err_writeln("vim.TSHighlighter is deprecated, please use vim.treesitter.highlighter")
- t[k] = require'vim.treesitter.highlighter'
- return t[k]
- elseif k == "highlighter" then
+ if k == "highlighter" then
t[k] = require'vim.treesitter.highlighter'
return t[k]
end