Skip to content

Commit 34f977c

Browse files
docs: Remove old lazy loading section from readme
1 parent 4c81018 commit 34f977c

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

README.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -96,31 +96,13 @@ call dein#add('nvim-orgmode/orgmode')
9696
```
9797

9898
</details>
99-
100-
<details>
101-
<summary><b>Lazy loading (not recommended)</b></summary>
102-
</br>
103-
104-
Lazy loading via `ft` option works, but not completely. Global mappings are not set because plugin is not initialized on startup.
105-
Above setup has a startup time of somewhere between 1 and 3 ms, so there are not many benefits in lazy loading.
106-
If you want to do it anyway, here's the lazy load setup:
107-
```lua
108-
use {'nvim-treesitter/nvim-treesitter'}
109-
use {'nvim-orgmode/orgmode',
110-
ft = {'org'},
111-
config = function()
112-
require('orgmode').setup{}
113-
end
114-
}
115-
```
116-
117-
</details>
118-
11999
### Setup
120100

101+
Note that this setup is not needed for [lazy.nvim](https://github.com/folke/lazy.nvim)
102+
since instructions above covers full setup
103+
121104
```lua
122105
-- init.lua
123-
-- NOTE: this is not needed for lazy.nvim if above instructions were used
124106

125107
-- Load custom treesitter grammar for org filetype
126108
require('orgmode').setup_ts_grammar()

0 commit comments

Comments
 (0)