Lazy Loading Using lazy.nvim #990
TheFunctionalGuy
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
quite sure you can use filetype instead of the buf enter thing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I would suggest to lazy-load the plugin by adding this two lines to the
lazy.nvim
config:cmd = "Neorg"
ft = "norg"
Resulting in this config in the
README.md
:If you are fine with this suggestion I would like to open a small PR for this.
EDIT: changed
event = "BufEnter *.norg"
toft = "norg"
.Beta Was this translation helpful? Give feedback.
All reactions