@@ -411,6 +411,7 @@ CONFIGURATION *lazy.nvim-lazy.nvim-configuration*
411
411
},
412
412
-- leave nil when passing the spec as the first argument to setup()
413
413
spec = nil, ---@type LazySpec
414
+ local_spec = true, -- load project specific .lazy.lua spec files. They will be added at the end of the spec.
414
415
lockfile = vim.fn.stdpath("config") .. "/lazy-lock.json", -- lockfile generated after running update.
415
416
---@type number? limit the maximum amount of concurrent tasks
416
417
concurrency = jit.os:find("Windows") and (vim.uv.available_parallelism() * 2) or nil,
@@ -615,17 +616,14 @@ enabled with `config.checker.enabled = true`.
615
616
Any operation can be started from the UI, with a sub command or an API
616
617
function:
617
618
618
- ----------------------------------------------------------------------------------
619
+ --------------------------------------------------------------------------------------------------------------
619
620
Command Lua Description
620
- ------------------------- -------------------------------- -----------------------
621
+ ------------------------- -------------------------------- ---------------------------------------------------
621
622
:Lazy build {plugins} require("lazy").build(opts) Rebuild a plugin
622
623
623
- :Lazy check [plugins] require("lazy").check(opts?) Check for updates and
624
- show the log (git
625
- fetch)
624
+ :Lazy check [plugins] require("lazy").check(opts?) Check for updates and show the log (git fetch)
626
625
627
- :Lazy clean [plugins] require("lazy").clean(opts?) Clean plugins that are
628
- no longer needed
626
+ :Lazy clean [plugins] require("lazy").clean(opts?) Clean plugins that are no longer needed
629
627
630
628
:Lazy clear require("lazy").clear() Clear finished tasks
631
629
@@ -639,36 +637,24 @@ function:
639
637
640
638
:Lazy install [plugins] require("lazy").install(opts?) Install missing plugins
641
639
642
- :Lazy load {plugins} require("lazy").load(opts) Load a plugin that has
643
- not been loaded yet.
644
- Similar to :packadd.
645
- Like
646
- :Lazy load foo.nvim.
647
- Use :Lazy! load to skip
648
- cond checks.
640
+ :Lazy load {plugins} require("lazy").load(opts) Load a plugin that has not been loaded yet. Similar
641
+ to :packadd. Like :Lazy load foo.nvim. Use
642
+ :Lazy! load to skip cond checks.
649
643
650
644
:Lazy log [plugins] require("lazy").log(opts?) Show recent updates
651
645
652
646
:Lazy profile require("lazy").profile() Show detailed profiling
653
647
654
- :Lazy reload {plugins} require("lazy").reload(opts) Reload a plugin
655
- (experimental!!)
648
+ :Lazy reload {plugins} require("lazy").reload(opts) Reload a plugin (experimental!!)
656
649
657
- :Lazy restore [plugins] require("lazy").restore(opts?) Updates all plugins to
658
- the state in the
659
- lockfile. For a single
660
- plugin: restore it to
661
- the state in the
662
- lockfile or to a given
663
- commit under the cursor
650
+ :Lazy restore [plugins] require("lazy").restore(opts?) Updates all plugins to the state in the lockfile.
651
+ For a single plugin: restore it to the state in the
652
+ lockfile or to a given commit under the cursor
664
653
665
- :Lazy sync [plugins] require("lazy").sync(opts?) Run install, clean and
666
- update
654
+ :Lazy sync [plugins] require("lazy").sync(opts?) Run install, clean and update
667
655
668
- :Lazy update [plugins] require("lazy").update(opts?) Update plugins. This
669
- will also update the
670
- lockfile
671
- ----------------------------------------------------------------------------------
656
+ :Lazy update [plugins] require("lazy").update(opts?) Update plugins. This will also update the lockfile
657
+ --------------------------------------------------------------------------------------------------------------
672
658
Any command can have a **bang** to make the command wait till it finished. For
673
659
example, if you want to sync lazy from the cmdline, you can use:
674
660
@@ -924,77 +910,74 @@ HIGHLIGHT GROUPS *lazy.nvim-lazy.nvim-highlight-groups*
924
910
925
911
Click to see all highlight groups ~
926
912
927
- -----------------------------------------------------------------------
928
- Highlight Group Default Group Description
929
- ----------------------- ----------------------- -----------------------
930
- LazyButton CursorLine
913
+ ---------------------------------------------------------------------------------
914
+ Highlight Group Default Group Description
915
+ ------------------- ------------------------ ------------- -----------------------
916
+ LazyButton CursorLine
931
917
932
- LazyButtonActive Visual
918
+ LazyButtonActive Visual
933
919
934
- LazyComment Comment
920
+ LazyComment Comment
935
921
936
- LazyCommit @variable.builtin commit ref
922
+ LazyCommit _ @variable.builtin_ commitref
937
923
938
- LazyCommitIssue Number
924
+ LazyCommitIssue Number
939
925
940
- LazyCommitScope Italic conventional commit
941
- scope
926
+ LazyCommitScope Italic conventional commit scope
942
927
943
- LazyCommitType Title conventional commit
944
- type
928
+ LazyCommitType Title conventional commit type
945
929
946
- LazyDimmed Conceal property
930
+ LazyDimmed Conceal property
947
931
948
- LazyDir @markup.link directory
932
+ LazyDir _ @markup.link_ directory
949
933
950
- LazyH1 IncSearch home button
934
+ LazyH1 IncSearch homebutton
951
935
952
- LazyH2 Bold titles
936
+ LazyH2 Bold titles
953
937
954
- LazyLocal Constant
938
+ LazyLocal Constant
955
939
956
- LazyNoCond DiagnosticWarn unloaded icon for a
957
- plugin where cond() was
958
- false
940
+ LazyNoCond DiagnosticWarn unloaded icon for a plugin where
941
+ cond() was false
959
942
960
- LazyNormal NormalFloat
943
+ LazyNormal NormalFloat
961
944
962
- LazyProgressDone Constant progress bar done
945
+ LazyProgressDone Constant progress bar done
963
946
964
- LazyProgressTodo LineNr progress bar todo
947
+ LazyProgressTodo LineNr progress bar todo
965
948
966
- LazyProp Conceal property
949
+ LazyProp Conceal property
967
950
968
- LazyReasonCmd Operator
951
+ LazyReasonCmd Operator
969
952
970
- LazyReasonEvent Constant
953
+ LazyReasonEvent Constant
971
954
972
- LazyReasonFt Character
955
+ LazyReasonFt Character
973
956
974
- LazyReasonImport Identifier
957
+ LazyReasonImport Identifier
975
958
976
- LazyReasonKeys Statement
959
+ LazyReasonKeys Statement
977
960
978
- LazyReasonPlugin Special
961
+ LazyReasonPlugin Special
979
962
980
- LazyReasonRequire @variable.parameter
963
+ LazyReasonRequire _ @variable.parameter_
981
964
982
- LazyReasonRuntime @macro
965
+ LazyReasonRuntime _@macro_
983
966
984
- LazyReasonSource Character
967
+ LazyReasonSource Character
985
968
986
- LazyReasonStart @variable.member
969
+ LazyReasonStart _ @variable.member_
987
970
988
- LazySpecial @punctuation.special
971
+ LazySpecial _ @punctuation.special_
989
972
990
- LazyTaskError ErrorMsg task errors
973
+ LazyTaskError ErrorMsg taskerrors
991
974
992
- LazyTaskOutput MsgArea task output
975
+ LazyTaskOutput MsgArea task output
993
976
994
- LazyUrl @markup.link url
977
+ LazyUrl _ @markup.link_ url
995
978
996
- LazyValue @string value of a property
997
- -----------------------------------------------------------------------
979
+ LazyValue _@string_ valueof a property
980
+ ---------------------------------------------------------------------------------
998
981
999
982
PLUGIN AUTHORS *lazy.nvim-lazy.nvim-plugin-authors*
1000
983
0 commit comments