From 55ad5a982adc61a379a052e96cde9c8b8a40f978 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 24 Aug 2020 11:52:33 +0200 Subject: Migrate to makefile --- Makefile | 7 +++++++ README.md | 9 +++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..0fb2c82d --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +.PHONY: all + +all: + @ scripts/build + +test: + @ scripts/test diff --git a/README.md b/README.md index 20df0b4d..3cb5e1bc 100644 --- a/README.md +++ b/README.md @@ -203,26 +203,27 @@ If you need full functionality of any plugin, please use it directly with your p ## Updating -You can either wait for new patch release with updates or run the `scripts/build` script by yourself. +You can either wait for new patch release with updates or run `make` by yourself. ## Troubleshooting -Please make sure you have `syntax on` in your `.vimrc`, otherwise syntax files are not loaded at all. +Please make sure you have `syntax on` in your `.vimrc` (or use something like [sheerun/vimrc](https://github.com/sheerun/vimrc)) Individual language packs can be disabled by setting `g:polyglot_disabled` as follows: ```viml -" ~/.vimrc, declare this variable before polyglot is loaded let g:polyglot_disabled = ['css'] ``` +*Please declare this variable before polyglot is loaded (at the top of .vimrc)* + Please note that disabling a language won't make in your vim startup any faster / slower (only for specific this specific filetype). All plugins are loaded lazily, on demand. ## Contributing Language packs are periodically updated using automated `scripts/build` script. -Feel free to add your language to `packages.yaml`, and send pull-request. Please don't run `scripts/build` and include that in your PR, send just changes to `packages.yaml` and `build` script if really necessary. You can run `scripts/test` to run rough tests. +Feel free to add your language to `packages.yaml`, and send pull-request. Please don't run `make` and include that in your PR, send just changes to `packages.yaml` and build scripts if really necessary. You can run `make test` to run rough tests. ## License -- cgit v1.2.3