~strahinja/dotfiles

9d4b2339ba807d953592236adb5f8c680e04c157 — Страхиња Радић 4 days ago c9aa082 master
bin/wttrcheck: New file; .vimrc, nvim/init.vim: Added automatic setting of .pas and .slw modes

Signed-off-by: Страхиња Радић <contact@strahinja.org>
3 files changed, 13 insertions(+), 2 deletions(-)

M .vimrc
A bin/wttrcheck
M nvim/init.vim
M .vimrc => .vimrc +3 -2
@@ 16,6 16,7 @@ set textwidth=80
"set colorcolumn=80
"set cursorline

au BufRead,BufNewFile *.pas set filetype=pascal
au BufRead,BufNewFile *.PAS set filetype=pascal
autocmd BufRead,BufNewFile *.pas set filetype=pascal
autocmd BufRead,BufNewFile *.PAS set filetype=pascal
autocmd BufRead,BufNewFile *.slw set filetype=markdown


A bin/wttrcheck => bin/wttrcheck +6 -0
@@ 0,0 1,6 @@
#!/bin/sh

CACHEFILE=$HOME/.cache/wttr.in

curl -s wttr.in/Belgrade?format="%c%t\n" > $CACHEFILE


M nvim/init.vim => nvim/init.vim +4 -0
@@ 657,3 657,7 @@ endfunction
autocmd! User GoyoEnter nested call <SID>goyo_enter()
autocmd! User GoyoLeave nested call <SID>goyo_leave()

autocmd BufRead,BufNewFile *.pas set filetype=pascal
autocmd BufRead,BufNewFile *.PAS set filetype=pascal
autocmd BufRead,BufNewFile *.slw set filetype=markdown