summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/query.lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-02-10 22:41:54 +0100
committerStephan Seitz <stephan.lauf@yahoo.de>2021-02-11 20:42:51 +0100
commitdb0ccfe9ab9a146cc9f5b4be411645c185ecfa39 (patch)
tree03997da3090bda48086522b03bcc705b298d6370 /lua/nvim-treesitter/query.lua
parent9fe8c12b25be41179c5760984ee5b7ee72727d96 (diff)
fix: remove debug print on query cache invalidation
The message does not even provide any context where it's coming from and what it is exactly doing and has to be acknowledged when printed in conjunction with the "wrote xxx bytes message"
Diffstat (limited to 'lua/nvim-treesitter/query.lua')
-rw-r--r--lua/nvim-treesitter/query.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/query.lua b/lua/nvim-treesitter/query.lua
index edd1d07f..82d523c7 100644
--- a/lua/nvim-treesitter/query.lua
+++ b/lua/nvim-treesitter/query.lua
@@ -98,7 +98,6 @@ end
--- This function is meant for an autocommand and not to be used. Only use if file is a query file.
function M.reload_file_cache_on_write(fname)
local fnamemodify = vim.fn.fnamemodify
- print('reloading cache')
M.reload_file_cache(fnamemodify(fname, ':p:h:t'), fnamemodify(fname, ':t:r'))
end