fix(checkhealth): display error messages of failed queries

This commit is contained in:
Stephan Seitz 2021-03-23 20:44:17 +01:00 committed by Stephan Seitz
parent db1fa43484
commit 1375cc5c1f
3 changed files with 26 additions and 13 deletions

View file

@ -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