mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Boost lua match cache
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user