From 2b39175011422a0d8f96d7f598f46e2a781dd28f Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Thu, 29 Feb 2024 09:31:15 -0500 Subject: 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 --- www/diffs/sh-vim.diff | 13 ------------- www/diffs/sh-vim.html | 44 -------------------------------------------- 2 files changed, 57 deletions(-) delete mode 100644 www/diffs/sh-vim.diff delete mode 100644 www/diffs/sh-vim.html (limited to 'www/diffs') 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 @@ - - - - - senders - diffs - - -
-

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 :)

-
-
- Download: sh-vim.diff -
-
-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\+"
-    
-
- Vim Dev Mailing List Thread - - Archive (Google Groups) -
- - -- cgit v1.2.3-54-g00ecf