CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 06:35:23 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/neovim/neovim.git
etag: W/"1829e60ebd68d3a7d733c6e0c17fc445"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=n2l%2FF3U6cUhf4RJZNOxSczURBXwpyoLVb%2FighmI9GR41W1QKsVOoI4NzUb5PONHUzDwzy80H4drh5nkYDW33Cu6woTjdLJ64SEygHwO7SZ1gshwL0fxX49KQ%2FwrHQJVfujboifD%2FbO6TmLOqs8M8IcNYelKkX5oxGLkJRCj9QWCdIoQw9rYzRPNwCqXm9%2BWRrWMNXhHDCKCkrs%2B3J4SzuyaxOTQRVjPuLumqY9BhC%2B0ZPw4%2Fon%2FliE7B4sVyE%2FNbTpoBOi7w8rMFrpIpwCYAiA%3D%3D--kYJwXtYmp%2Bwif2nR--9wzzUAoacRClR7C17nzx%2BQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.684250084.1753252523; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:35:23 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 06:35:23 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8E10:3644F0:531982:6B1D34:688082AB
fix(diagnostic): improve validation for list arguments (#16855) · neovim/neovim@838631e · GitHub
Copy file name to clipboardExpand all lines: runtime/lua/vim/diagnostic.lua
Copy file name to clipboardExpand all lines: test/functional/lua/diagnostic_spec.lua
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 838631e
authored
fix(diagnostic): improve validation for list arguments (#16855)
Function arguments that expect a list should explicitly use tbl_islist
rather than just checking for a table. This helps catch some simple
errors where a single table item is passed as an argument, which passes
validation (since it's a table), but causes other errors later on.1 parent 55c4393 commit 838631eCopy full SHA for 838631e
File tree
Expand file treeCollapse file tree
3 files changed
+45
-8
lines changedFilter options
- runtime/lua/vim
- test/functional/lua
Expand file treeCollapse file tree
3 files changed
+45
-8
lines changedruntime/lua/vim/diagnostic.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/diagnostic.lua+39-7Lines changed: 39 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
644 | 644 |
| |
645 | 645 |
| |
646 | 646 |
| |
647 |
| - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
648 | 652 |
| |
649 | 653 |
| |
650 | 654 |
| |
| |||
810 | 814 |
| |
811 | 815 |
| |
812 | 816 |
| |
813 |
| - | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
814 | 822 |
| |
815 | 823 |
| |
816 | 824 |
| |
| |||
873 | 881 |
| |
874 | 882 |
| |
875 | 883 |
| |
876 |
| - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
877 | 889 |
| |
878 | 890 |
| |
879 | 891 |
| |
| |||
921 | 933 |
| |
922 | 934 |
| |
923 | 935 |
| |
924 |
| - | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
925 | 941 |
| |
926 | 942 |
| |
927 | 943 |
| |
| |||
1081 | 1097 |
| |
1082 | 1098 |
| |
1083 | 1099 |
| |
1084 |
| - | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
1085 | 1105 |
| |
1086 | 1106 |
| |
1087 | 1107 |
| |
| |||
1526 | 1546 |
| |
1527 | 1547 |
| |
1528 | 1548 |
| |
1529 |
| - | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
1530 | 1556 |
| |
1531 | 1557 |
| |
1532 | 1558 |
| |
| |||
1557 | 1583 |
| |
1558 | 1584 |
| |
1559 | 1585 |
| |
1560 |
| - | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
1561 | 1593 |
| |
1562 | 1594 |
| |
1563 | 1595 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
592 | 592 |
| |
593 | 593 |
| |
594 | 594 |
| |
595 |
| - | |
| 595 | + | |
596 | 596 |
| |
597 | 597 |
| |
598 | 598 |
| |
|
test/functional/lua/diagnostic_spec.lua
Copy file name to clipboardExpand all lines: test/functional/lua/diagnostic_spec.lua+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1119 | 1119 |
| |
1120 | 1120 |
| |
1121 | 1121 |
| |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
1122 | 1127 |
| |
1123 | 1128 |
| |
1124 | 1129 |
| |
|
You can’t perform that action at this time.
0 commit comments