diff --git a/.config/nvim/lua/fileformats.lua b/.config/nvim/lua/fileformats.lua index 867d793..1442eb3 100644 --- a/.config/nvim/lua/fileformats.lua +++ b/.config/nvim/lua/fileformats.lua @@ -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' }