mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-05 08:58:44 +00:00
Alot of changes in vim files
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
function! s:DetectJS()
|
||||
if getline(1) =~# '^#!.*/bin/env\s\+node\>'
|
||||
setfiletype javascript
|
||||
endif
|
||||
endfunction
|
||||
autocmd BufNewFile,BufRead * call s:DetectJS()
|
||||
Reference in New Issue
Block a user