mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-20 00:36:09 +01:00
0.1.0 Initial Commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
autocmd BufNewFile,BufRead *.flow setfiletype flow
|
||||
@@ -0,0 +1,8 @@
|
||||
fun! s:SelectJavascript()
|
||||
if getline(1) =~# '^#!.*/bin/\%(env\s\+\)\?node\>'
|
||||
set ft=javascript
|
||||
endif
|
||||
endfun
|
||||
|
||||
autocmd BufNewFile,BufRead *.{js,mjs,cjs,jsm,es,es6},Jakefile setfiletype javascript
|
||||
autocmd BufNewFile,BufRead * call s:SelectJavascript()
|
||||
Reference in New Issue
Block a user