diff options
Diffstat (limited to 'www/diffs')
-rw-r--r-- | www/diffs/sh-vim.diff | 13 | ||||
-rw-r--r-- | www/diffs/sh-vim.html | 44 |
2 files changed, 0 insertions, 57 deletions
diff --git a/www/diffs/sh-vim.diff b/www/diffs/sh-vim.diff deleted file mode 100644 index 9a53127..0000000 --- a/www/diffs/sh-vim.diff +++ /dev/null @@ -1,13 +0,0 @@ -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 '\%(^\)\@!\%(\\\\\)*\\.' nextgroup=shComment - " systems too, however, so the following syntax will flag $(..) as - " an Error under /bin/sh. By consensus of vimdev'ers! - if exists("b:is_kornshell") || exists("b:is_bash") || exists("b:is_posix") -- syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]\|$" skip='\\\\\|\\.' end=")" contains=@shCommandSubList -+ syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]\?" skip='\\\\\|\\.' end=")" contains=@shCommandSubList - syn region shArithmetic matchgroup=shArithRegion start="\$((" skip='\\\\\|\\.' end="))" contains=@shArithList - syn region shArithmetic matchgroup=shArithRegion start="\$\[" skip='\\\\\|\\.' end="\]" contains=@shArithList - syn match shSkipInitWS contained "^\s\+" 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'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 '\%(^\)\@!\%(\\\\\)*\\.' nextgroup=shComment - " systems too, however, so the following syntax will flag $(..) as - " an Error under /bin/sh. By consensus of vimdev'ers! - if exists("b:is_kornshell") || exists("b:is_bash") || exists("b:is_posix") -- syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]\|$" skip='\\\\\|\\.' end=")" contains=@shCommandSubList -+ syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]\?" skip='\\\\\|\\.' end=")" contains=@shCommandSubList - syn region shArithmetic matchgroup=shArithRegion start="\$((" skip='\\\\\|\\.' end="))" contains=@shArithList - syn region shArithmetic matchgroup=shArithRegion start="\$\[" skip='\\\\\|\\.' end="\]" contains=@shArithList - syn match shSkipInitWS contained "^\s\+" - </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> |