diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-09-12 11:02:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-12 11:02:33 +0200 |
commit | 229effac9f47bb6e000b90b76606f98eab5261be (patch) | |
tree | 5e40e1fd94821eef3f00e949b5f09b7d1bd778a2 /runtime/ftplugin | |
parent | 4a7a99ff31557bea7da09466547ff2dc1e337729 (diff) | |
download | rneovim-229effac9f47bb6e000b90b76606f98eab5261be.tar.gz rneovim-229effac9f47bb6e000b90b76606f98eab5261be.tar.bz2 rneovim-229effac9f47bb6e000b90b76606f98eab5261be.zip |
vim-patch:partial 6aa57295cfbe (#15633)
* vim-patch:partial 6aa57295cfbe
Update runtime files
https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404
omit doc/popup.txt
omit plugin/manpager.vim
partial skip runtime/doc/eval.txt (needs 8.2.{0258,0924,1544,2324,2468,2606})
skip ftplugin/julia.vim, indent/julia.vim, syntax/julia.vim (already
ported in
https://github.com/neovim/neovim/commit/65f32f0f195fbf7df2478f31cab345d00a6673a4)
skip syntax/scala.vim (already ported in
https://github.com/neovim/neovim/commit/a92e83ac14a0a674bc5b4b1d06d6b6c9d0d20a10)
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/chicken.vim | 1 | ||||
-rw-r--r-- | runtime/ftplugin/scdoc.vim | 26 | ||||
-rw-r--r-- | runtime/ftplugin/scheme.vim | 5 |
3 files changed, 30 insertions, 2 deletions
diff --git a/runtime/ftplugin/chicken.vim b/runtime/ftplugin/chicken.vim index 4dc1e57d0a..84d45bae1e 100644 --- a/runtime/ftplugin/chicken.vim +++ b/runtime/ftplugin/chicken.vim @@ -2,6 +2,7 @@ " Last Change: 2018-03-05 " Author: Evan Hanson <evhan@foldling.org> " Maintainer: Evan Hanson <evhan@foldling.org> +" Repository: https://git.foldling.org/vim-scheme.git " URL: https://foldling.org/vim/ftplugin/chicken.vim " Notes: These are supplemental settings, to be loaded after the core " Scheme ftplugin file (ftplugin/scheme.vim). Enable it by setting diff --git a/runtime/ftplugin/scdoc.vim b/runtime/ftplugin/scdoc.vim new file mode 100644 index 0000000000..2e98e647f4 --- /dev/null +++ b/runtime/ftplugin/scdoc.vim @@ -0,0 +1,26 @@ +" scdoc filetype plugin +" Maintainer: Gregory Anders <greg@gpanders.com> +" Last Updated: 2021-08-04 + +" 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 + +setlocal comments=b:; +setlocal commentstring=;%s +setlocal formatoptions+=t +setlocal noexpandtab +setlocal shiftwidth=0 +setlocal softtabstop=0 +setlocal textwidth=80 + +let b:undo_ftplugin = 'setl com< cms< fo< et< sw< sts< tw<' + +if has('conceal') + setlocal conceallevel=2 + let b:undo_ftplugin .= ' cole<' +endif diff --git a/runtime/ftplugin/scheme.vim b/runtime/ftplugin/scheme.vim index 5778594c41..04655bc136 100644 --- a/runtime/ftplugin/scheme.vim +++ b/runtime/ftplugin/scheme.vim @@ -1,9 +1,10 @@ " Vim filetype plugin file " Language: Scheme (R7RS) -" Last Change: 2019 Nov 18 +" Last Change: 2019-11-19 " Author: Evan Hanson <evhan@foldling.org> " Maintainer: Evan Hanson <evhan@foldling.org> " Previous Maintainer: Sergey Khorev <sergey.khorev@gmail.com> +" Repository: https://git.foldling.org/vim-scheme.git " URL: https://foldling.org/vim/ftplugin/scheme.vim if exists('b:did_ftplugin') @@ -48,7 +49,7 @@ let b:undo_ftplugin = b:undo_ftplugin . ' lispwords<' let b:did_scheme_ftplugin = 1 if exists('b:is_chicken') || exists('g:is_chicken') - exe 'ru! ftplugin/chicken.vim' + runtime! ftplugin/chicken.vim endif unlet b:did_scheme_ftplugin |