diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-24 11:52:33 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-24 11:52:33 +0200 |
commit | 55ad5a982adc61a379a052e96cde9c8b8a40f978 (patch) | |
tree | d0148a89cb0105402db3fbfbcf6aa350c84ef3b3 | |
parent | b2055afaa70dd35bccdb9deeeb5ebdefae25a026 (diff) | |
download | vim-polyglot-55ad5a982adc61a379a052e96cde9c8b8a40f978.tar.gz vim-polyglot-55ad5a982adc61a379a052e96cde9c8b8a40f978.zip |
Migrate to makefile
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README.md | 9 |
2 files changed, 12 insertions, 4 deletions
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 @@ -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 |