Commit Graph

904 Commits

Author SHA1 Message Date
Danielle McLean
a126d20c24 Run a build and commit the results 2023-10-10 23:21:12 +11:00
Danielle McLean
158ffef943 Omit natively-supported filetypes from packaging
This is one of the more drastic changes to the build process, but it
seems to be a good one. Having two copies of the same filetype can cause
a variety of problems since Vim tries to load both of them - for
example, :setf ada will error if you have mainline vim-polyglot
installed, because the Ada autoload file uses :lockvar. Not copying the
filetype support that's bundled with Vim already prevents that collision
issue.

This change also means you can immediately get the latest version of the
natively-supported filetypes if you keep your Vim up to date, while the
version bundled into vim-polyglot is still pinned at v8.2.4274 for
compatibility reasons. (I did try bumping up that version number, but
you end up getting Vim9 script, which will break vim-polyglot on older
Vims.)
2023-10-10 22:41:20 +11:00
Danielle McLean
2a41a13242 Gen ftdetect for native filetypes not in packages.yaml 2023-10-10 22:40:04 +11:00
Danielle McLean
41ef24676a Remove unused native_* sets 2023-10-10 22:37:35 +11:00
Danielle McLean
eeb517c330 Tweak detect_filetypes regex so 'setf cpp|endif' works right 2023-10-10 22:36:28 +11:00
Danielle McLean
4dda82ad99 Use constants to reference tmp/vim runtime in scripts/build 2023-10-10 22:35:09 +11:00
Danielle McLean
01d1375124 Spotfix some package defs in packages.yaml 2023-10-10 22:25:52 +11:00
Danielle McLean
55a8775570 Set nofileignorecase when running tests 2023-10-10 22:25:18 +11:00
Danielle McLean
df71259406 Add a workaround for vim-ledger in tests/filetypes.vim 2023-10-10 22:24:34 +11:00
Danielle McLean
4d25ca6d81 Display caught exceptions in tests/filetypes.vim 2023-10-10 22:24:14 +11:00
Danielle McLean
e58c5db4e6 Don't expect file.rkt to be ft=scheme, since in newer Vims it's ft=racket 2023-10-10 22:23:17 +11:00
Danielle McLean
0c238d2206 Dedupe nroff key in tests/native.vim 2023-10-10 22:22:41 +11:00
Danielle McLean
56b56c9907 Update packages.yaml to account for upstream changes 2023-10-10 12:20:20 +11:00
Danielle McLean
e813ced93e Avoid non-existent File.exists? method in scripts/build 2023-10-10 12:19:37 +11:00
Adam Stankiewicz
bc8a81d359 Update 2022-10-14 17:40:10 +02:00
Adam Stankiewicz
38282d5838 Update 2022-04-30 15:07:33 +02:00
ptzz
36a2bf60ad Rename TestFiletypeFuncs to avoid name collision (#796)
Fixes #783.
2022-04-27 10:51:23 +02:00
Adam Stankiewicz
db7bb8ba22 Update 2022-04-18 12:08:27 +02:00
Adam Stankiewicz
aae85fe8c2 Merge branch 'master' of https://github.com/sheerun/vim-polyglot 2022-04-18 12:08:03 +02:00
Carl Smedstad
55eed00f71 Add support for Microsoft's DSL Bicep (#776)
See: https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/overview
2022-04-18 12:05:30 +02:00
nyuszika7h
db3a87a50b Fix files being misdetected as shell scripts (#787)
Closes #784.
2022-04-18 12:04:32 +02:00
Josa Gesell
8bb9203790 Add missing filetypes for go.sum and go.work (#789)
* Add filetype for go.sum

* Add filetype for go.work
2022-04-18 12:04:09 +02:00
Michael Meyer
32d08013a6 Fix doubled comma in autocmd (#791)
The doubled comma (,,) in the list of autocmd patterns introduces a
blank pattern which matches all filenames in the most recent version of
neovim, causing the default filetype to be sh unless another rule
overrides it.
2022-04-18 12:03:43 +02:00
Olaf Alders
0e1b191209 Check if TestFiletypeFuncs exists before defining it (#788)
Fixes #783
2022-04-18 12:03:02 +02:00
Adam Stankiewicz
a4f98d2a9e Update 2022-03-12 15:46:18 +01:00
Adam Stankiewicz
83422e0a1f Use old version of vim repository, fixes #779
closes #780
2022-02-21 00:07:11 +01:00
Adam Stankiewicz
b77c5f1107 Update 2022-02-17 04:31:45 +01:00
Adam Stankiewicz
2c5af8f89d Update README.md 2022-01-23 22:38:54 +01:00
Adam Stankiewicz
3a1fd1b41e Update README.md 2022-01-23 22:37:28 +01:00
Adam Stankiewicz
b1704aba87 Update README.md 2022-01-23 22:36:51 +01:00
Adam Stankiewicz
040e90bd02 Update README.md 2022-01-23 22:36:22 +01:00
Adam Stankiewicz
c96947b1c6 Update 2022-01-01 18:34:50 +01:00
Agorgianitis Loukas
f621f6c1ee Add heuristic for fragment shader files (#737)
Another step towards solving #570
2022-01-01 18:33:32 +01:00
Adam Stankiewicz
cb80947143 Reintroduce zinit, closes #772 2021-12-21 14:51:15 +01:00
Adam Stankiewicz
87a26c5bf1 Update 2021-12-21 14:41:23 +01:00
NariyasuHeseri
918610d427 Put shebang detection function in s: instead of b: (#746)
Fixes #743
2021-11-22 00:54:40 +01:00
John Karahalis
4d4aa5fe55 Update README to clarify broader Docker support (#745)
The ekalinin/Dockerfile.vim plugin supports not only docker-compose
files, but also Dockerfile files. Therefore, I think it is more accurate
to say that vim-polyglot supports Docker in general.
2021-09-10 13:52:11 +02:00
Adam Stankiewicz
b147123070 Ensure some files are compied from each package 2021-09-09 12:42:18 +02:00
Adam Stankiewicz
7f98e949d4 Update 2021-09-09 12:05:33 +02:00
Adam Stankiewicz
ce31cd1d2f Update 2021-07-28 17:54:35 +02:00
Adam Stankiewicz
554a6ac757 Remove java syntax, fixes #723 2021-07-08 12:10:14 +02:00
Adam Stankiewicz
c794f186c0 Update 2021-07-08 11:54:15 +02:00
Adam Stankiewicz
4f5388350b Update 2021-06-27 10:07:29 +02:00
Adam Stankiewicz
4899585281 Add org mode, close #706 2021-06-09 21:37:56 +02:00
Adam Stankiewicz
4f997c5c82 Update 2021-06-09 21:22:48 +02:00
Marcos Ferreira
c6f9e5b211 Add mermaid (#721)
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
2021-06-09 21:21:38 +02:00
Keito
3e71cdad56 Fixed typo in README.md (#719) 2021-06-09 21:13:18 +02:00
Adam Stankiewicz
c4e50b4e9d Update 2021-06-09 21:11:58 +02:00
rYR79435
839447bbf5 Replace i3 and sway with a single repo, fixes #709 (#716)
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
2021-06-09 21:10:58 +02:00
Noah
85a1c3d2d8 Add justfile support (#713)
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
2021-06-09 21:06:05 +02:00