feat(neovim): replace vim-orgmode with orgmode

This commit is contained in:
Felix Schröter 2022-03-30 03:04:10 +02:00
parent 8dcabd8cbf
commit ca3036fc60
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 10 additions and 1 deletions

View file

@ -52,7 +52,7 @@ in {
nvim-dap
nvim-dap-virtual-text
vim-orgmode
orgmode
];
extraConfig = with builtins;
# readFile ./vim-surround-fix.vim +
@ -69,6 +69,7 @@ in {
./dap/dap.lua
./dap/mappings.lua
./treesitter.lua
./orgmode.lua
]);
withNodeJs = false;
withPython3 = false;

View file

@ -0,0 +1,6 @@
require("orgmode").setup_ts_grammar()
require("orgmode").setup {
org_agenda_files = {"~/org/**/*"},
org_default_notes_file = "~/org/notes.org",
}

View file

@ -1,6 +1,8 @@
require'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
disable = {"org"},
additional_vim_regex_highlighting = {"org"},
},
indent = {
enable = true,