Browse Source
refact: treesitter cannot be disabled as doomrc.langs depends on it
my-config
NTBBloodbath
3 years ago
No known key found for this signature in database
GPG Key ID: 18D6730BC846AAC5
2 changed files with
0 additions and
3 deletions
-
doomrc.lua
-
lua/doom/modules/init.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 = { |
|
|
|
|
|
@ -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 |
|
|
|