From: Stefan Huber Date: Wed, 14 Nov 2018 11:28:48 +0000 (+0100) Subject: plugins: Add mediawiki to plugins-local X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=7f01b18cafc6ed342fdd369f262c935a2c874c8b;p=vimconf.git plugins: Add mediawiki to plugins-local --- diff --git a/init.vim b/init.vim index 6d8e56e..0626ee4 100644 --- a/init.vim +++ b/init.vim @@ -79,9 +79,11 @@ let g:vim_markdown_frontmatter=1 let g:vim_markdown_math=1 let g:guesslang_langs=[ 'en_US', 'de_AT'] -au FileType text,markdown,mail,tex,gitcommit setlocal spell +au FileType text,markdown,mail,tex,gitcommit,mediawiki setlocal spell au BufReadPost * :DetectIndent +au FileType mediawiki setlocal wrap linebreak tw=0 + au BufEnter *.c* let b:fswitchlocs='reg:/lib/include/,rel:.' au BufEnter *.h* let b:fswitchlocs='reg:/include/lib/,rel:.' diff --git a/neosnippets/mediawiki.snip b/neosnippets/mediawiki.snip new file mode 100644 index 0000000..8798f43 --- /dev/null +++ b/neosnippets/mediawiki.snip @@ -0,0 +1,15 @@ +snippet code + ${1} + +snippet smallpre + +
+    ${1}
+    
+
+ +snippet refs + ---- + + + diff --git a/plugins-local.vim.example b/plugins-local.vim.example index cbc2124..c0be0ea 100644 --- a/plugins-local.vim.example +++ b/plugins-local.vim.example @@ -4,3 +4,5 @@ Plug 'jamessan/vim-gnupg' Plug 'justmao945/vim-clang', {'for': ['c', 'cpp', 'objc']} "Plug 'kien/tabman.vim' + +"Plug 'chikamichi/mediawiki.vim'