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
Built in tree-sitter parser is used for parsing the org files.
204
+
##Treesitter Info
205
+
The built-in treesitter parser is used for parsing the org files.
172
206
Highlights are experimental and partially supported.
173
207
174
-
####Advantages of tree-sitter over built in parsing/syntax:
175
-
* More reliable, since parsing is done with proper parsing tool
208
+
### Advantages of treesitter over built in parsing/syntax:
209
+
* More reliable, since parsing is done with a proper parsing tool
176
210
* Better highlighting (Experimental, still requires improvements)
177
-
* Future features will be easier to implement because grammar already parses some things that were not parsed before (tables, latex, etc.)
211
+
* Future features will be easier to implement because the grammar already parses some things that were not parsed before (tables, latex, etc.)
178
212
* Allows for easier hacking (custom motions that can work with TS nodes, etc.)
179
213
180
-
####Known highlighting issues and limitations
214
+
### Known highlighting issues and limitations
181
215
* Performance issues. This is generally an issue in Neovim that should be resolved before 0.6 release (https://github.com/neovim/neovim/issues/14762, https://github.com/neovim/neovim/issues/14762)
182
216
* Anything that requires concealing ([org_hide_emphasis_markers](/DOCS.md#org_hide_emphasis_markers), links concealing) is not (yet) supported in TS highlighter
183
217
* LaTex is still highlighted through syntax file
184
218
185
-
####Improvements over Vim's syntax highlighting
219
+
### Improvements over Vim's syntax highlighting
186
220
* Better highlighting of certain parts (tags, deadline/schedule/closed dates)
187
-
*[Tree-sitter highlight injections](https://github.com/nvim-treesitter/nvim-treesitter/blob/4f2265632becabcd2c5b1791fa31ef278f1e496c/CONTRIBUTING.md#injections) through `#BEGIN_SRC filetype` blocks
221
+
*[Treesitter highlight injections](https://github.com/nvim-treesitter/nvim-treesitter/blob/4f2265632becabcd2c5b1791fa31ef278f1e496c/CONTRIBUTING.md#injections) through `#BEGIN_SRC filetype` blocks
Make sure you are not overriding foldexpr in Org buffers with [nvim-treesitter folding](https://github.com/nvim-treesitter/nvim-treesitter#folding)
193
227
194
-
#####Indentation is not working
228
+
### Indentation is not working
195
229
Make sure you are not overriding indentexpr in Org buffers with [nvim-treesitter indentation](https://github.com/nvim-treesitter/nvim-treesitter#indentation)
196
230
197
-
#####I get `treesitter/query.lua` errors when opening agenda/capture prompt or org files
231
+
### I get `treesitter/query.lua` errors when opening agenda/capture prompt or org files
198
232
Make sure you are using latest changes from [tree-sitter-org](https://github.com/milisims/tree-sitter-org) grammar.<br />
199
233
by running `:TSUpdate org` and restarting the editor.
200
234
201
-
#####Dates are not in English
235
+
### Dates are not in English
202
236
Dates are generated with Lua native date support, and it reads your current locale when creating them.<br />
203
237
To use different locale you can add this to your `init.lua`:
204
238
```lua
@@ -211,7 +245,7 @@ language en_US.utf8
211
245
Just make sure you have `en_US` locale installed on your system. To see what you have available on the system you can
212
246
start the command `:language ` and press `<TAB>` to autocomplete possible options.
213
247
214
-
#####Links are not concealed
248
+
### Links are not concealed
215
249
Links are concealed with Vim's conceal feature (see `:help conceal`). To enable concealing, add this to your `init.lua`:
216
250
```lua
217
251
vim.opt.conceallevel=2
@@ -225,7 +259,7 @@ set conceallevel=2
225
259
set concealcursor=nc
226
260
```
227
261
228
-
#####Jumping to file path is not working for paths with forward slash
262
+
### Jumping to file path is not working for paths with forward slash
229
263
If you are using Windows, paths are by default written with backslashes.
230
264
To use forward slashes, you must enable `shellslash` option (see `:help 'shellslash'`).
231
265
@@ -241,7 +275,8 @@ set shellslash
241
275
242
276
More info on issue [#281](https://github.com/nvim-orgmode/orgmode/issues/281#issuecomment-1120200775)
243
277
244
-
### Features (TL;DR):
278
+
## Features
279
+
### TL;DR
245
280
* Agenda view
246
281
* Search by tags/keyword
247
282
* Clocking time
@@ -262,7 +297,7 @@ More info on issue [#281](https://github.com/nvim-orgmode/orgmode/issues/281#iss
262
297
* Remote editing from agenda view
263
298
* Repeatable mapping via [vim-repeat](https://github.com/tpope/vim-repeat)
264
299
265
-
### Features (Detailed breakdown):
300
+
### Detailed breakdown
266
301
* Agenda prompt:
267
302
* Agenda view (<kbd>a</kbd>):
268
303
* Ability to show daily(<kbd>vd</kbd>)/weekly(<kbd>vw</kbd>)/monthly(<kbd>vm</kbd>)/yearly(<kbd>vy</kbd>) agenda
@@ -329,9 +364,9 @@ See all available plugins on [orgmode-nvim](https://github.com/topics/orgmode-nv
329
364
330
365
**If you built a plugin please add "orgmode-nvim" topic to it.**
331
366
332
-
**NOTE**: None of the Emacs Orgmode plugins will be built into orgmode.nvim.
367
+
**NOTE**: None of the Emacs Orgmode plugins will be built into nvim-orgmode.
333
368
Anything that's a separate plugin in Emacs Orgmode should be a separate plugin in here.
334
-
Point of this plugin is to provide functionality that's built into Emacs Orgmode core,
369
+
The point of this plugin is to provide functionality that's built into Emacs Orgmode core,
335
370
and a good foundation for external plugins.<br />
336
371
If you want to build a plugin, post suggestions and improvements on [Plugins infrastructure](https://github.com/nvim-orgmode/orgmode/issues/26)
337
372
issue.
@@ -358,22 +393,22 @@ make format
358
393
```
359
394
360
395
### Parser
361
-
Parsing is done via builtin tree-sitter parser and [tree-sitter-org](https://github.com/milisims/tree-sitter-org) grammar.
396
+
Parsing is done via builtin treesitter parser and [tree-sitter-org](https://github.com/milisims/tree-sitter-org) grammar.
362
397
363
-
## Plans
398
+
## Roadmap
364
399
*[X] Support searching by properties
365
400
*[ ] Improve checkbox hierarchy
366
401
*[X] Support todo keyword faces
367
402
*[X] Support clocking work time
368
403
*[X] Improve folding
369
404
*[X] Support exporting (via existing emacs tools)
370
405
*[ ] Support archiving to specific headline
371
-
*[] Support tables
406
+
*[X] Support tables
372
407
*[ ] Support diary format dates
373
408
*[ ] Support evaluating code blocks
374
409
375
410
## Thanks to
376
411
*[@dhruvasagar](https://github.com/dhruvasagar) and his [vim-dotoo](https://github.com/dhruvasagar/vim-dotoo) plugin
377
412
that got me started using orgmode. Without him this plugin would not happen.
378
-
*[@milisims](https://github.com/milisims) for writing a tree-sitter parser for org
413
+
*[@milisims](https://github.com/milisims) for writing a treesitter parser for org
379
414
*[vim-orgmode](https://github.com/jceb/vim-orgmode) for some parts of the code (mostly syntax)
0 commit comments