Skip to content

Commit

Permalink
Add troubleshoot section for non english dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristijanhusak committed Nov 19, 2021
1 parent f9ab951 commit ca2223b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Orgmode clone written in Lua for Neovim 0.5.

[Installation](#installation) | [Setup](#setup) | [Gifs](#gifs) | [Docs](/DOCS.md) | [Tree-sitter info](#tree-sitter-info) | [Plugins](#plugins) | [Development](#development) | [Kudos](#thanks-to)
[Installation](#installation) | [Setup](#setup) | [Troubleshoot](#troubleshoot) | [Gifs](#gifs) | [Docs](/DOCS.md) | [Tree-sitter info](#tree-sitter-info) | [Plugins](#plugins) | [Development](#development) | [Kudos](#thanks-to)

</div>

Expand Down Expand Up @@ -209,6 +209,19 @@ Make sure you are not overriding indentexpr in Org buffers with [nvim-treesitter
Make sure you are using latest changes from [tree-sitter-org](https://github.com/milisims/tree-sitter-org) grammar.<br />
by running `:TSUpdate org` and restarting the editor.

**Dates are not in English**<br />
Dates are generated with Lua native date support, and it reads your current locale when creating them.<br />
To use different locale you can add this to your `init.lua`:
```lua
vim.cmd('language en_US.utf8')
```
or `init.vim`
```
language en_US.utf8
```
Just make sure you have `en_US` locale installed on your system. To see what you have available on the system you can
start the command `:language ` and press `<TAB>` to autocomplete possible options.

### Features (TL;DR):
* Agenda view
* Search by tags/keyword
Expand Down

0 comments on commit ca2223b

Please sign in to comment.