summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-09-27 20:19:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-09-27 20:19:38 +0200
commit40ddf334c9428ff7d88b7ca12912a9a1ea80dbab (patch)
treee3e4b61fd7a175a729930b30e19061932f3a7131 /ftdetect
parent7e10428cd6b53bf5e0ead79b2733be4286b16378 (diff)
downloadvim-polyglot-40ddf334c9428ff7d88b7ca12912a9a1ea80dbab.tar.gz
vim-polyglot-40ddf334c9428ff7d88b7ca12912a9a1ea80dbab.zip
Add F# support, closes #219
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 784fac46..a88c50e9 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -262,6 +262,12 @@ autocmd BufNewFile ~/.config/fish/functions/*.fish
augroup END
augroup filetypedetect
+" fsharp:fsharp/vim-fsharp:_BASIC
+" F#, fsharp
+autocmd BufNewFile,BufRead *.fs,*.fsi,*.fsx set filetype=fsharp
+augroup END
+
+augroup filetypedetect
" git:tpope/vim-git
" Git
autocmd BufNewFile,BufRead *.git/{,modules/**/,worktrees/*/}{COMMIT_EDIT,TAG_EDIT,MERGE_,}MSG set ft=gitcommit