diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-05-20 17:04:22 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-05-20 17:04:22 +0200 |
commit | 42529540df6d80a39756d18550de82a6cee50141 (patch) | |
tree | d7561f4de1d11ef86257074cd318c66aa5f6ce4a | |
parent | a688c66a049b12e7b19f6ab4cb27c5a24dc3d52c (diff) | |
download | vim-polyglot-42529540df6d80a39756d18550de82a6cee50141.tar.gz vim-polyglot-42529540df6d80a39756d18550de82a6cee50141.zip |
Remove non-working ftplugin line, closes #485
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | config.vim | 3 | ||||
-rw-r--r-- | ftdetect/polyglot.vim | 12 |
3 files changed, 7 insertions, 10 deletions
@@ -67,7 +67,7 @@ extract() { output "${subdirs##, })"$'\n' - if (echo "julia coffee-script elixir fish git plantuml scala swift jinja" | grep -qF "$name"); then + if (echo "julia coffee-script elixir fish git plantuml scala swift jinja fsharp" | grep -qF "$name"); then echo "Skipping ftdetect installation of $name" >&2 continue fi @@ -100,4 +100,7 @@ augroup filetypedetect "jsx au BufNewFile,BufRead *.jsx setf javascriptreact + + "fsharp + autocmd BufNewFile,BufRead *.fs,*.fsi,*.fsx set filetype=fsharp augroup END 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 |