My own first version of kickstart.nvim
This commit is contained in:
parent
3668af39f4
commit
dc41cd1fc2
16 changed files with 305 additions and 93 deletions
26
lua/custom/plugins/vim-orgmode.lua
Normal file
26
lua/custom/plugins/vim-orgmode.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
'nvim-orgmode/orgmode',
|
||||
dependencies = {
|
||||
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
|
||||
},
|
||||
-- ADD THIS BACK LATER - SOMETHING WRONG, SO DOESNT START
|
||||
-- event = 'VeryLazy',
|
||||
config = function()
|
||||
-- Load treesitter grammar for org
|
||||
require('orgmode').setup_ts_grammar()
|
||||
|
||||
-- Setup treesitter
|
||||
require('nvim-treesitter.configs').setup({
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
ensure_installed = { 'org' },
|
||||
})
|
||||
|
||||
-- Setup orgmode
|
||||
require('orgmode').setup({
|
||||
org_agenda_files = '~/documents/orgfiles/**/*',
|
||||
org_default_notes_file = '~/documents/orgfiles/refile.org',
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue