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
e813ced93e
Avoid non-existent File.exists? method in scripts/build
2023-10-10 12:19:37 +11:00
ptzz
36a2bf60ad
Rename TestFiletypeFuncs to avoid name collision ( #796 )
...
Fixes #783 .
2022-04-27 10:51:23 +02:00
Adam Stankiewicz
83422e0a1f
Use old version of vim repository, fixes #779
...
closes #780
2022-02-21 00:07:11 +01:00
Adam Stankiewicz
b147123070
Ensure some files are compied from each package
2021-09-09 12:42:18 +02:00
Adam Stankiewicz
f05dea8dd7
Disable languages also from heuristics, fixes #673
2021-06-09 14:23:57 +02:00
Adam Stankiewicz
643a6d0a13
De-duplicate runtime heuristic autocommands
2021-06-09 12:30:30 +02:00
Adam Stankiewicz
05b8bbc938
Fix loading for vim 8 packages, closes #613
2021-01-01 22:30:41 +01:00
Adam Stankiewicz
f3b646fd6f
Move tex to after, closes #650
2021-01-01 17:26:26 +01:00
Adam Stankiewicz
2fcb15afa0
Add terraform to list of packages, fixes #625
2020-12-30 00:05:20 +01:00
Adam Stankiewicz
1150adc4db
Fix detecting conf filetype, closes #641
2020-12-29 23:40:05 +01:00
Adam Stankiewicz
2838800832
Fix conditions, #608
2020-10-25 21:08:27 +01:00
Adam Stankiewicz
45a7512dea
Preserve loading order of plugins, fixes #608
2020-10-25 20:33:44 +01:00
Adam Stankiewicz
cbde2571d4
Respect symlinks for resolving vim-polyglot as fallback, closes #605
2020-10-25 03:19:58 +01:00
Adam Stankiewicz
d73c4d1562
Fix recursive loading, closes #605
2020-10-24 23:50:54 +02:00
Adam Stankiewicz
8e61708b45
Use vim-polyglot only as fallback to other plugins, fixes #580
2020-10-24 18:52:18 +02:00
Adam Stankiewicz
7324528984
Fix detecting shell filetypes, closes #603
2020-10-24 16:34:29 +02:00
Adam Stankiewicz
50a9a7345f
Update
2020-10-23 01:13:09 +02:00
Adam Stankiewicz
5e2607d93f
Remove docs so docs of installed plugins are up to date
2020-10-19 02:55:37 +02:00
Adam Stankiewicz
c3e825027d
Allow vim-polyglot to load in non-compatible mode
2020-10-19 02:25:59 +02:00
Adam Stankiewicz
bb27d0efbf
Add regression test
2020-10-18 13:34:01 +02:00
Adam Stankiewicz
518d733369
Make sure custom scripts.vim are respected as well
2020-10-17 17:40:10 +02:00
Adam Stankiewicz
8f9e5ac70b
Add extensions to the readme
2020-10-16 14:08:54 +02:00
Adam Stankiewicz
23d7b0931d
Use language names instead of filetype names
2020-10-16 13:49:57 +02:00
Adam Stankiewicz
3ee6ab9d13
Update
2020-10-16 13:41:54 +02:00
Adam Stankiewicz
cd919c0039
Mention filetypes in the readme
2020-10-16 13:40:50 +02:00
Adam Stankiewicz
3ac0dd5a80
Alaways use native vim syntax, fixes #582
2020-10-14 23:47:17 +02:00
Adam Stankiewicz
bbee246aae
Add and fix tests from upstream vim
2020-10-14 23:01:53 +02:00
Adam Stankiewicz
3da600ac30
Relax previous commit a bit
2020-10-09 23:00:41 +02:00
Adam Stankiewicz
0d48ba9245
Fix detecting of some filetypes, closes #579
2020-10-09 22:57:13 +02:00
Adam Stankiewicz
1993b9f68f
Fix encoding of vim files
2020-10-08 08:31:09 +02:00
Adam Stankiewicz
4bec20ec1a
Fix test and loading of filetypes, closes #577
2020-10-07 21:51:30 +02:00
Adam Stankiewicz
a96c420e14
Simplify list of packages
2020-10-06 19:00:11 +02:00
Adam Stankiewicz
bc9757916e
Add all vim filetypes
2020-10-06 18:54:19 +02:00
Adam Stankiewicz
b4868c7ea7
Add comments for some extensions + test
2020-10-04 21:17:06 +02:00
Adam Stankiewicz
d221139bd7
Address BufWritePost error, fixes #573
2020-10-04 19:00:16 +02:00
Adam Stankiewicz
94ec9c38e7
Do not use ++once to support older vims, fixes #7056
2020-10-02 03:42:03 +02:00
Adam Stankiewicz
560024abe0
Resolve issues with loading order, closes #571
2020-10-02 00:36:09 +02:00
Adam Stankiewicz
449bb88248
Make loading faster for ambiguous extensions without heuristics
2020-09-30 01:40:34 +02:00
Adam Stankiewicz
a37e7e2939
Reduce startup time by avoiding calling slow au!
2020-09-30 01:22:44 +02:00
Adam Stankiewicz
c1aac2e279
Deduplicate polyglot files
2020-09-29 23:36:28 +02:00
Adam Stankiewicz
543e8c917b
Modularize lazy loading of polyglot parts
2020-09-29 21:48:38 +02:00
Adam Stankiewicz
2f133372bc
Make loading faster for ambiguous extensions
2020-09-29 19:51:43 +02:00
Adam Stankiewicz
1872af2d5e
Fix detection of conf files, closes #569
2020-09-29 19:11:11 +02:00
Adam Stankiewicz
63f43f3b01
Make ftdetect even shorter
2020-09-28 19:35:09 +02:00
Adam Stankiewicz
046a052f18
Make generated file bit shorter
2020-09-28 19:13:59 +02:00