refactor(nvim): better name and lazy loading
This commit is contained in:
parent
0f5f81539b
commit
4dbec7bade
2 changed files with 15 additions and 12 deletions
|
|
@ -48,9 +48,9 @@ let
|
|||
listToStringMultiLine id
|
||||
([
|
||||
"dir = ${quote plugin}"
|
||||
"name = ${quote plugin.name}"
|
||||
"lazy = ${boolToString lazy}"
|
||||
"name = ${quote (getName plugin)}"
|
||||
]
|
||||
++ (optional (!lazy) "lazy = ${boolToString lazy}")
|
||||
++ (optional (!enabled) "enabled = ${boolToString enabled}")
|
||||
++ (optional (dependencies != [ ]) "dependencies = ${listToStringMultiLine id (map lazySpecFromPlugin dependencies)}")
|
||||
++ (optional (init != null) "init = function(plugin)\n${toString init}\nend")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue