From 2a247c66e4d22300a9336f9fcb697933a16165cb Mon Sep 17 00:00:00 2001 From: NTBBloodbath Date: Mon, 5 Jul 2021 13:29:35 -0400 Subject: [PATCH] refact: treesitter cannot be disabled as doomrc.langs depends on it --- doomrc.lua | 1 - lua/doom/modules/init.lua | 2 -- 2 files changed, 3 deletions(-) diff --git a/doomrc.lua b/doomrc.lua index 9a42e12..9ed453f 100644 --- a/doomrc.lua +++ b/doomrc.lua @@ -38,7 +38,6 @@ local doom = { -- 'editorconfig', -- EditorConfig support for Neovim 'kommentary', -- Comments plugin 'lsp', -- Language Server Protocols - 'treesitter', -- An incremental parsing system for programming tools 'snippets', -- LSP snippets }, langs = { diff --git a/lua/doom/modules/init.lua b/lua/doom/modules/init.lua index f76ff4b..7aa6c61 100644 --- a/lua/doom/modules/init.lua +++ b/lua/doom/modules/init.lua @@ -45,13 +45,11 @@ packer.startup(function(use) }) -- Tree-Sitter - local disabled_treesitter = functions.is_plugin_disabled('treesitter') use({ 'nvim-treesitter/nvim-treesitter', opt = true, run = ':TSUpdate', config = require('doom.modules.config.doom-treesitter'), - disable = disabled_treesitter, }) -- Sessions