about summary refs log blame commit diff stats
path: root/arc/vimrc.vim
blob: d2a651463abc929863dcbbe205b4fc8f1e02b1e4 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                   
syntax sync minlines=999

function! HighlightMuInArc()
  set ft=mu
  syntax keyword muHack begin | highlight link muHack CommentedCode
  syntax match muHack "[()]" | highlight link muHack CommentedCode
endfunction
autocmd BufRead,BufNewFile *.mu call HighlightMuInArc()
) unveil() // Drop unveil from promises. err = unix.PledgePromises("stdio rpath") panicOnErr(err) grus() } func unveil() { paths := make(map[string]string) paths["/usr/share/dict"] = "r" paths["/usr/local/share/dict"] = "r" // Unveil user defined dictionaries. if len(os.Args) >= 3 { for _, dict := range os.Args[2:] { paths[dict] = "r" } } // This will not return error if the file doesn't exist. err := lynx.UnveilPaths(paths) panicOnErr(err) // Block further unveil calls. err = lynx.UnveilBlock() panicOnErr(err) }