1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-04 20:43:23 -07:00

kuroko stuff for vim

This commit is contained in:
Connor Olding 2022-01-08 21:13:21 -08:00
parent 032567cce0
commit 6ff5afb9dc

View File

@ -183,6 +183,7 @@ fu! DetectShebang()
if p ==# 'bash' | setlocal ft=bash | endif if p ==# 'bash' | setlocal ft=bash | endif
if p ==# 'dash' | setlocal ft=bash | endif if p ==# 'dash' | setlocal ft=bash | endif
if p ==# 'false' | setlocal ft=bash | endif if p ==# 'false' | setlocal ft=bash | endif
if p ==# 'kuroko' | setlocal ft=python | endif
if p ==# 'lua' | setlocal ft=lua | endif if p ==# 'lua' | setlocal ft=lua | endif
if p ==# 'perl' | setlocal ft=perl | endif if p ==# 'perl' | setlocal ft=perl | endif
if p ==# 'perl6' | setlocal ft=raku | endif if p ==# 'perl6' | setlocal ft=raku | endif
@ -198,20 +199,21 @@ endf
if has('autocmd') if has('autocmd')
augroup tabs augroup tabs
au! au!
au BufRead,BufNewFile PKGBUILD call TabTwo() au BufRead,BufNewFile PKGBUILD call TabTwo()
au FileType ruby call TabTwo() au FileType ruby call TabTwo()
au FileType nim call TabTwo() au FileType nim call TabTwo()
au BufRead,BufNewFile *.bt,*.1sc call TabFour() au BufRead,BufNewFile *.bt,*.1sc call TabFour()
au BufRead,BufNewFile *.ys call TabTwo() au BufRead,BufNewFile *.ys call TabTwo()
au FileType javascript,processing call TabTwo() au FileType javascript,processing call TabTwo()
au BufRead,BufNewFile .gitconfig call TabEight() au BufRead,BufNewFile .gitconfig call TabEight()
augroup END augroup END
augroup filetypes augroup filetypes
au! au!
au BufRead,BufNewFile *.lib setlocal ft=spice au BufRead,BufNewFile *.lib setlocal ft=spice
au BufRead,BufNewFile *.bt setlocal ft=c au BufRead,BufNewFile *.bt setlocal ft=c
au BufRead,BufNewFile *.1sc setlocal ft=c au BufRead,BufNewFile *.1sc setlocal ft=c
au BufRead,BufNewFile *.krk setlocal ft=python
au BufRead,BufNewFile *.asm setlocal ft=lips au BufRead,BufNewFile *.asm setlocal ft=lips
au BufRead,BufNewFile *.nim setlocal ft=nim au BufRead,BufNewFile *.nim setlocal ft=nim
au BufRead,BufNewFile *.pde setlocal ft=processing au BufRead,BufNewFile *.pde setlocal ft=processing