CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 20:35:03 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/"7cac9bfb649d164e8b38ede68a382d23"
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=kUuI%2B2xaBJKgFg8QeE8xFDeLZwGMPF%2BzSp4YM7eL1ev0%2BpXwiy2HZUzsXl85ezrSrAnwy9miYnY4nOrzVRR5ZqasTSY2vFng2uo6T2aLj2wuMaq8cGqUg87P4nVfwhmRMNPn6VLHwAXw6h2TKHQKFNRzTpr9aDrvU3hfvPdbGKrPC2iS9Jgy1iR6cY1SzMdpzeah482%2Fm%2B0BTxqVag2tsZuLpsbRtwYjg1nspK8HLpm3bdlM%2BSzIzGB8efnlFlaDGlPh8CNDNBbcBHiDz4EOMA%3D%3D--GE%2BVf3agAhxG1LmK--DakvoyV0CtyRFBETKk%2BNOA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1651441688.1753734902; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 20:35:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 28 Jul 2026 20:35:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B860:2896DD:83DCC:B0C80:6887DEF6
feat(lua): allow passing handles to vim.b/w/t · neovim/neovim@6c5e7bd · GitHub
Copy file name to clipboardExpand all lines: test/functional/lua/vim_spec.lua
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 6c5e7bd
committed
feat(lua): allow passing handles to vim.b/w/t
vim.bo can target a specific buffer by indexing with a number, e.g:
`vim.bo[2].filetype` can get/set the filetype for buffer 2. This change
replicates that behaviour for the variable namespace.1 parent 064411e commit 6c5e7bdCopy full SHA for 6c5e7bd
File tree
Expand file treeCollapse file tree
3 files changed
+44
-8
lines changedFilter options
- runtime/doc
- src/nvim/lua
- test/functional/lua
Expand file treeCollapse file tree
3 files changed
+44
-8
lines changed+7-3Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
928 | 928 |
| |
929 | 929 |
| |
930 | 930 |
| |
| 931 | + | |
931 | 932 |
| |
932 | 933 |
| |
933 | 934 |
| |
934 | 935 |
| |
935 | 936 |
| |
936 | 937 |
| |
937 | 938 |
| |
938 |
| - | |
| 939 | + | |
| 940 | + | |
939 | 941 |
| |
940 | 942 |
| |
941 | 943 |
| |
942 |
| - | |
| 944 | + | |
| 945 | + | |
943 | 946 |
| |
944 | 947 |
| |
945 | 948 |
| |
946 |
| - | |
| 949 | + | |
| 950 | + | |
947 | 951 |
| |
948 | 952 |
| |
949 | 953 |
| |
|
+8-5Lines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
323 | 323 |
| |
324 | 324 |
| |
325 | 325 |
| |
326 |
| - | |
| 326 | + | |
327 | 327 |
| |
328 | 328 |
| |
329 | 329 |
| |
330 | 330 |
| |
331 | 331 |
| |
332 |
| - | |
| 332 | + | |
333 | 333 |
| |
334 | 334 |
| |
335 |
| - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
336 | 339 |
| |
337 | 340 |
| |
338 | 341 |
| |
339 | 342 |
| |
340 |
| - | |
341 |
| - | |
| 343 | + | |
| 344 | + | |
342 | 345 |
| |
343 | 346 |
| |
344 | 347 |
| |
|
test/functional/lua/vim_spec.lua
Copy file name to clipboardExpand all lines: test/functional/lua/vim_spec.lua+29Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
996 | 996 |
| |
997 | 997 |
| |
998 | 998 |
| |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
999 | 1002 |
| |
1000 | 1003 |
| |
1001 | 1004 |
| |
| |||
1005 | 1008 |
| |
1006 | 1009 |
| |
1007 | 1010 |
| |
| 1011 | + | |
| 1012 | + | |
1008 | 1013 |
| |
1009 | 1014 |
| |
1010 | 1015 |
| |
| 1016 | + | |
1011 | 1017 |
| |
1012 | 1018 |
| |
1013 | 1019 |
| |
| 1020 | + | |
1014 | 1021 |
| |
1015 | 1022 |
| |
1016 | 1023 |
| |
1017 | 1024 |
| |
1018 | 1025 |
| |
1019 | 1026 |
| |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
1020 | 1030 |
| |
1021 | 1031 |
| |
1022 | 1032 |
| |
| |||
1037 | 1047 |
| |
1038 | 1048 |
| |
1039 | 1049 |
| |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1040 | 1056 |
| |
1041 | 1057 |
| |
1042 | 1058 |
| |
| 1059 | + | |
1043 | 1060 |
| |
1044 | 1061 |
| |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
1045 | 1066 |
| |
1046 | 1067 |
| |
1047 | 1068 |
| |
| |||
1068 | 1089 |
| |
1069 | 1090 |
| |
1070 | 1091 |
| |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1071 | 1098 |
| |
1072 | 1099 |
| |
1073 | 1100 |
| |
| |||
1096 | 1123 |
| |
1097 | 1124 |
| |
1098 | 1125 |
| |
| 1126 | + | |
| 1127 | + | |
1099 | 1128 |
| |
1100 | 1129 |
| |
1101 | 1130 |
| |
|
You can’t perform that action at this time.
0 commit comments