diff --git a/doc/lazy.nvim.txt b/doc/lazy.nvim.txt index 7854373..7c6ed72 100644 --- a/doc/lazy.nvim.txt +++ b/doc/lazy.nvim.txt @@ -70,7 +70,7 @@ INSTALLATION *lazy.nvim-installation* You can use the following Lua code to bootstrap **lazy.nvim** -> +>lua local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ @@ -88,7 +88,7 @@ You can use the following Lua code to bootstrap **lazy.nvim** Next step is to add **lazy.nvim** to the top of your `init.lua` -> +>lua -- You can use a lua module that contains your plugins. -- All sub modules of the lua module will also be automatically loaded -- This is the preferred setup so your plugin specs can be properly cached. @@ -132,7 +132,7 @@ PLUGIN SPEC *lazy.nvim-plugin-spec* │**keys** │string? or string[] │Lazy-load on key mapping │ -> +>lua return { -- the colorscheme should be available when starting Neovim "folke/tokyonight.nvim", @@ -212,7 +212,7 @@ CONFIGURATION *lazy.nvim-configuration* **lazy.nvim** comes with the following defaults: -> +>lua { root = vim.fn.stdpath("data") .. "/lazy", -- directory where plugins will be installed defaults = {