feat(neovim): replace vim-orgmode with orgmode
This commit is contained in:
parent
8dcabd8cbf
commit
ca3036fc60
|
@ -52,7 +52,7 @@ in {
|
||||||
nvim-dap
|
nvim-dap
|
||||||
nvim-dap-virtual-text
|
nvim-dap-virtual-text
|
||||||
|
|
||||||
vim-orgmode
|
orgmode
|
||||||
];
|
];
|
||||||
extraConfig = with builtins;
|
extraConfig = with builtins;
|
||||||
# readFile ./vim-surround-fix.vim +
|
# readFile ./vim-surround-fix.vim +
|
||||||
|
@ -69,6 +69,7 @@ in {
|
||||||
./dap/dap.lua
|
./dap/dap.lua
|
||||||
./dap/mappings.lua
|
./dap/mappings.lua
|
||||||
./treesitter.lua
|
./treesitter.lua
|
||||||
|
./orgmode.lua
|
||||||
]);
|
]);
|
||||||
withNodeJs = false;
|
withNodeJs = false;
|
||||||
withPython3 = false;
|
withPython3 = false;
|
||||||
|
|
6
home/editors/neovim/orgmode.lua
Normal file
6
home/editors/neovim/orgmode.lua
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
require("orgmode").setup_ts_grammar()
|
||||||
|
|
||||||
|
require("orgmode").setup {
|
||||||
|
org_agenda_files = {"~/org/**/*"},
|
||||||
|
org_default_notes_file = "~/org/notes.org",
|
||||||
|
}
|
|
@ -1,6 +1,8 @@
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
disable = {"org"},
|
||||||
|
additional_vim_regex_highlighting = {"org"},
|
||||||
},
|
},
|
||||||
indent = {
|
indent = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
Loading…
Reference in a new issue