nvim: move org specific config to org package
This commit is contained in:
parent
d358289366
commit
f00f50658c
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user