aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-29 03:14:34 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-07-29 20:50:07 +0200
commitb5cb6c743afea565a2586490fc5a5b151ddbbfbb (patch)
tree59c5fca5c2e2e2ec9df487d324ded717924308c4
parent6fed5051008ec464316e6045cb7a900a329929d3 (diff)
downloadrneovim-b5cb6c743afea565a2586490fc5a5b151ddbbfbb.tar.gz
rneovim-b5cb6c743afea565a2586490fc5a5b151ddbbfbb.tar.bz2
rneovim-b5cb6c743afea565a2586490fc5a5b151ddbbfbb.zip
vim-patch:2a953fcf107d
Updated runtime files. https://github.com/vim/vim/commit/2a953fcf107d24229fec8af820ee62c908caafbf
-rw-r--r--runtime/doc/autocmd.txt1
-rw-r--r--runtime/doc/spell.txt15
-rw-r--r--runtime/filetype.vim2
-rw-r--r--runtime/ftplugin/mma.vim16
4 files changed, 32 insertions, 2 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 859b31a170..47afc4bd21 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -305,6 +305,7 @@ Name triggered by ~
|FuncUndefined| a user function is used but it isn't defined
|SpellFileMissing| a spell file is used but it can't be found
|SourcePre| before sourcing a Vim script
+|SourcePost| after sourcing a Vim script
|SourceCmd| before sourcing a Vim script |Cmd-event|
|VimResized| after the Vim window size changed
diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt
index 7ea6021d5a..67917d9617 100644
--- a/runtime/doc/spell.txt
+++ b/runtime/doc/spell.txt
@@ -1562,6 +1562,10 @@ CHECKCOMPOUNDTRIPLE (Hunspell) *spell-CHECKCOMPOUNDTRIPLE*
Forbid three identical characters when compounding. Not
supported.
+CHECKSHARPS (Hunspell)) *spell-CHECKSHARPS*
+ SS letter pair in uppercased (German) words may be upper case
+ sharp s (ß). Not supported.
+
COMPLEXPREFIXES (Hunspell) *spell-COMPLEXPREFIXES*
Enables using two prefixes. Not supported.
@@ -1575,12 +1579,21 @@ COMPOUNDFIRST (Hunspell) *spell-COMPOUNDFIRST*
Use COMPOUNDRULE instead. |spell-COMPOUNDRULE|
COMPOUNDBEGIN (Hunspell) *spell-COMPOUNDBEGIN*
+ Words signed with COMPOUNDBEGIN may be first elements in
+ compound words.
Use COMPOUNDRULE instead. |spell-COMPOUNDRULE|
-COMPOUNDEND (Hunspell) *spell-COMPOUNDEND*
+COMPOUNDLAST (Hunspell) *spell-COMPOUNDLAST*
+ Words signed with COMPOUNDLAST may be last elements in
+ compound words.
Use COMPOUNDRULE instead. |spell-COMPOUNDRULE|
+COMPOUNDEND (Hunspell) *spell-COMPOUNDEND*
+ Probably the same as COMPOUNDLAST
+
COMPOUNDMIDDLE (Hunspell) *spell-COMPOUNDMIDDLE*
+ Words signed with COMPOUNDMIDDLE may be middle elements in
+ compound words.
Use COMPOUNDRULE instead. |spell-COMPOUNDRULE|
COMPOUNDRULES (Hunspell) *spell-COMPOUNDRULES*
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a670f54898..49dcea7011 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2018 Feb 14
+" Last Change: 2019 Jan 18
" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
diff --git a/runtime/ftplugin/mma.vim b/runtime/ftplugin/mma.vim
new file mode 100644
index 0000000000..ce4cee18ae
--- /dev/null
+++ b/runtime/ftplugin/mma.vim
@@ -0,0 +1,16 @@
+" Vim filetype plugin file
+" Language: Mathematica
+" Maintainer: Ian Ford <ianf@wolfram.com>
+" Last Change: 22 January 2019
+
+" Only do this when not done yet for this buffer
+if exists("b:did_ftplugin")
+ finish
+endif
+
+" Don't load another plugin for this buffer
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setlocal commentstring<"
+
+setlocal commentstring=\(*%s*\)