diff options
Diffstat (limited to 'lua/nvim-treesitter/caching.lua')
| -rw-r--r-- | lua/nvim-treesitter/caching.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/caching.lua b/lua/nvim-treesitter/caching.lua index bfda3962..cff0b5a1 100644 --- a/lua/nvim-treesitter/caching.lua +++ b/lua/nvim-treesitter/caching.lua @@ -12,7 +12,7 @@ function M.create_buffer_cache() __index = function(tbl, key) rawset(tbl, key, {}) return rawget(tbl, key) - end + end, }) function cache.set(type_name, bufnr, value) @@ -23,7 +23,7 @@ function M.create_buffer_cache() on_detach = function() cache.remove(type_name, bufnr) return true - end + end, }) end |
