summaryrefslogtreecommitdiff
path: root/www/diffs/sh-vim.html
diff options
context:
space:
mode:
authorSteph Enders <steph@senders.io>2024-02-29 09:31:15 -0500
committerSteph Enders <steph@senders.io>2024-02-29 09:31:15 -0500
commit2b39175011422a0d8f96d7f598f46e2a781dd28f (patch)
treedd896a1e35e2ec194bfce829afd61f553652464a /www/diffs/sh-vim.html
parent350a5058cf383733a7e75f753abdcd1cb7aae2c5 (diff)
Initial rework commit: Build Script POC and CSS done
I've created the main CSS layout and a proof of concept for the build script: this will actually build any "done" _post/ file and generate it as a workable HTML file. However, no index file generate, rss, or gemini is implemented
Diffstat (limited to 'www/diffs/sh-vim.html')
-rw-r--r--www/diffs/sh-vim.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/www/diffs/sh-vim.html b/www/diffs/sh-vim.html
deleted file mode 100644
index 713b481..0000000
--- a/www/diffs/sh-vim.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta name="generator"
- content="HTML Tidy for HTML5 for Linux version 5.7.45">
- <title>senders - diffs</title>
-</head>
-<body>
- <div>
- <p>There is an outstanding issue in Vim&#39;s shell syntax file. A patch
- was made that broke syntax that used almost any changes. I originally made
- my own patch that worked for the most part, but in heavily neasted commands
- it broke down. In the mailing list the following change was proposed. I am
- supplying this diff for my own sanity so when my syntax file gets reset and
- is still broken I can apply the diff :)</p>
- </div>
- <div>
- Download: <a href="/diffs/sh-vim.diff"
- target="_blank"
- rel="noopener">sh-vim.diff</a>
- </div>
- <pre>
-diff --git a/runtime/syntax/sh.vim b/runtime/syntax/sh.vim
-index 13d74dbc1..42151f41b 100644
---- a/runtime/syntax/sh.vim
-+++ b/runtime/syntax/sh.vim
-@@ -335,7 +335,7 @@ syn match shEscape contained &#39;\%(^\)\@!\%(\\\\\)*\\.&#39; nextgroup=shComment
- &quot; systems too, however, so the following syntax will flag $(..) as
- &quot; an Error under /bin/sh. By consensus of vimdev&#39;ers!
- if exists(&quot;b:is_kornshell&quot;) || exists(&quot;b:is_bash&quot;) || exists(&quot;b:is_posix&quot;)
-- syn region shCommandSub matchgroup=shCmdSubRegion start=&quot;\$(\ze[^(]\|$&quot; skip=&#39;\\\\\|\\.&#39; end=&quot;)&quot; contains=@shCommandSubList
-+ syn region shCommandSub matchgroup=shCmdSubRegion start=&quot;\$(\ze[^(]\?&quot; skip=&#39;\\\\\|\\.&#39; end=&quot;)&quot; contains=@shCommandSubList
- syn region shArithmetic matchgroup=shArithRegion start=&quot;\$((&quot; skip=&#39;\\\\\|\\.&#39; end=&quot;))&quot; contains=@shArithList
- syn region shArithmetic matchgroup=shArithRegion start=&quot;\$\[&quot; skip=&#39;\\\\\|\\.&#39; end=&quot;\]&quot; contains=@shArithList
- syn match shSkipInitWS contained &quot;^\s\+&quot;
- </pre>
- <div>
- <a href="https://groups.google.com/g/vim_dev/c/lOwoC5cHKDM"
- target="_blank"
- rel="noopener noreferrer external">Vim Dev Mailing List Thread -
- Archive (Google Groups)</a>
- </div>
-</body>
-</html>