# HG changeset patch # User Steve Losh # Date 1654786648 14400 # Node ID 261bf48a80572196a0f034414e65d87ac685867b # Parent 81ca927a67f4ec3d8c3c6e4f6f86b535bb714592# Parent b5c968f8eaa2f92c9b4ccb4985da4cb53b46c486 Merge diff -r b5c968f8eaa2 -r 261bf48a8057 bin/backpackfor --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/backpackfor Thu Jun 09 10:57:28 2022 -0400 @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -euo pipefail + +cp ~/Dropbox/tasks/backpack-archive ~/Dropbox/tasks/backpack.txt +nvim ~/Dropbox/tasks/backpack.txt diff -r b5c968f8eaa2 -r 261bf48a8057 bin/packfor --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/packfor Thu Jun 09 10:57:28 2022 -0400 @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -euo pipefail + +cp ~/Dropbox/tasks/pack-archive ~/Dropbox/tasks/pack.txt +nvim ~/Dropbox/tasks/pack.txt diff -r b5c968f8eaa2 -r 261bf48a8057 fish/functions/packfor.fish --- a/fish/functions/packfor.fish Sun May 22 19:02:38 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -function packfor - cp ~/Dropbox/tasks/pack-archive ~/Dropbox/tasks/pack.txt -end diff -r b5c968f8eaa2 -r 261bf48a8057 gitconfig --- a/gitconfig Sun May 22 19:02:38 2022 -0400 +++ b/gitconfig Thu Jun 09 10:57:28 2022 -0400 @@ -89,6 +89,7 @@ fuom = "!sh -c 'git co $(git mainbranch) && git fo && git uo' -" fuum = "!sh -c 'git co $(git mainbranch) && git fu && git uu' -" rom = "!sh -c 'git fo && git rebase origin/$(git mainbranch)' -" + recon = rebase --continue addremove = !git add . && git add -u addrem = !git addremove diff -r b5c968f8eaa2 -r 261bf48a8057 lispwords --- a/lispwords Sun May 22 19:02:38 2022 -0400 +++ b/lispwords Thu Jun 09 10:57:28 2022 -0400 @@ -49,6 +49,9 @@ ; arrows (1 -> ->> -<> -<>> _) +; drakma +(1 http-request) + ; sketch (1 with-pen with-font) (2 defsketch) diff -r b5c968f8eaa2 -r 261bf48a8057 vim/ftdetect/martian.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/ftdetect/martian.vim Thu Jun 09 10:57:28 2022 -0400 @@ -0,0 +1,1 @@ +autocmd BufRead,BufNewFile *.mro set filetype=martian diff -r b5c968f8eaa2 -r 261bf48a8057 vim/syntax/martian.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/syntax/martian.vim Thu Jun 09 10:57:28 2022 -0400 @@ -0,0 +1,98 @@ +" Martian (MRO) Syntax +" Author: Matt Sooknah + +if exists("b:current_syntax") + finish +endif + +syn match include '^\s*@include' nextgroup=mroString skipwhite + +syn keyword filetype filetype nextgroup=parType skipwhite +syn keyword parameter in out nextgroup=parType skipwhite contained +syn keyword src src nextgroup=srctype skipwhite contained +syn keyword srctype py comp exe nextgroup=mroString contained skipwhite +syn keyword restype mem_gb vmem_gb threads special volatile nextgroup=assign contained skipwhite +syn keyword modifier local preflight volatile nextgroup=modifier,callTarg skipwhite contained +syn keyword boundMod local preflight volatile disabled nextgroup=assign contained skipwhite +syn keyword sweep sweep nextgroup=sweepArray contained + +syn keyword declaration pipeline stage nextgroup=pipeName skipwhite +syn keyword call call nextgroup=modifier,callTarg skipwhite +syn keyword return return nextgroup=callParams skipwhite contained + +syn keyword mroNull null contained +syn keyword mroBool true false contained + +syn keyword split split nextgroup=splitUsing,paramBlock skipwhite contained +syn keyword splitUsing using nextgroup=paramBlock skipwhite contained +syn keyword using using nextgroup=resParams skipwhite contained +syn keyword retain retain nextgroup=idList skipwhite contained +syn keyword callUsing using nextgroup=modBlock skipwhite contained +syn keyword as as nextgroup=callTarg skipwhite contained +syn keyword self self nextgroup=dot contained + +syn match dot '\.' nextgroup=parName contained +syn match mapSep ':' nextgroup=mroString,mroNull,mroBool,arrayLit,mapLit skipwhite contained +syn match assign '=' nextgroup=self,sweep,mroString,mroNumber,mroNull,mroBool,parName,arrayLit,mapLit skipwhite contained + +syn match assignment '_\?[A-Za-z][A-Za-z0-9_]*\s*=' contains=parName,assign contained skipwhite nextgroup=self,sweep,mroString,mroNumber,mroNull,mroBool,parName,arrayLit,mapLit +syn match parType '_\?[A-Za-z][.A-Za-z0-9_]*' nextgroup=arrayDim,parName skipwhite contained +syn match arrayDim '\[\]' nextgroup=arraydim,parName skipwhite contained +syn match parName '_\?[A-Za-z][A-Za-z0-9_]*' nextgroup=dot,mroString skipwhite contained +syn match pipeName '_\?[A-Za-z][A-Za-z0-9_]*' nextgroup=paramBlock contained +syn match callTarg '_\?[A-Za-z][A-Za-z0-9_]*' nextgroup=as,callParams skipwhite contained + +syn match commentLine '#.*$' + +syn match mroNumber '\v<\d+>' contained skipwhite nextgroup=mapSep +syn match mroNumber '\v<\d+\.\d+>' contained skipwhite nextgroup=mapSep + +syn region paramBlock start="(" end=")" fold transparent nextgroup=split,using,retain,callBlock skipwhite skipnl contained contains=parameter,src +syn region callParams start="(" end=")" fold transparent nextgroup=callUsing,retain skipwhite contained contains=assignment +syn region resParams start="(" end=")" fold transparent nextgroup=retain contained skipwhite skipnl contains=restype +syn region idList start="(" end=")" fold transparent contained contains=parName +syn region modBlock start="(" end=")" fold transparent contained contains=boundMod +syn region callBlock start="{" end="}" fold transparent contains=call,return contained skipwhite +syn region mroString start=/"/ skip=/\\"/ end=/"/ nextgroup=mapSep skipwhite contained +syn region arrayLit start='\[' end='\]' transparent contains=mroString,mroNumber,mroNull,mroBool,arrayLit,mapLit,parName contained +syn region sweepArray start='(' end=')' transparent contains=mroString,mroNumber,mroNull,mroBool,arrayLit,mapLit contained +syn region mapLit start="{" end="}" transparent contains=mroString,mroNumber contained + +let b:current_syntax = "mro" + +hi def link commentLine Comment + +hi def link include PreProcessor +hi def link filetype Statement +hi def link parameter Statement +hi def link src Statement +hi def link declaration Statement +hi def link return Statement +hi def link call Statement +hi def link modifier Statement +hi def link split Statement +hi def link splitUsing Statement +hi def link callUsing Statement +hi def link using Statement +hi def link as Keyword +hi def link restype Keyword +hi def link boundMod Keyword +hi def link self Keyword +hi def link sweep Keyword +hi def link using Statement +hi def link retain Statement + +hi def link parType Type +hi def link srcType Type + +hi def link pipeName Type +hi def link callTarg Type +hi def link parName Identifier + +hi def link dot Operator + +hi def link mroNumber Constant +hi def link mroString Constant +hi def link mroNull Constant +hi def link mroTrue Constant +hi def link mroFalse Constant diff -r b5c968f8eaa2 -r 261bf48a8057 vim/vimrc --- a/vim/vimrc Sun May 22 19:02:38 2022 -0400 +++ b/vim/vimrc Thu Jun 09 10:57:28 2022 -0400 @@ -1348,7 +1348,7 @@ augroup ft_git au! - au FileType gitcommit nnoremap j /On branch sjlf/l"zyt/gg0P + au FileType gitcommit nnoremap j /On branch sjlf/l"zyt/gg0P:nohl$a a augroup END " }}} @@ -1677,6 +1677,15 @@ augroup END " }}} +" Martian {{{ + +augroup ft_martian + au! + + au Filetype markdown inoremap +augroup END + +" }}} " Mercurial {{{ augroup ft_mercurial @@ -1856,7 +1865,7 @@ au FileType vim vnoremap S y:@" au FileType vim nnoremap S ^vg_y:execute @@:echo 'Sourced line.' - au FileType vim inoremap + au FileType vim inoremap augroup END " }}}