mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-11 21:13:50 -05:00
Let fsharp have priority over fs files, fixes #523
This commit is contained in:
@@ -267,12 +267,6 @@ if index(g:polyglot_disabled, 'flatbuffers') == -1
|
||||
au BufNewFile,BufRead *.fbs set ft=fbs
|
||||
endif
|
||||
|
||||
if index(g:polyglot_disabled, 'fsharp') == -1
|
||||
au BufNewFile,BufRead *.fs set ft=fsharp
|
||||
au BufNewFile,BufRead *.fsi set ft=fsharp
|
||||
au BufNewFile,BufRead *.fsx set ft=fsharp
|
||||
endif
|
||||
|
||||
if index(g:polyglot_disabled, 'gdscript') == -1
|
||||
au BufNewFile,BufRead *.gd set ft=gdscript3
|
||||
endif
|
||||
@@ -301,6 +295,12 @@ if index(g:polyglot_disabled, 'glsl') == -1
|
||||
au BufNewFile,BufRead *.vshader set ft=glsl
|
||||
endif
|
||||
|
||||
if index(g:polyglot_disabled, 'fsharp') == -1
|
||||
au BufNewFile,BufRead *.fs set ft=fsharp
|
||||
au BufNewFile,BufRead *.fsi set ft=fsharp
|
||||
au BufNewFile,BufRead *.fsx set ft=fsharp
|
||||
endif
|
||||
|
||||
if index(g:polyglot_disabled, 'git') == -1
|
||||
au BufNewFile,BufRead *.gitconfig set ft=gitconfig
|
||||
au BufNewFile,BufRead *.git/config set ft=gitconfig
|
||||
|
||||
Reference in New Issue
Block a user