1
0
Fork 0

nvim: move org specific config to org package

This commit is contained in:
tastytea 2022-08-11 15:13:29 +02:00
parent d358289366
commit f00f50658c
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 10 additions and 10 deletions

View File

@ -13,6 +13,16 @@ packer.use {
},
ensure_installed = {'org'},
}
end
}
-- org
packer.use {
'https://github.com/nvim-orgmode/orgmode',
requires = 'https://github.com/nvim-treesitter/nvim-treesitter',
config = function()
require('orgmode').setup{}
require('orgmode').setup_ts_grammar()
vim.api.nvim_create_augroup('config_fileformats', { clear = true })
vim.api.nvim_create_autocmd(
@ -27,16 +37,6 @@ packer.use {
end
}
)
end
}
-- org
packer.use {
'https://github.com/nvim-orgmode/orgmode',
requires = 'https://github.com/nvim-treesitter/nvim-treesitter',
config = function()
require('orgmode').setup{}
require('orgmode').setup_ts_grammar()
end,
ft = 'org'
}