aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2023-04-06 16:27:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2023-04-06 16:27:22 +1200
commitfd18d3cb0bea895942f70eeb6ebcc4018443d4b8 (patch)
tree351eaf672492933df74243b649df4bb89e8a2a9a
parentMerge branch 'release/v12.36.0' into develop (diff)
downloaddotfiles-fd18d3cb0bea895942f70eeb6ebcc4018443d4b8.tar.gz
dotfiles-fd18d3cb0bea895942f70eeb6ebcc4018443d4b8.zip
Remove disused TextEditorAnywhere Vim support
-rw-r--r--vim/filetype.vim4
-rw-r--r--vim/ftplugin/textarea.vim12
2 files changed, 0 insertions, 16 deletions
diff --git a/vim/filetype.vim b/vim/filetype.vim
index 818ccb6b..4b0a5702 100644
--- a/vim/filetype.vim
+++ b/vim/filetype.vim
@@ -472,10 +472,6 @@ augroup filetypedetect
autocmd BufNewFile,BufRead
\ ?*.ti
\ setfiletype terminfo
- " TextEditorAnywhere text field
- autocmd BufNewFile,BufRead
- \ TextEditorAnywhere_??_??_??.txt
- \ setfiletype textarea
" Tidy config
autocmd BufNewFile,BufRead
\ .tidyrc
diff --git a/vim/ftplugin/textarea.vim b/vim/ftplugin/textarea.vim
deleted file mode 100644
index 4db97b58..00000000
--- a/vim/ftplugin/textarea.vim
+++ /dev/null
@@ -1,12 +0,0 @@
-" Set mail message as an alternative filetype
-if !exists('b:alternate_filetypes')
- let b:alternate_filetypes = [&filetype, 'mail']
-endif
-
-" Stop here if the user doesn't want ftplugin mappings
-if exists('no_plugin_maps') || exists('no_textarea_maps')
- finish
-endif
-
-" #s expands to the #signature tag used in Cerb
-inoreabbrev #s #signature