Boost lua match cache

This commit is contained in:
Andy K. Massimino
2021-04-13 19:09:29 -04:00
parent 58a26a4c0c
commit f805db2eac

View File

@@ -14,7 +14,7 @@ local util = require'treesitter-matchup.util'
local M = {}
local cache = lru.new(20)
local cache = lru.new(100)
function M.is_enabled(bufnr)
local buf = bufnr or api.nvim_get_current_buf()