ts: Add language version to vim.treesitter (#14255)

This commit is contained in:
TJ DeVries
2021-03-30 16:40:29 -04:00
committed by GitHub
parent f89bfa6869
commit 240cec9192
4 changed files with 19 additions and 2 deletions

View File

@@ -10,6 +10,8 @@ local parsers = {}
local M = vim.tbl_extend("error", query, language)
M.language_version = vim._ts_get_language_version()
setmetatable(M, {
__index = function (t, k)
if k == "highlighter" then