Skip to content

Commit 145dce4

Browse files
author
github-actions
committed
chore(docs): Update docs
1 parent d43e377 commit 145dce4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

doc/orgmode.txt

+21
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Table of Contents *orgmode-table-of-contents*
1414
2. Troubleshooting |orgmode-troubleshooting|
1515
- Indentation is not working|orgmode-troubleshooting-indentation-is-not-working|
1616
- I get treesitter/query.lua errors when opening agenda/capture prompt or org files|orgmode-troubleshooting-i-get-treesitter/query.lua-errors-when-opening-agenda/capture-prompt-or-org-files|
17+
- I get .../orgmode/parser/org.so is not a valid Win32 application on Windows|orgmode-troubleshooting-i-get-.../orgmode/parser/org.so-is-not-a-valid-win32-application-on-windows|
1718
- Dates are not in English|orgmode-troubleshooting-dates-are-not-in-english|
1819
- Chinese characters are not displayed correctly in agenda|orgmode-troubleshooting-chinese-characters-are-not-displayed-correctly-in-agenda|
1920
- Links are not concealed |orgmode-troubleshooting-links-are-not-concealed|
@@ -3048,6 +3049,26 @@ Tree-sitter parser might not be installed. Try running `:Org
30483049
install_treesitter_grammar` to reinstall it.
30493050

30503051

3052+
I GET .../ORGMODE/PARSER/ORG.SO IS NOT A VALID WIN32 APPLICATION ON WINDOWS*orgmode-troubleshooting-i-get-.../orgmode/parser/org.so-is-not-a-valid-win32-application-on-windows*
3053+
3054+
This issue can happen due to wrong C compiler being used for building the
3055+
parser. By default, first one available from this list is chosen: `cc, gcc,
3056+
clang, cl, zig` If you want to use a specific parser, you can override the
3057+
`compilers` list before calling the `setup()` like this:
3058+
3059+
>lua
3060+
require('orgmode.utils.treesitter.install').compilers = { 'clang' }
3061+
require('orgmode').setup()
3062+
<
3063+
3064+
After that, restart Neovim and run `:Org install_treesitter_grammar` to
3065+
reinstall the parser.
3066+
3067+
nvim-treesitter
3068+
<https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support#which-c-compiler-will-be-used>
3069+
mentions the similar issue as part of their Windows troubleshooting section.
3070+
3071+
30513072
DATES ARE NOT IN ENGLISH *orgmode-troubleshooting-dates-are-not-in-english*
30523073

30533074
Dates are generated with Lua native date support, and it reads your current

0 commit comments

Comments
 (0)