CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 20:40:15 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/"3594b5955b08bab97b4d5c00a0d09cae"
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=pfVmUErDkKK90m3LGo1OlWAd2ze2ctfgVyn24mWJjPcgO55uITB2fzq7KmLlv6seNC2%2BbE1O5bXsqBf815d7bzifEShzCTT%2Fzjm9D9sOtOXa5komCnpLNjd3CvmU4wdwXKifalLDYfD6grpx6aV39x4RdoyQpMh%2BF%2FCqbotPioPF%2BT4hPKdLg5%2Fnt4p%2BHr92072v5Yxsuy9DtXb7Ic6cla%2FtJ8tg4V%2BzmWic2PVSxNSYdZee%2Beas4PpNjA4FCngIUIQujslcDKnlDeLKxAYiPg%3D%3D--%2Fm%2FHgm6T3dawqNqM--XFGysJRtU5jVwgNQoUnKgg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.114007497.1753389614; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 20:40:14 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 20:40:14 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 88A6:8164F:5BCD8:7C1C2:68829A2E
fix(lsp): strictly enforce passing offset encoding (#17049) · neovim/neovim@bc722c8 · GitHub
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/buf.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/handlers.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/util.lua
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit bc722c8
authored
fix(lsp): strictly enforce passing offset encoding (#17049)
This removes the "fallback" to utf-16 in many of our helper functions. We
should always explicitly pass these around when possible except in two
locations:
* generating params with help utilities called by buf.lua functions
* the buf.lua functions themselves
Anything that is called by the handler should be passed the offset encoding.1 parent e7cd811 commit bc722c8Copy full SHA for bc722c8
File tree
Expand file treeCollapse file tree
4 files changed
+133
-65
lines changedFilter options
- runtime/lua/vim/lsp
- test/functional/plugin
Expand file treeCollapse file tree
4 files changed
+133
-65
lines changedruntime/lua/vim/lsp/buf.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/buf.lua+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
503 | 503 |
| |
504 | 504 |
| |
505 | 505 |
| |
506 |
| - | |
| 506 | + | |
507 | 507 |
| |
508 | 508 |
| |
509 | 509 |
| |
|
runtime/lua/vim/lsp/handlers.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/handlers.lua+33-8Lines changed: 33 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
| 114 | + | |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
| 118 | + | |
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
120 |
| - | |
| 122 | + | |
121 | 123 |
| |
122 | 124 |
| |
123 | 125 |
| |
| |||
159 | 161 |
| |
160 | 162 |
| |
161 | 163 |
| |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
162 | 186 |
| |
163 | 187 |
| |
164 | 188 |
| |
| |||
194 | 218 |
| |
195 | 219 |
| |
196 | 220 |
| |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 | 221 |
| |
201 | 222 |
| |
202 | 223 |
| |
| |||
277 | 298 |
| |
278 | 299 |
| |
279 | 300 |
| |
| 301 | + | |
280 | 302 |
| |
281 | 303 |
| |
282 | 304 |
| |
283 | 305 |
| |
284 | 306 |
| |
285 |
| - | |
| 307 | + | |
286 | 308 |
| |
287 | 309 |
| |
288 |
| - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
289 | 314 |
| |
290 | 315 |
| |
291 | 316 |
| |
292 |
| - | |
| 317 | + | |
293 | 318 |
| |
294 | 319 |
| |
295 | 320 |
| |
|
runtime/lua/vim/lsp/util.lua
Copy file name to clipboardExpand all lines: runtime/lua/vim/lsp/util.lua+43-19Lines changed: 43 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
280 |
| - | |
| 280 | + | |
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
| |||
360 | 360 |
| |
361 | 361 |
| |
362 | 362 |
| |
363 |
| - | |
| 363 | + | |
364 | 364 |
| |
365 | 365 |
| |
366 | 366 |
| |
367 | 367 |
| |
368 | 368 |
| |
369 |
| - | |
| 369 | + | |
370 | 370 |
| |
371 |
| - | |
372 | 371 |
| |
373 | 372 |
| |
374 | 373 |
| |
| |||
517 | 516 |
| |
518 | 517 |
| |
519 | 518 |
| |
520 |
| - | |
| 519 | + | |
521 | 520 |
| |
522 | 521 |
| |
| 522 | + | |
| 523 | + | |
| 524 | + | |
523 | 525 |
| |
524 | 526 |
| |
525 | 527 |
| |
| |||
538 | 540 |
| |
539 | 541 |
| |
540 | 542 |
| |
541 |
| - | |
| 543 | + | |
542 | 544 |
| |
543 | 545 |
| |
544 | 546 |
| |
| |||
737 | 739 |
| |
738 | 740 |
| |
739 | 741 |
| |
740 |
| - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
741 | 746 |
| |
742 | 747 |
| |
743 | 748 |
| |
| |||
753 | 758 |
| |
754 | 759 |
| |
755 | 760 |
| |
756 |
| - | |
| 761 | + | |
757 | 762 |
| |
758 | 763 |
| |
759 | 764 |
| |
| |||
984 | 989 |
| |
985 | 990 |
| |
986 | 991 |
| |
987 |
| - | |
| 992 | + | |
| 993 | + | |
988 | 994 |
| |
989 |
| - | |
| 995 | + | |
990 | 996 |
| |
991 | 997 |
| |
992 | 998 |
| |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
993 | 1002 |
| |
994 | 1003 |
| |
995 | 1004 |
| |
| |||
1004 | 1013 |
| |
1005 | 1014 |
| |
1006 | 1015 |
| |
1007 |
| - | |
| 1016 | + | |
1008 | 1017 |
| |
1009 | 1018 |
| |
1010 | 1019 |
| |
| |||
1513 | 1522 |
| |
1514 | 1523 |
| |
1515 | 1524 |
| |
1516 |
| - | |
| 1525 | + | |
1517 | 1526 |
| |
1518 | 1527 |
| |
1519 |
| - | |
1520 |
| - | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1521 | 1532 |
| |
1522 | 1533 |
| |
1523 | 1534 |
| |
| |||
1550 | 1561 |
| |
1551 | 1562 |
| |
1552 | 1563 |
| |
1553 |
| - | |
| 1564 | + | |
| 1565 | + | |
1554 | 1566 |
| |
1555 |
| - | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
1556 | 1572 |
| |
1557 | 1573 |
| |
1558 | 1574 |
| |
| |||
1592 | 1608 |
| |
1593 | 1609 |
| |
1594 | 1610 |
| |
1595 |
| - | |
| 1611 | + | |
1596 | 1612 |
| |
1597 | 1613 |
| |
1598 | 1614 |
| |
| |||
1776 | 1792 |
| |
1777 | 1793 |
| |
1778 | 1794 |
| |
1779 |
| - | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
1780 | 1802 |
| |
1781 | 1803 |
| |
1782 | 1804 |
| |
| |||
1905 | 1927 |
| |
1906 | 1928 |
| |
1907 | 1929 |
| |
1908 |
| - | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
1909 | 1933 |
| |
1910 | 1934 |
| |
1911 | 1935 |
| |
|
You can’t perform that action at this time.
0 commit comments