CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 03:10:13 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/"68d18833ad2348e6fb3684e3fff83448"
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=98XwzZKV9gnlXmXBQbkZxeyMScolNuNugsozWi5nRFYYoWLZ%2BhdfYAgXPVsZCkFL6RymDvuWz8Bd8mDrHYOFqn3Lm0ZWHhTJymaSh36bX1LT%2B36akdxL0R3HYzFlE66VFD6m6g%2FG%2BV%2BgdE0pYQKdfZmlB7GsthWZ490YfbE3N%2BSxRbhq2Dl72jqdVHDi2krBPpK49Xy%2FrE7EoDTKXF6LT6pEIdZTwcCd1iJEn9Z9ldb2EpreotuxxBPkw%2FvIZJPoSzkTBiPL24Q9Nvsqyje9Tw%3D%3D--cN9%2BFF9s4Sbqkf9J--1fgpqUcYWljdZlx1qy1hJQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.256452193.1753758612; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 03:10:12 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 29 Jul 2026 03:10:12 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BA28:2896DD:20E518:305131:68883B94
fix(:source, nvim_exec): handle Vimscript line continuations #14809 · neovim/neovim@6188926 · GitHub
Copy file name to clipboardExpand all lines: test/functional/api/vim_spec.lua
Copy file name to clipboardExpand all lines: test/functional/ex_cmds/source_spec.lua
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit 6188926
authored
fix(:source, nvim_exec): handle Vimscript line continuations #14809
Problem:
Anonymous :source (no args) and nvim_exec() don't support Vimscript line continuations.
Solution:
Factor out the concat logic into concat_continued_line() and a
CONCAT_CONTINUED_LINES macro for simple concatenations where lines are
fetched individually.
Closes #148071 parent 9edd175 commit 6188926Copy full SHA for 6188926
File tree
Expand file treeCollapse file tree
4 files changed
+168
-46
lines changedFilter options
- src/nvim
- test/functional
- api
- ex_cmds
Expand file treeCollapse file tree
4 files changed
+168
-46
lines changed+30-4Lines changed: 30 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1150 | 1150 |
| |
1151 | 1151 |
| |
1152 | 1152 |
| |
1153 |
| - | |
| 1153 | + | |
1154 | 1154 |
| |
1155 | 1155 |
| |
1156 |
| - | |
| 1156 | + | |
1157 | 1157 |
| |
1158 | 1158 |
| |
1159 | 1159 |
| |
1160 |
| - | |
1161 |
| - | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
1162 | 1176 |
| |
1163 | 1177 |
| |
1164 | 1178 |
| |
| |||
1304 | 1318 |
| |
1305 | 1319 |
| |
1306 | 1320 |
| |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
1307 | 1333 |
| |
1308 | 1334 |
| |
1309 | 1335 |
| |
|
+83-32Lines changed: 83 additions & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1829 | 1829 |
| |
1830 | 1830 |
| |
1831 | 1831 |
| |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
1832 | 1885 |
| |
1833 | 1886 |
| |
1834 | 1887 |
| |
| |||
1845 | 1898 |
| |
1846 | 1899 |
| |
1847 | 1900 |
| |
1848 |
| - | |
1849 |
| - | |
1850 |
| - | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
1851 | 1910 |
| |
1852 | 1911 |
| |
1853 | 1912 |
| |
| |||
1919 | 1978 |
| |
1920 | 1979 |
| |
1921 | 1980 |
| |
1922 |
| - | |
1923 |
| - | |
| 1981 | + | |
1924 | 1982 |
| |
1925 | 1983 |
| |
1926 |
| - | |
1927 |
| - | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1928 | 1998 |
| |
1929 |
| - | |
1930 |
| - | |
1931 |
| - | |
1932 |
| - | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
1933 | 2002 |
| |
1934 | 2003 |
| |
1935 | 2004 |
| |
| |||
2421 | 2490 |
| |
2422 | 2491 |
| |
2423 | 2492 |
| |
2424 |
| - | |
2425 |
| - | |
2426 |
| - | |
2427 |
| - | |
2428 |
| - | |
2429 |
| - | |
2430 |
| - | |
2431 |
| - | |
2432 |
| - | |
2433 |
| - | |
2434 |
| - | |
2435 |
| - | |
2436 |
| - | |
2437 |
| - | |
2438 |
| - | |
2439 |
| - | |
2440 |
| - | |
2441 |
| - | |
2442 |
| - | |
2443 |
| - | |
2444 |
| - | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
2445 | 2496 |
| |
2446 | 2497 |
| |
2447 | 2498 |
| |
|
test/functional/api/vim_spec.lua
Copy file name to clipboardExpand all lines: test/functional/api/vim_spec.lua+13Lines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
120 | 133 |
| |
121 | 134 |
| |
122 | 135 |
| |
|
test/functional/ex_cmds/source_spec.lua
Copy file name to clipboardExpand all lines: test/functional/ex_cmds/source_spec.lua+42-10Lines changed: 42 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
| 12 | + | |
11 | 13 |
| |
12 | 14 |
| |
13 | 15 |
| |
| |||
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
21 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
22 | 30 |
| |
23 | 31 |
| |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
24 | 36 |
| |
25 | 37 |
| |
26 | 38 |
| |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
31 | 47 |
| |
32 | 48 |
| |
33 | 49 |
| |
| |||
38 | 54 |
| |
39 | 55 |
| |
40 | 56 |
| |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
41 | 61 |
| |
42 | 62 |
| |
43 | 63 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
48 | 68 |
| |
49 | 69 |
| |
50 | 70 |
| |
| |||
67 | 87 |
| |
68 | 88 |
| |
69 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
70 | 93 |
| |
71 | 94 |
| |
72 | 95 |
| |
| 96 | + | |
73 | 97 |
| |
74 | 98 |
| |
75 |
| - | |
76 | 99 |
| |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
77 | 105 |
| |
78 | 106 |
| |
79 | 107 |
| |
| |||
84 | 112 |
| |
85 | 113 |
| |
86 | 114 |
| |
| 115 | + | |
| 116 | + | |
| 117 | + | |
87 | 118 |
| |
88 | 119 |
| |
89 | 120 |
| |
90 | 121 |
| |
91 | 122 |
| |
92 | 123 |
| |
| 124 | + | |
93 | 125 |
| |
94 | 126 |
| |
95 | 127 |
| |
|
You can’t perform that action at this time.
0 commit comments