summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim12
1 files changed, 3 insertions, 9 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 6cedcea6..315da8c6 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -100,6 +100,9 @@ augroup filetypedetect
"jsx
au BufNewFile,BufRead *.jsx setf javascriptreact
+
+ "fsharp
+ autocmd BufNewFile,BufRead *.fs,*.fsi,*.fsx set filetype=fsharp
augroup END
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acpiasl') == -1
augroup filetypedetect
@@ -470,15 +473,6 @@ autocmd BufNewFile,BufRead *.fbs setfiletype fbs
augroup end
endif
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1
- augroup filetypedetect
- " fsharp, from fsharp.vim in ionide/Ionide-vim:_BASIC
-" F#, fsharp
-autocmd BufNewFile,BufRead *.fs,*.fsi,*.fsx set filetype=fsharp
-autocmd BufNewFile,BufRead *.fsproj set filetype=fsharp_project
- augroup end
-endif
-
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gdscript') == -1
augroup filetypedetect
" gdscript, from gdscript3.vim in calviken/vim-gdscript3