summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/caching.lua
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-07-04 16:12:17 -0500
committerGitHub <noreply@github.com>2021-07-04 21:12:17 +0000
commitbe8f65608796e50aa2e2da5452849c263558f0ed (patch)
tree39f6057de9026ab312c3bb838e773910129b5575 /lua/nvim-treesitter/caching.lua
parent90f15d9bf750e35666e029174481dafbe5fde817 (diff)
Use stylua for autoformat code (#1480)
Diffstat (limited to 'lua/nvim-treesitter/caching.lua')
-rw-r--r--lua/nvim-treesitter/caching.lua4
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