From 4e70e2bac0d6eead8508b4625cfb8967771bd5f2 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Mon, 2 Sep 2024 08:42:34 -0500 Subject: nvim vimscript to lua --- nvim/syntax/tssg.vim | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 nvim/syntax/tssg.vim (limited to 'nvim/syntax/tssg.vim') diff --git a/nvim/syntax/tssg.vim b/nvim/syntax/tssg.vim deleted file mode 100644 index 3e17bf3..0000000 --- a/nvim/syntax/tssg.vim +++ /dev/null @@ -1,46 +0,0 @@ -" Vim syntax file -" Language: Timmy Static Site Generator Markdown Language -" Maintainer: tjk@tjkeller.xyz -" Latest Revision: 27 October 2021 - -if exists("b:current_syntax") - finish -endif - -" Keywords -syn keyword subCommands href= class= id= - -" Matches -syn match escaped '\\\\\\>' -syn match escaped '\\\#\>' -"syn match escaped '\\\{\+' -"syn match escaped '\\\}\+' -"syn match braces "\{\>\|\}\>" -syn match headerStartEnd "\\starthead\>\|\\endhead\>" -syn match headerElement "\\stylesheet\>\|\\tags\>\|\\title\>\|\\author\>" -syn match specialCommands "\\n\>\|\\code\>" -syn match headerCommands "\\h1\>\|\\h2\>\|\\h3\>\|\\h4\>\|\\h5\>\|\\h6\>" -syn match paragraphCommands "\\p\>" -syn match linkCommands "\\a\>\|\\img\>" -syn match listCommands "\\snl\>\|\\sul\>\|\\enl\>\|\\eul\>" -syn match listitemCommands "\\li\>" -syn match comments "\#.*\>" - -" Regions -" syn region - -" Hightlight Keywords -let b:current_syntax = "tssg" - -hi def link headerStartEnd Type -hi def link headerElement Type -hi def link specialCommands Statement -hi def link headerCommands Statement -hi def link paragraphCommands Statement -hi def link linkCommands Statement -hi def link listCommands Statement -hi def link listitemCommands Statement -hi def link subCommands Constant -hi def link escaped Constant -hi def link braces Statement -hi def link comments Comment -- cgit v1.2.3