You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org tree-sitter grammar recently got a major overhaul. This breaks current code on master. Updated version is on PR #215. This will be merged in a week or so and tagged as v0.2 release. Going forward, there will be more frequent releases of minor and patch versions.
org_agenda_templates was renamed to org_capture_templates as per #223. Old org_agenda_templates option will keep working, but everyone should switch to the new one.
Support for Neovim versions under v0.7 will be dropped due to nvim-treesitter requiring Neovim v0.7. Nvim-treesitter doesn't have any versioning so it's hard to follow proper nvim-treesitter version for older Neovim.
Master branch got an update for markup highlighting and concealing. Everyone who uses treesitter highlights should get new improved markup highlighting. This change addresses these issues:
Combining highlights (for example, italic inside bold)
Headline tags in org files are now right aligned according to the org_tags_column setting instead of left aligned, to match Emacs Orgmode implementation. This shouldn't cause any breaking changes, but changing tags on a headline from now on will most likely be differently aligned than before.
Before:
* TODO Something :TEST:
* TODO Something else :TESTING:
After:
* TODO Something :TEST:
* TODO Something else :TESTING:
Official support for Neovim versions < 0.8 will be dropped in the following weeks. Most likely nothing will break for some time, but since nvim-treesitter requires 0.8+, support for lower versions would be impossible.
Folding is now using nvim-treesitter folding via tree-sitter queries instead of custom implementation (PR #523). If anyone finds any differences or bugs between old and new implementation please open up an issue.
master branch is now tagged behind https://github.com/nvim-orgmode/orgmode/releases/tag/0.3. This is the last version that has a mix of old and new ways of parsing (direct tree-sitter queries and parsing + storing results in objects/classes), which complicated the development. master branch will stay intact for another 1 - 2 weeks, and then nightly branch will be merged into it.
nightly branch is a cleanup + rewrite of the functionality to work directly with tree-sitter. It is advised to use nightly Neovim versions due to faster tree-sitter parser, but changes are also fully compatible with v0.9.2+.
If you are using any of the internals, especially ones under orgmode.parser.* namespace, consider switching to API. It was not changed and is fully compatible with the previous version. All files from that namespace were removed, with an exception of files.lua that will show deprecation notice.
If you are missing some of the functionality that you use from internals, please open up an issue and we can extend API where necessary.
The biggest change regarding the functionality is the removal of the old syntax highlighting in the #+begin_src blocks. If you need highlighting in the blocks for any of the language, consider installing a tree-sitter parser for it with :TSInstall {language}.
Any help on testing a nightly branch before it gets merged is highly appreciated. If you find anything, please open up an issue and add [nightly] before the title. This is just a temporary requirement until nightly gets merged into master.
The nightly branch was merged into master (#665).
There are some improvements to the markup rendering correctness and performance, besides what was mentioned above.
Master works best with the Neovim nightly, but is compatible with 0.9.2+ versions, but it might perform a bit slower (due to older tree-sitter version).
Dependency on https://github.com/nvim-treesitter/nvim-treesitter will be removed when #707 is merged. TS grammar is now installed and compiled by orgmode.
There will be a tagged release before merging this change to master.
This means that require('orgmode').setup_ts_grammar() can now be removed. This is how the setup should be done with lazy:
return {
'nvim-orgmode/orgmode',
event='VeryLazy',
config=function()
-- Setup orgmoderequire('orgmode').setup({
org_agenda_files='~/orgfiles/**/*',
org_default_notes_file='~/orgfiles/refile.org',
})
-- NOTE: If you are using nvim-treesitter with `ensure_installed = "all"` option-- add `org` to ignore_install-- require('nvim-treesitter.configs').setup({-- ensure_installed = 'all',-- ignore_install = { 'org' },-- })end,
}
Official support for Neovim versions < 0.10.0 is removed. At this moment everything still works with the older versions (0.9.4+), but future changes might break this.
#912 will update tree-sitter grammar major version.
Older nvim-orgmode version will work with new tree-sitter grammar version, but dates and links will not be highlighted or parsed properly.
Newest nvim-orgmode version after the above mentioned PR is merged will not work with older tree-sitter grammar version due to requiring some nodes that do not exist in old tree-sitter grammar.
Grammar update will happen automatically, but it will require restart due to some internal Neovim caching.
If there are some issues with the parser, run :Org install_treesitter_grammar to reinstall it.
#932 Introduces new Org indent_mode command that is used to toggle the virtual indentation in the current buffer. Previously, toggling was done by directly changing the value of vim.b.org_indent_mode variable directly.
Buffer variable is still being set, but changing it directly will not affect the indentation in the buffer.
#965 changes the default highlight of the hyperlinks to allow more granular configuration. To revert to the previous behavior check the PR description for instructions.
Official support for Neovim versions < 0.10.3 will be dropped (already on master) in the next nvim-orgmode version. Older 0.10 Neovim versions will most likely continue to work until all 0.10. versions are deprecated. This is done just to keep the official "last 3 Neovim versions supported" list slimmer.
Activity
kristijanhusak commentedon Feb 6, 2022
org tree-sitter grammar recently got a major overhaul. This breaks current code on master. Updated version is on PR #215. This will be merged in a week or so and tagged as
v0.2
release. Going forward, there will be more frequent releases of minor and patch versions.Changes that are required: https://github.com/nvim-orgmode/orgmode/pull/215/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L74-R75
Replace this:
With this:
And run:
If above change is not done, proper error message will be printed out with instructions.
kristijanhusak commentedon Feb 19, 2022
#215 is now merged into master, and tagged as
0.2
release.kristijanhusak commentedon Apr 3, 2022
org_agenda_templates
was renamed toorg_capture_templates
as per #223. Oldorg_agenda_templates
option will keep working, but everyone should switch to the new one.kristijanhusak commentedon Apr 20, 2022
Support for Neovim versions under v0.7 will be dropped due to nvim-treesitter requiring Neovim v0.7. Nvim-treesitter doesn't have any versioning so it's hard to follow proper nvim-treesitter version for older Neovim.
kristijanhusak commentedon Apr 24, 2022
Master branch got an update for markup highlighting and concealing. Everyone who uses treesitter highlights should get new improved markup highlighting. This change addresses these issues:
kristijanhusak commentedon May 29, 2022
Insert mode
<CR>
mapping was added with 35f4fb6 , for purposes of adding new row in a table which can now be formatted (per 87291af).If your
<CR>
is misbehaving, you can disable the mapping like this:Please report any issues found with it.
kristijanhusak commentedon Jun 4, 2022
Headline tags in org files are now right aligned according to the
org_tags_column
setting instead of left aligned, to match Emacs Orgmode implementation. This shouldn't cause any breaking changes, but changing tags on a headline from now on will most likely be differently aligned than before.Before:
After:
kristijanhusak commentedon Nov 30, 2022
Official support for Neovim versions < 0.8 will be dropped in the following weeks. Most likely nothing will break for some time, but since
nvim-treesitter
requires 0.8+, support for lower versions would be impossible.kristijanhusak commentedon Mar 11, 2023
Folding is now using
nvim-treesitter
folding via tree-sitter queries instead of custom implementation (PR #523). If anyone finds any differences or bugs between old and new implementation please open up an issue.kristijanhusak commentedon Apr 15, 2023
Support for Neovim versions < 0.8.3 are officially dropped. Everything should still work, but future changes might cause some breaking issus.
kristijanhusak commentedon Jan 24, 2024
#654 changed the default mapping for inserting link from
<prefix>il
(default<leader>oil
) to<prefix>li
(default<leader>oli
).kristijanhusak commentedon Feb 6, 2024
master
branch is now tagged behind https://github.com/nvim-orgmode/orgmode/releases/tag/0.3. This is the last version that has a mix of old and new ways of parsing (direct tree-sitter queries and parsing + storing results in objects/classes), which complicated the development.master
branch will stay intact for another 1 - 2 weeks, and then nightly branch will be merged into it.nightly branch is a cleanup + rewrite of the functionality to work directly with tree-sitter. It is advised to use nightly Neovim versions due to faster tree-sitter parser, but changes are also fully compatible with v0.9.2+.
If you are using any of the internals, especially ones under
orgmode.parser.*
namespace, consider switching to API. It was not changed and is fully compatible with the previous version. All files from that namespace were removed, with an exception offiles.lua
that will show deprecation notice.If you are missing some of the functionality that you use from internals, please open up an issue and we can extend API where necessary.
The biggest change regarding the functionality is the removal of the old syntax highlighting in the
#+begin_src
blocks. If you need highlighting in the blocks for any of the language, consider installing a tree-sitter parser for it with:TSInstall {language}
.Any help on testing a nightly branch before it gets merged is highly appreciated. If you find anything, please open up an issue and add
[nightly]
before the title. This is just a temporary requirement untilnightly
gets merged intomaster
.kristijanhusak commentedon Feb 14, 2024
The nightly branch was merged into master (#665).
There are some improvements to the markup rendering correctness and performance, besides what was mentioned above.
Master works best with the Neovim nightly, but is compatible with 0.9.2+ versions, but it might perform a bit slower (due to older tree-sitter version).
kristijanhusak commentedon Feb 20, 2024
#676 introduced two bigger changes to highlighting:
:h treesitter-highlights
). To override any colors, follow the instructions in docs https://github.com/nvim-orgmode/orgmode/blob/master/DOCS.md#colorsTo use old highlights add this to your init.lua:
kristijanhusak commentedon Feb 21, 2024
Support for nvim-compe was removed in #678 since that plugin is no longer maintained.
kristijanhusak commentedon Mar 29, 2024
Dependency on https://github.com/nvim-treesitter/nvim-treesitter will be removed when #707 is merged. TS grammar is now installed and compiled by orgmode.
There will be a tagged release before merging this change to master.
This means that
require('orgmode').setup_ts_grammar()
can now be removed. This is how the setup should be done with lazy:kristijanhusak commentedon Mar 31, 2024
Dependency on nvim-treesitter is now officially removed. The last version that depends on it is https://github.com/nvim-orgmode/orgmode/releases/tag/0.3.1.
kristijanhusak commentedon Jul 14, 2024
org_note_show_help
mapping was removed in f874118, and it will fall back toorg_show_help
kristijanhusak commentedon Jan 6, 2025
Official support for Neovim versions <
0.10.0
is removed. At this moment everything still works with the older versions (0.9.4+), but future changes might break this.kristijanhusak commentedon Jan 10, 2025
#848 changed how agenda filter for tags/categories/headline search is working. Filter was previously case insensitive, and now it's case sensitive.
kristijanhusak commentedon Mar 1, 2025
#912 will update tree-sitter grammar major version.
Older nvim-orgmode version will work with new tree-sitter grammar version, but dates and links will not be highlighted or parsed properly.
Newest nvim-orgmode version after the above mentioned PR is merged will not work with older tree-sitter grammar version due to requiring some nodes that do not exist in old tree-sitter grammar.
Grammar update will happen automatically, but it will require restart due to some internal Neovim caching.
If there are some issues with the parser, run
:Org install_treesitter_grammar
to reinstall it.kristijanhusak commentedon Mar 14, 2025
#932 Introduces new
Org indent_mode
command that is used to toggle the virtual indentation in the current buffer. Previously, toggling was done by directly changing the value ofvim.b.org_indent_mode
variable directly.Buffer variable is still being set, but changing it directly will not affect the indentation in the buffer.
kristijanhusak commentedon Apr 15, 2025
#965 changes the default highlight of the hyperlinks to allow more granular configuration. To revert to the previous behavior check the PR description for instructions.
kristijanhusak commentedon May 30, 2025
Official support for Neovim versions < 0.10.3 will be dropped (already on master) in the next nvim-orgmode version. Older 0.10 Neovim versions will most likely continue to work until all 0.10. versions are deprecated. This is done just to keep the official "last 3 Neovim versions supported" list slimmer.