orgmode
orgmode copied to clipboard
org_src_editing_save cannot save the code
Describe the bug
When I insert a src block when using org_edit_special to add code into my file, when I press <leader>ow to save code, messages say: "E5108: Error executing lua [NULL]". and I press <leader>ok to abort, messages say: "[orgmode] Edit special callback with invalid file: ?"
Steps to reproduce
- Open a org file
- Using <s snippet create a block
<leader>o'- Edit code
<leader>owto save code
Expected behavior
I expect to save code normally and org file will applies my changes
Emacs functionality
No response
Minimal init.lua
I use nix2vim for my neovim config
{ pkgs, dsl, ... }: {
plugins = with pkgs.vimPlugins; [
orgmode
];
use.orgmode.setup_ts_grammar = dsl.callWith {};
setup.orgmode = {
org_agenda_files = [ "~/document/agenda/*" ];
org_default_notes_file = "~/document/inbox.org";
};
}
Screenshots and recordings
No response
OS / Distro
NixOS
Neovim version/commit
0.8.2
Additional context
No response