From db0ccfe9ab9a146cc9f5b4be411645c185ecfa39 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Wed, 10 Feb 2021 22:41:54 +0100 Subject: 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" --- lua/nvim-treesitter/query.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'lua') 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 -- cgit v1.2.3-70-g09d2