diff options
author | kylo252 <[email protected]> | 2021-08-09 19:02:37 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-09 19:02:37 +0200 |
commit | 405423108fc31981c40116a827e845a1179c9053 (patch) | |
tree | 41a7cb23536c982ccdc3402ab9d4602f2538eb40 /lua/core/treesitter.lua | |
parent | 625df947dcacf3804f4ec7335478535ecd8219af (diff) |
feat: Add an async logger using plenary (#1207)
Co-authored-by: rebuilt <[email protected]>
Diffstat (limited to 'lua/core/treesitter.lua')
-rw-r--r-- | lua/core/treesitter.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/core/treesitter.lua b/lua/core/treesitter.lua index cfc58bb7..0a8a2ff2 100644 --- a/lua/core/treesitter.lua +++ b/lua/core/treesitter.lua @@ -1,4 +1,5 @@ local M = {} +local Log = require "core.log" M.config = function() lvim.builtin.treesitter = { ensure_installed = {}, -- one of "all", "maintained" (parsers with maintainers), or a list of languages @@ -64,6 +65,7 @@ end M.setup = function() local status_ok, treesitter_configs = pcall(require, "nvim-treesitter.configs") if not status_ok then + Log:get_default().error "Failed to load nvim-treesitter.configs" return end |