- Add nvim Sage syntax highligting - Update installer node for v16 - Update i3 config to restart status bar to avoid problems when extending screens to hdmi
@ -29,3 +29,6 @@ if len(sys.argv)>2:
# xrandr --output HDMI-2 --mode 3840x2160
subprocess.run(["xrandr", "--output", d[1], "--mode", "3840x2160"])
# restart i3 status bar to avoid being frozen
subprocess.run(["i3-msg", "restart"])
@ -179,6 +179,11 @@ let g:rainbow_active = 1
au BufRead,BufNewFile *.circom set filetype=circom
au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit
"" sage syntax
augroup filetypedetect
au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python
augroup END
" for file watching
set backupcopy=yes
@ -51,8 +51,8 @@ wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz
# nodejs
echo "installing nodejs v14"
curl -sL https://deb.nodesource.com/setup_14.x | bash -
echo "installing nodejs v16"
curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs
echo "installing npm http-server"