nvim: move treesitter to filetypes
This commit is contained in:
parent
c307a4069f
commit
6b9e33f4d5
|
@ -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',
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user