Dominique Pellé
077ade4f67
feat: recognize geojson extension as json filetype ( #12636 )
2023-08-09 17:36:40 +02:00
Max Gautier
b69b9d5e17
Add filetype detection for eyaml files ( #12659 )
...
https://github.com/voxpupuli/hiera-eyaml/ uses and produces the eyaml
format, which is simply yaml with some encrypted values.
It's convenient to edit the file without decrypting when not touching
encrypted values (or when you don't have access to the decryption key),
which is why vim should treat those files as yaml files.
2023-08-09 17:18:36 +02:00
ObserverOfTime
958e15bb1c
Highlight editorconfig properties with dashes ( #12691 )
...
Problem: editorconfig properties with dashes are not highlighted
Solution: update the property pattern to include dashes
2023-08-09 17:05:39 +02:00
Turiiya
2eb413f89b
detect filetype for *.vsh
and *.vv
files ( #12692 )
...
Co-authored-by: Turiiya <34311583+tobealive@users.noreply.github.com >
2023-08-09 17:04:59 +02:00
ObserverOfTime
44ff25d524
PyPA manifest files are not recognized ( #12707 )
...
Problem: PyPA manifest files are not recognized.
Solution: Add a pattern to match PyPA manifest files.
2023-08-09 16:52:33 +02:00
Anton Parkhomenko
7159ac7fec
Unison support ( #12715 )
2023-08-09 16:50:52 +02:00
Chris Vincent
8967f6c4b9
feat(heex): borrow matchit support from html ( #12717 )
...
* feat(heex): borrow matchit support from html
Makes % support behave the same in heex as in html. For example, quickly moving the cursor between opening and closing tags.
* Remove unnecessary line; define b:undo_ftplugin first
* Remove b:html_set_match_words
2023-08-09 16:49:44 +02:00
Gergő Sályi
a13eb2b147
Add WebGPU Shading Language (WGSL) filetype ( #12723 )
...
The current W3C Working Draft for the WebGPU Shading Language (WGSL) specifies
'text/wgsl' media type for WGSL modules with the '.wgsl' file extension:
https://www.w3.org/TR/WGSL/#text-wgsl-media-type
It has also been registered at the Internet Assigned Numbers Authority (IANA):
https://www.iana.org/assignments/media-types/text/wgsl
Neovim's nvim-lspconfig already associates wgsl language servers
with 'filetype wgsl':
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#wgsl_analyzer
However currenly setting 'filetype wgsl' for *.wgsl files by defalut in Neovim
is blocked by adding this filetype to the vim project first:
https://github.com/neovim/neovim/pull/23331
This commit adds this missing wgsl filetype.
2023-08-09 16:49:01 +02:00
Linda_pp
8f566fdb1e
update .wast files syntax highlighting ( #12741 )
2023-08-09 16:45:52 +02:00
ObserverOfTime
ad34abee25
patch 9.0.1678: blade files are not recognized
...
Problem: Blade files are not recognized.
Solution: Add a pattern for Blade files. (closes #12650 )
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-08-07 03:24:20 +09:00
THARAK HEGDE
4c0089d696
patch 9.0.1677: typo in syntax test input file
...
Problem: Typo in syntax test input file.
Solution: Fix the typo and the expected dump files. (THARAK HEGDE,
closes #12635 )
2023-07-09 02:38:28 +01:00
Bram Moolenaar
416bd916b4
patch 9.0.1674: help for builtin functions is not sorted properly
...
Problem: Help for builtin functions is not sorted properly.
Solution: Put err_teapot() help in the right position.
2023-07-07 23:19:18 +01:00
Bram Moolenaar
80adaa8ae8
patch 9.0.1673: cannot produce a status 418 or 503 message
...
Problem: Cannot produce a status 418 or 503 message.
Solution: Add err_teapot().
2023-07-07 18:57:40 +01:00
skywind3000
e7d9ca2b3b
patch 9.0.1671: Termdebug: error with more than 99 breakpoints
...
Problem: Termdebug: error with more than 99 breakpoints.
Solution: Use a different sign for breakpoint 100 and over. (closes #12589 ,
closes #12588 )
2023-06-28 23:27:28 +01:00
ObserverOfTime
0256d76a33
patch 9.0.1668: PEM files are not recognized
...
Problem: PEM files are not recognized.
Solution: Add patterns to match PEM files. (closes #12582 )
2023-06-26 22:05:37 +01:00
Christian Brabandt
c9a4a8ab28
patch 9.0.1663: Termdebug on MS-Windows: some file names are not recognized
...
Problem: Termdebug on MS-Windows: some file names are not recognized.
Solution: Do not always change \t and \n. (Christian Brabandt,
closes #12565 , closes #12560 , closes #12550 )
2023-06-24 20:02:25 +01:00
Son Luong Ngoc
b46e0f3263
patch 9.0.1661: BUCK files are not recognized
...
Problem: BUCK files are not recognized.
Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes #12564 )
2023-06-24 17:11:04 +01:00
Christian Brabandt
279de0cd1f
patch 9.0.1659: Termdebug: default highlight cleared if changing colorscheme
...
Problem: Termdebug: default highlight cleared when changing colorscheme.
Solution: Use a ColorScheme autocommand. (Christian Brabandt, closes #12566 ,
closes #12555 )
2023-06-24 14:20:36 +01:00
Bram Moolenaar
79186bee78
patch 9.0.1657: one more syntax test depends on the system
...
Problem: One more syntax test depends on the system.
Solution: Use "dash" instead of "sh".
2023-06-24 01:35:51 +01:00
Bram Moolenaar
7d0dbd0070
patch 9.0.1656: syntax test fails when detected shell type differs
...
Problem: Syntax test fails when detected shell type differs.
Solution: Avoid using "/bin/sh", it depends on the system. Add a check that
the shell type detection is correct.
2023-06-24 00:56:50 +01:00
Bram Moolenaar
2f43ec9363
patch 9.0.1655: syntax test fails when Vim window is not tall enough
...
Problem: Syntax test fails when Vim window is not tall enough.
Solution: Make sure each terminal window is closed.
2023-06-23 22:59:26 +01:00
Christian Brabandt
b8b1c8ebd4
patch 9.0.1653: Amiga: default 'viewdir' may not work
...
Problem: Amiga: default 'viewdir' may not work.
Solution: Use "home:" instead of "$VIM". Add a test. (Christian Brabandt,
closes #12576 )
2023-06-23 22:23:01 +01:00
Bram Moolenaar
bd32e8ad8d
patch 9.0.1652: unclear why syntax test fails on Mac
...
Problem: Unclear why syntax test fails on Mac.
Solution: Echo v:errors when it's not empty.
2023-06-23 21:36:31 +01:00
Bram Moolenaar
10c1dbc06a
patch 9.0.1651: unclear why syntax test fails on Mac
...
Problem: Unclear why syntax test fails on Mac.
Solution: Temporarily show the whole "messages" file.
2023-06-23 19:37:19 +01:00
Bram Moolenaar
801961d2c2
patch 9.0.1650: MS-Windows: default 'viewdir' may include read-only directory
...
Problem: MS-Windows: default 'viewdir' may include read-only directory.
Solution: Use $HOME instead of $VIM for 'viewdir' default. (closes #12119 )
2023-06-23 16:15:13 +01:00
Bram Moolenaar
c6530c9d68
patch 9.0.1649: syntax test failure causes script to abort
...
Problem: Syntax test failure causes script to abort.
Solution: Fix appending string to list.
2023-06-22 23:04:11 +01:00
Bram Moolenaar
031d632188
patch 9.0.1648: result of syntax tests is hard to see
...
Problem: Result of syntax tests is hard to see.
Solution: List the failed tests.
2023-06-22 22:38:54 +01:00
Bram Moolenaar
1aa5f1c21f
patch 9.0.1647: insufficient testing for syntax plugins
...
Problem: Insufficient testing for syntax plugins.
Solution: Add shell file examples. (Charles Campbell) Create a messages
file for easier debugging and reporting the test results.
2023-06-22 21:57:51 +01:00
=?UTF-8?q?Dominique=20Pell=C3=A9?=
2b994da57a
patch 9.0.1645: zserio files are not recognized
...
Problem: zserio files are not recognized.
Solution: Add a pattern for zserio files. (Dominique Pellé,
closes #12544 )
2023-06-22 14:36:39 +01:00
Bram Moolenaar
c12e4eecbb
patch 9.0.1643: filetype detection fails if file name ends in many '~'
...
Problem: Filetype detection fails if file name ends in many '~'.
Solution: Strip multiple '~' at the same time. (closes #12553 )
2023-06-22 12:18:57 +01:00
Marcin Szamotulski
166cd7b801
patch 9.0.1632: not all cabal config files are recognized
...
Problem: Not all cabal config files are recognized.
Solution: Add a couple of patterns. (Marcin Szamotulski, closes #12463 )
2023-06-14 19:45:43 +01:00
Yegappan Lakshmanan
95707037af
patch 9.0.1629: having utf16idx() rounding up is inconvenient
...
Problem: Having utf16idx() rounding up is inconvenient.
Solution: Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523 )
2023-06-14 13:10:15 +01:00
K.Takata
d5b952a871
patch 9.0.1628: syntax tests fail on FreeBSD
...
Problem: Syntax tests fail on FreeBSD.
Solution: Pass the Vim executable path with VIMPROG. (Ken Takata,
closes #12535 ) Adjust the paths.
2023-06-13 22:44:57 +01:00
Bram Moolenaar
46acad7284
patch 9.0.1627: no generic mechanism to test syntax plugins
...
Problem: No generic mechanism to test syntax plugins.
Solution: Add a syntax plugin test mechanism, using screendumps. Add a
simple test for "c".
2023-06-11 19:04:18 +01:00
Bram Moolenaar
10e8ff9b26
Update runtime files
2023-06-10 21:40:39 +01:00
Bram Moolenaar
f07d1a7108
patch 9.0.1623: the program to filetype translation is not exported
...
Problem: The program to filetype translation is not exported.
Solution: Export Exe2filetype().
2023-06-09 21:01:47 +01:00
Christoph Sax
740df76c90
patch 9.0.1622: filetype name t32 is a bit obscure
...
Problem: Filetype name t32 is a bit obscure.
Solution: Rename t32 to trace32. (Christoph Sax, closes #12512 )
2023-06-09 19:20:04 +01:00
Bram Moolenaar
19548c6a74
patch 9.0.1620: Nix files are not recognized from the hashbang line
...
Problem: Nix files are not recognized from the hashbang line.
Solution: Add a hashbang check. (issue #12507 )
2023-06-08 21:27:13 +01:00
Christoph Sax
7fbcee6f92
patch 9.0.1618: Trace32 files are not recognized
...
Problem: Trace32 files are not recognized.
Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505 )
2023-06-08 17:57:19 +01:00
Yegappan Lakshmanan
577922b917
patch 9.0.1617: charidx() result is not consistent with byteidx()
...
Problem: charidx() and utf16idx() result is not consistent with byteidx().
Solution: When the index is equal to the length of the text return the
lenght of the text instead of -1. (Yegappan Lakshmanan,
closes #12503 )
2023-06-08 17:09:45 +01:00
ObserverOfTime
cdb7b4c508
patch 9.0.1615: URL shortcut files are not recognized
...
Problem: URL shortcut files are not recognized.
Solution: Add a pattern for URL shortcut files. (closes #12474 )
2023-06-07 18:27:01 +01:00
zeertzjq
664fd12aa2
patch 9.0.1601: filetype detection fails for *.conf file without comments
...
Problem: Filetype detection fails for *.conf file without comments.
(Dmitrii Tcyganok)
Solution: Use "conf" filetype as a fallback for an empty .conf file.
(closes #12487 , closes #12483 )
2023-06-03 17:56:30 +01:00
RestorerZ
68ebcee023
patch 9.0.1594: some internal error messages are translated
...
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459 )
2023-05-31 17:12:14 +01:00
Omar El Halabi
c9fbd2560f
patch 9.0.1591: some "gomod" files are not recognized
...
Problem: Some "gomod" files are not recognized.
Solution: Check for "go.mod" file name before checking out the contents.
(Omar El Halabi, closes #12462 )
2023-05-29 19:59:45 +01:00
Jake Stanger
05843e8960
patch 9.0.1587: Corn config files are not recognized
...
Problem: Corn config files are not recognized.
Solution: Add a pattern for Corn config files. (Jake Stanger, closes #12449 )
2023-05-28 22:11:21 +01:00
Bram Moolenaar
1ba0b9e36f
patch 9.0.1584: not all meson files are recognized
...
Problem: Not all meson files are recognized.
Solution: Add "meson.options". (Liam Beguin, closes #12444 )
2023-05-27 19:01:52 +01:00
ichizok
9f3afe7a70
patch 9.0.1580: CI: indent test hangs on FreeBSD
...
Problem: CI: indent test hangs on FreeBSD.
Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi,
closes #12446 )
2023-05-26 14:40:45 +01:00
Bram Moolenaar
097c5370ea
patch 9.0.1576: users may not know what to do with an internal error
...
Problem: Users may not know what to do with an internal error.
Solution: Add a translated message with instructions.
2023-05-24 21:02:24 +01:00
Bram Moolenaar
6fadbc1e8c
patch 9.0.1565: json lines files are not recognized
...
Problem: Json lines files are not recognized.
Solution: Add a pattern to detect "jsonl" files. (issue #7520 )
2023-05-18 16:42:17 +01:00
Bram Moolenaar
9d383f30bb
patch 9.0.1557: test failures for unreachable code
...
Problem: Test failures for unreachable code.
Solution: Add a test override to ignore unreachable code.
2023-05-14 21:38:12 +01:00