* feat(#2948): add UserDecorator, proof of concept * feat(#2948): add UserDecorator, proof of concept * feat(#2948): add UserDecorator, proof of concept * feat(#2948): add UserDecorator * feat(#2948): add UserDecorator * feat(#2948): add UserDecorator * feat(#2948): add Decorator node icon override * feat(#2948): add nvim_tree.api.* node classes * feat(#2948): extract _meta following nvim pattern * feat(#2948): extract _meta following nvim pattern * feat(#2948): add decorator registry and order * feat(#2948): add decorator registry and order * feat(#2948): tidy * feat(#2948): document API * feat(#2948): document API * feat(#2948): document API * feat(#2948): pass api nodes to user decorators * feat(#2948): document API * feat(#2948): use renderer.decorators to define order and register * feat(#2948): tidy decorator args and complete documentation * feat(#2948): decorator classes specified by prefix rather than suffix * feat(#2948): improve doc * feat(#2948): improve doc * feat(#2948): improve doc * feat(#2948): additional user decorator safety * feat(#2948): create nvim_tree.api.decorator.UserDecorator class in API, add :extend * feat(#2948): improve doc
49 lines
756 B
Makefile
49 lines
756 B
Makefile
all: lint style check
|
|
|
|
#
|
|
# mandatory checks
|
|
#
|
|
lint: luacheck
|
|
|
|
style: style-check style-doc
|
|
|
|
check: luals
|
|
|
|
#
|
|
# subtasks
|
|
#
|
|
luacheck:
|
|
luacheck --codes --quiet lua --exclude-files "**/_meta/**"
|
|
|
|
# --diagnosis-as-error does not function for workspace, hence we post-process the output
|
|
style-check:
|
|
CodeFormat check --config .editorconfig --diagnosis-as-error --workspace lua
|
|
|
|
style-doc:
|
|
scripts/doc-comments.sh
|
|
|
|
luals:
|
|
@scripts/luals-check.sh
|
|
|
|
#
|
|
# fixes
|
|
#
|
|
style-fix:
|
|
CodeFormat format --config .editorconfig --workspace lua
|
|
|
|
#
|
|
# utility
|
|
#
|
|
help-update:
|
|
scripts/help-update.sh
|
|
|
|
#
|
|
# CI
|
|
#
|
|
help-check: help-update
|
|
git diff --exit-code doc/nvim-tree-lua.txt
|
|
|
|
|
|
.PHONY: all lint style check luacheck style-check style-doc luals style-fix help-update help-check
|
|
|