Added orgmode

This commit is contained in:
Salar Rahmanian 2021-07-16 08:08:29 -07:00
parent ca2d83fae0
commit 962da365db

View file

@ -37,19 +37,26 @@ local function load_plugins()
use 'b3nj5m1n/kommentary' use 'b3nj5m1n/kommentary'
use 'ckipp01/stylua-nvim' use 'ckipp01/stylua-nvim'
use 'gennaro-tedesco/nvim-jqx' use 'gennaro-tedesco/nvim-jqx'
use 'kristijanhusak/orgmode.nvim'
end) end)
end end
_G.load_config = function() _G.load_config = function()
require('nvim-autopairs').setup()
require('which-key').setup()
require('trouble').setup()
require('gitsigns').setup() require('gitsigns').setup()
require 'salargalaxyline'
require('kommentary.config').use_extended_mappings() require('kommentary.config').use_extended_mappings()
require('nvim-autopairs').setup()
require 'salargalaxyline'
require('trouble').setup()
require('which-key').setup()
local luadev = require('lua-dev').setup() local luadev = require('lua-dev').setup()
-- orgmode.nvim
require('orgmode').setup({
org_agenda_files = {'~/Documents/org'},
org_default_notes_file = '~/Documents/org/notes.org'
})
-- Treesitter -- Treesitter
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
query_linter = { query_linter = {
@ -371,6 +378,7 @@ _G.load_config = function()
nvim_lua = true, nvim_lua = true,
buffer = true, buffer = true,
luasnip = true, luasnip = true,
orgmode = true,
}, },
} }