nvim: move treesitter to filetypes

This commit is contained in:
tastytea 2022-08-10 21:23:23 +02:00
parent c307a4069f
commit 6b9e33f4d5
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,12 @@
require('plugins')
packer.use {
'https://github.com/nvim-treesitter/nvim-treesitter',
run = function()
require('nvim-treesitter.install').update({ with_sync = true })
end
}
-- org
packer.use {
'https://github.com/nvim-orgmode/orgmode',

View File

@ -10,14 +10,6 @@ packer.init()
packer.use 'https://github.com/wbthomason/packer.nvim'
-- common dependencies which require setup
packer.use {
'https://github.com/nvim-treesitter/nvim-treesitter',
run = function()
require('nvim-treesitter.install').update({ with_sync = true })
end
}
-- source file, install new plugins and compile when config file is written
vim.api.nvim_create_augroup('packer_user_config', { clear = true })
vim.api.nvim_create_autocmd(