aboutsummaryrefslogtreecommitdiffstats
path: root/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
parentBump ledger version (diff)
downloadnvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.tar
nvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.tar.gz
nvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.tar.bz2
nvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.tar.lz
nvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.tar.xz
nvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.tar.zst
nvim-treesitter-db0ccfe9ab9a146cc9f5b4be411645c185ecfa39.zip
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')
-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 edd1d07f9..82d523c7c 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