aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-03-23 20:44:17 +0100
committerStephan Seitz <stephan.lauf@yahoo.de>2021-03-23 21:25:37 +0100
commit1375cc5c1f575b924a22664eba343a8dded309ac (patch)
tree631a490ff83c5758b2c66602f1ce908909e3d454 /plugin
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.tar
nvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.tar.gz
nvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.tar.bz2
nvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.tar.lz
nvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.tar.xz
nvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.tar.zst
nvim-treesitter-1375cc5c1f575b924a22664eba343a8dded309ac.zip
fix(checkhealth): display error messages of failed queries
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nvim-treesitter.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/nvim-treesitter.vim b/plugin/nvim-treesitter.vim
index 6a2fe838b..d9acaebb0 100644
--- a/plugin/nvim-treesitter.vim
+++ b/plugin/nvim-treesitter.vim
@@ -7,7 +7,7 @@ endif
augroup NvimTreesitter
" on every query file write we want to set an autocommand that will reload the cache
autocmd FileType query
- \ autocmd! NvimTreesitter BufWritePost <buffer> call v:lua.require('nvim-treesitter.query').reload_file_cache_on_write(expand('%:p'))
+ \ autocmd! NvimTreesitter BufWritePost <buffer> call v:lua.require('nvim-treesitter.query').invalidate_query_file(expand('%:p'))
augroup END
let g:loaded_nvim_treesitter = 1