File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff 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
126108require (' orgmode' ).setup_ts_grammar ()
You can’t perform that action at this time.
0 commit comments