mirror of https://github.com/folke/lazy.nvim.git
chore(build): auto-generate vimdoc
This commit is contained in:
parent
c812daf9ee
commit
1f70834e1c
|
@ -70,7 +70,7 @@ INSTALLATION *lazy.nvim-installation*
|
||||||
|
|
||||||
You can use the following Lua code to bootstrap **lazy.nvim**
|
You can use the following Lua code to bootstrap **lazy.nvim**
|
||||||
|
|
||||||
>
|
>lua
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system({
|
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`
|
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.
|
-- You can use a lua module that contains your plugins.
|
||||||
-- All sub modules of the lua module will also be automatically loaded
|
-- 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.
|
-- 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 │
|
│**keys** │string? or string[] │Lazy-load on key mapping │
|
||||||
|
|
||||||
|
|
||||||
>
|
>lua
|
||||||
return {
|
return {
|
||||||
-- the colorscheme should be available when starting Neovim
|
-- the colorscheme should be available when starting Neovim
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
|
@ -212,7 +212,7 @@ CONFIGURATION *lazy.nvim-configuration*
|
||||||
|
|
||||||
**lazy.nvim** comes with the following defaults:
|
**lazy.nvim** comes with the following defaults:
|
||||||
|
|
||||||
>
|
>lua
|
||||||
{
|
{
|
||||||
root = vim.fn.stdpath("data") .. "/lazy", -- directory where plugins will be installed
|
root = vim.fn.stdpath("data") .. "/lazy", -- directory where plugins will be installed
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
Loading…
Reference in New Issue