From 2eae5db069dc171f74cd863487655f6a88e5384d Mon Sep 17 00:00:00 2001 From: Mehmet Samet Duman Date: Fri, 3 Apr 2026 22:21:25 +0300 Subject: NOISSUE rebrand vim to MNV's not Vim Signed-off-by: Mehmet Samet Duman --- uvim/runtime/ftplugin/8th.mnv | 27 ++ uvim/runtime/ftplugin/8th.vim | 27 -- uvim/runtime/ftplugin/README.txt | 16 +- uvim/runtime/ftplugin/a2ps.mnv | 20 + uvim/runtime/ftplugin/a2ps.vim | 20 - uvim/runtime/ftplugin/aap.mnv | 38 ++ uvim/runtime/ftplugin/aap.vim | 38 -- uvim/runtime/ftplugin/abap.mnv | 41 ++ uvim/runtime/ftplugin/abap.vim | 41 -- uvim/runtime/ftplugin/abaqus.mnv | 124 ++++++ uvim/runtime/ftplugin/abaqus.vim | 124 ------ uvim/runtime/ftplugin/abnf.mnv | 17 + uvim/runtime/ftplugin/abnf.vim | 17 - uvim/runtime/ftplugin/ada.mnv | 221 ++++++++++ uvim/runtime/ftplugin/ada.vim | 221 ---------- uvim/runtime/ftplugin/alsaconf.mnv | 19 + uvim/runtime/ftplugin/alsaconf.vim | 19 - uvim/runtime/ftplugin/ant.mnv | 51 +++ uvim/runtime/ftplugin/ant.vim | 51 --- uvim/runtime/ftplugin/antlr4.mnv | 14 + uvim/runtime/ftplugin/antlr4.vim | 14 - uvim/runtime/ftplugin/apache.mnv | 16 + uvim/runtime/ftplugin/apache.vim | 16 - uvim/runtime/ftplugin/arch.mnv | 19 + uvim/runtime/ftplugin/arch.vim | 19 - uvim/runtime/ftplugin/arduino.mnv | 67 ++++ uvim/runtime/ftplugin/arduino.vim | 67 ---- uvim/runtime/ftplugin/art.mnv | 18 + uvim/runtime/ftplugin/art.vim | 18 - uvim/runtime/ftplugin/asciidoc.mnv | 68 ++++ uvim/runtime/ftplugin/asciidoc.vim | 68 ---- uvim/runtime/ftplugin/asm.mnv | 25 ++ uvim/runtime/ftplugin/asm.vim | 25 -- uvim/runtime/ftplugin/aspvbs.mnv | 67 ++++ uvim/runtime/ftplugin/aspvbs.vim | 67 ---- uvim/runtime/ftplugin/astro.mnv | 192 +++++++++ uvim/runtime/ftplugin/astro.vim | 192 --------- uvim/runtime/ftplugin/asy.mnv | 14 + uvim/runtime/ftplugin/asy.vim | 14 - uvim/runtime/ftplugin/autohotkey.mnv | 16 + uvim/runtime/ftplugin/autohotkey.vim | 16 - uvim/runtime/ftplugin/automake.mnv | 16 + uvim/runtime/ftplugin/automake.vim | 16 - uvim/runtime/ftplugin/autopkgtest.mnv | 17 + uvim/runtime/ftplugin/autopkgtest.vim | 17 - uvim/runtime/ftplugin/awk.mnv | 63 +++ uvim/runtime/ftplugin/awk.vim | 63 --- uvim/runtime/ftplugin/bash.mnv | 20 + uvim/runtime/ftplugin/bash.vim | 20 - uvim/runtime/ftplugin/basic.mnv | 61 +++ uvim/runtime/ftplugin/basic.vim | 61 --- uvim/runtime/ftplugin/bdf.mnv | 20 + uvim/runtime/ftplugin/bdf.vim | 20 - uvim/runtime/ftplugin/bicep-params.mnv | 3 + uvim/runtime/ftplugin/bicep-params.vim | 3 - uvim/runtime/ftplugin/bicep.mnv | 14 + uvim/runtime/ftplugin/bicep.vim | 14 - uvim/runtime/ftplugin/bindzone.mnv | 16 + uvim/runtime/ftplugin/bindzone.vim | 16 - uvim/runtime/ftplugin/bitbake.mnv | 17 + uvim/runtime/ftplugin/bitbake.vim | 17 - uvim/runtime/ftplugin/bp.mnv | 14 + uvim/runtime/ftplugin/bp.vim | 14 - uvim/runtime/ftplugin/bpftrace.mnv | 16 + uvim/runtime/ftplugin/bpftrace.vim | 16 - uvim/runtime/ftplugin/brighterscript.mnv | 11 + uvim/runtime/ftplugin/brighterscript.vim | 11 - uvim/runtime/ftplugin/brightscript.mnv | 13 + uvim/runtime/ftplugin/brightscript.vim | 13 - uvim/runtime/ftplugin/bst.mnv | 15 + uvim/runtime/ftplugin/bst.vim | 15 - uvim/runtime/ftplugin/btm.mnv | 13 + uvim/runtime/ftplugin/btm.vim | 13 - uvim/runtime/ftplugin/bzl.mnv | 101 +++++ uvim/runtime/ftplugin/bzl.vim | 101 ----- uvim/runtime/ftplugin/c.mnv | 93 +++++ uvim/runtime/ftplugin/c.vim | 93 ----- uvim/runtime/ftplugin/c3.mnv | 14 + uvim/runtime/ftplugin/c3.vim | 14 - uvim/runtime/ftplugin/cabal.mnv | 18 + uvim/runtime/ftplugin/cabal.vim | 18 - uvim/runtime/ftplugin/calendar.mnv | 21 + uvim/runtime/ftplugin/calendar.vim | 21 - uvim/runtime/ftplugin/cdrdaoconf.mnv | 18 + uvim/runtime/ftplugin/cdrdaoconf.vim | 18 - uvim/runtime/ftplugin/cedar.mnv | 13 + uvim/runtime/ftplugin/cedar.vim | 13 - uvim/runtime/ftplugin/cfg.mnv | 19 + uvim/runtime/ftplugin/cfg.vim | 19 - uvim/runtime/ftplugin/cgdbrc.mnv | 22 + uvim/runtime/ftplugin/cgdbrc.vim | 22 - uvim/runtime/ftplugin/ch.mnv | 17 + uvim/runtime/ftplugin/ch.vim | 17 - uvim/runtime/ftplugin/changelog.mnv | 313 +++++++++++++++ uvim/runtime/ftplugin/changelog.vim | 313 --------------- uvim/runtime/ftplugin/chatito.mnv | 15 + uvim/runtime/ftplugin/chatito.vim | 15 - uvim/runtime/ftplugin/chicken.mnv | 55 +++ uvim/runtime/ftplugin/chicken.vim | 55 --- uvim/runtime/ftplugin/clojure.mnv | 85 ++++ uvim/runtime/ftplugin/clojure.vim | 85 ---- uvim/runtime/ftplugin/cmake.mnv | 37 ++ uvim/runtime/ftplugin/cmake.vim | 37 -- uvim/runtime/ftplugin/cmakecache.mnv | 13 + uvim/runtime/ftplugin/cmakecache.vim | 13 - uvim/runtime/ftplugin/cobol.mnv | 274 +++++++++++++ uvim/runtime/ftplugin/cobol.vim | 274 ------------- uvim/runtime/ftplugin/codeowners.mnv | 14 + uvim/runtime/ftplugin/codeowners.vim | 14 - uvim/runtime/ftplugin/conf.mnv | 19 + uvim/runtime/ftplugin/conf.vim | 19 - uvim/runtime/ftplugin/config.mnv | 49 +++ uvim/runtime/ftplugin/config.vim | 49 --- uvim/runtime/ftplugin/confini.mnv | 10 + uvim/runtime/ftplugin/confini.vim | 10 - uvim/runtime/ftplugin/context.mnv | 117 ++++++ uvim/runtime/ftplugin/context.vim | 117 ------ uvim/runtime/ftplugin/cook.mnv | 13 + uvim/runtime/ftplugin/cook.vim | 13 - uvim/runtime/ftplugin/corn.mnv | 18 + uvim/runtime/ftplugin/corn.vim | 18 - uvim/runtime/ftplugin/cpp.mnv | 22 + uvim/runtime/ftplugin/cpp.vim | 22 - uvim/runtime/ftplugin/crm.mnv | 19 + uvim/runtime/ftplugin/crm.vim | 19 - uvim/runtime/ftplugin/crontab.mnv | 16 + uvim/runtime/ftplugin/crontab.vim | 16 - uvim/runtime/ftplugin/cs.mnv | 51 +++ uvim/runtime/ftplugin/cs.vim | 51 --- uvim/runtime/ftplugin/csc.mnv | 29 ++ uvim/runtime/ftplugin/csc.vim | 29 -- uvim/runtime/ftplugin/csh.mnv | 82 ++++ uvim/runtime/ftplugin/csh.vim | 82 ---- uvim/runtime/ftplugin/css.mnv | 26 ++ uvim/runtime/ftplugin/css.vim | 26 -- uvim/runtime/ftplugin/csv.mnv | 23 ++ uvim/runtime/ftplugin/csv.vim | 23 -- uvim/runtime/ftplugin/cucumber.mnv | 150 +++++++ uvim/runtime/ftplugin/cucumber.vim | 150 ------- uvim/runtime/ftplugin/cuda.mnv | 11 + uvim/runtime/ftplugin/cuda.vim | 11 - uvim/runtime/ftplugin/cvsrc.mnv | 19 + uvim/runtime/ftplugin/cvsrc.vim | 19 - uvim/runtime/ftplugin/dart.mnv | 15 + uvim/runtime/ftplugin/dart.vim | 15 - uvim/runtime/ftplugin/dax.mnv | 16 + uvim/runtime/ftplugin/dax.vim | 16 - uvim/runtime/ftplugin/deb822sources.mnv | 16 + uvim/runtime/ftplugin/deb822sources.vim | 16 - uvim/runtime/ftplugin/debchangelog.mnv | 394 ++++++++++++++++++ uvim/runtime/ftplugin/debchangelog.vim | 394 ------------------ uvim/runtime/ftplugin/debcontrol.mnv | 73 ++++ uvim/runtime/ftplugin/debcontrol.vim | 73 ---- uvim/runtime/ftplugin/debsources.mnv | 16 + uvim/runtime/ftplugin/debsources.vim | 16 - uvim/runtime/ftplugin/denyhosts.mnv | 18 + uvim/runtime/ftplugin/denyhosts.vim | 18 - uvim/runtime/ftplugin/desktop.mnv | 14 + uvim/runtime/ftplugin/desktop.vim | 14 - uvim/runtime/ftplugin/dictconf.mnv | 19 + uvim/runtime/ftplugin/dictconf.vim | 19 - uvim/runtime/ftplugin/dictdconf.mnv | 19 + uvim/runtime/ftplugin/dictdconf.vim | 19 - uvim/runtime/ftplugin/diff.mnv | 29 ++ uvim/runtime/ftplugin/diff.vim | 29 -- uvim/runtime/ftplugin/dircolors.mnv | 19 + uvim/runtime/ftplugin/dircolors.vim | 19 - uvim/runtime/ftplugin/dnsmasq.mnv | 11 + uvim/runtime/ftplugin/dnsmasq.vim | 11 - uvim/runtime/ftplugin/docbk.mnv | 24 ++ uvim/runtime/ftplugin/docbk.vim | 24 -- uvim/runtime/ftplugin/dockerfile.mnv | 17 + uvim/runtime/ftplugin/dockerfile.vim | 17 - uvim/runtime/ftplugin/dosbatch.mnv | 54 +++ uvim/runtime/ftplugin/dosbatch.vim | 54 --- uvim/runtime/ftplugin/dosini.mnv | 20 + uvim/runtime/ftplugin/dosini.vim | 20 - uvim/runtime/ftplugin/dtd.mnv | 48 +++ uvim/runtime/ftplugin/dtd.vim | 48 --- uvim/runtime/ftplugin/dtrace.mnv | 41 ++ uvim/runtime/ftplugin/dtrace.vim | 41 -- uvim/runtime/ftplugin/dts.mnv | 17 + uvim/runtime/ftplugin/dts.vim | 17 - uvim/runtime/ftplugin/dune.mnv | 24 ++ uvim/runtime/ftplugin/dune.vim | 24 -- uvim/runtime/ftplugin/editorconfig.mnv | 15 + uvim/runtime/ftplugin/editorconfig.vim | 15 - uvim/runtime/ftplugin/eiffel.mnv | 100 +++++ uvim/runtime/ftplugin/eiffel.vim | 100 ----- uvim/runtime/ftplugin/elinks.mnv | 19 + uvim/runtime/ftplugin/elinks.vim | 19 - uvim/runtime/ftplugin/elixir.mnv | 39 ++ uvim/runtime/ftplugin/elixir.vim | 39 -- uvim/runtime/ftplugin/elm.mnv | 20 + uvim/runtime/ftplugin/elm.vim | 20 - uvim/runtime/ftplugin/env.mnv | 19 + uvim/runtime/ftplugin/env.vim | 19 - uvim/runtime/ftplugin/erlang.mnv | 120 ++++++ uvim/runtime/ftplugin/erlang.vim | 120 ------ uvim/runtime/ftplugin/eruby.mnv | 141 +++++++ uvim/runtime/ftplugin/eruby.vim | 141 ------- uvim/runtime/ftplugin/eterm.mnv | 20 + uvim/runtime/ftplugin/eterm.vim | 20 - uvim/runtime/ftplugin/expect.mnv | 28 ++ uvim/runtime/ftplugin/expect.vim | 28 -- uvim/runtime/ftplugin/exports.mnv | 14 + uvim/runtime/ftplugin/exports.vim | 14 - uvim/runtime/ftplugin/falcon.mnv | 54 +++ uvim/runtime/ftplugin/falcon.vim | 54 --- uvim/runtime/ftplugin/fennel.mnv | 19 + uvim/runtime/ftplugin/fennel.vim | 19 - uvim/runtime/ftplugin/fetchmail.mnv | 16 + uvim/runtime/ftplugin/fetchmail.vim | 16 - uvim/runtime/ftplugin/fga.mnv | 13 + uvim/runtime/ftplugin/fga.vim | 13 - uvim/runtime/ftplugin/fish.mnv | 41 ++ uvim/runtime/ftplugin/fish.vim | 41 -- uvim/runtime/ftplugin/flexwiki.mnv | 59 +++ uvim/runtime/ftplugin/flexwiki.vim | 59 --- uvim/runtime/ftplugin/forth.mnv | 77 ++++ uvim/runtime/ftplugin/forth.vim | 77 ---- uvim/runtime/ftplugin/fortran.mnv | 155 +++++++ uvim/runtime/ftplugin/fortran.vim | 155 ------- uvim/runtime/ftplugin/fpcmake.mnv | 29 ++ uvim/runtime/ftplugin/fpcmake.vim | 29 -- uvim/runtime/ftplugin/framescript.mnv | 30 ++ uvim/runtime/ftplugin/framescript.vim | 30 -- uvim/runtime/ftplugin/freebasic.mnv | 85 ++++ uvim/runtime/ftplugin/freebasic.vim | 85 ---- uvim/runtime/ftplugin/fstab.mnv | 30 ++ uvim/runtime/ftplugin/fstab.vim | 30 -- uvim/runtime/ftplugin/fvwm.mnv | 14 + uvim/runtime/ftplugin/fvwm.vim | 14 - uvim/runtime/ftplugin/gdb.mnv | 54 +++ uvim/runtime/ftplugin/gdb.vim | 54 --- uvim/runtime/ftplugin/gdscript.mnv | 65 +++ uvim/runtime/ftplugin/gdscript.vim | 65 --- uvim/runtime/ftplugin/gdshader.mnv | 16 + uvim/runtime/ftplugin/gdshader.vim | 16 - uvim/runtime/ftplugin/gel.mnv | 13 + uvim/runtime/ftplugin/gel.vim | 13 - uvim/runtime/ftplugin/git.mnv | 15 + uvim/runtime/ftplugin/git.vim | 15 - uvim/runtime/ftplugin/gitattributes.mnv | 13 + uvim/runtime/ftplugin/gitattributes.vim | 13 - uvim/runtime/ftplugin/gitcommit.mnv | 60 +++ uvim/runtime/ftplugin/gitcommit.vim | 60 --- uvim/runtime/ftplugin/gitconfig.mnv | 15 + uvim/runtime/ftplugin/gitconfig.vim | 15 - uvim/runtime/ftplugin/gitignore.mnv | 13 + uvim/runtime/ftplugin/gitignore.vim | 13 - uvim/runtime/ftplugin/gitrebase.mnv | 45 +++ uvim/runtime/ftplugin/gitrebase.vim | 45 --- uvim/runtime/ftplugin/gitsendemail.mnv | 6 + uvim/runtime/ftplugin/gitsendemail.vim | 6 - uvim/runtime/ftplugin/gleam.mnv | 33 ++ uvim/runtime/ftplugin/gleam.vim | 33 -- uvim/runtime/ftplugin/go.mnv | 86 ++++ uvim/runtime/ftplugin/go.vim | 86 ---- uvim/runtime/ftplugin/goaccess.mnv | 14 + uvim/runtime/ftplugin/goaccess.vim | 14 - uvim/runtime/ftplugin/gomod.mnv | 16 + uvim/runtime/ftplugin/gomod.vim | 16 - uvim/runtime/ftplugin/gpg.mnv | 29 ++ uvim/runtime/ftplugin/gpg.vim | 29 -- uvim/runtime/ftplugin/gprof.mnv | 36 ++ uvim/runtime/ftplugin/gprof.vim | 36 -- uvim/runtime/ftplugin/graphql.mnv | 22 + uvim/runtime/ftplugin/graphql.vim | 22 - uvim/runtime/ftplugin/groff.mnv | 19 + uvim/runtime/ftplugin/groff.vim | 19 - uvim/runtime/ftplugin/groovy.mnv | 20 + uvim/runtime/ftplugin/groovy.vim | 20 - uvim/runtime/ftplugin/group.mnv | 19 + uvim/runtime/ftplugin/group.vim | 19 - uvim/runtime/ftplugin/grub.mnv | 19 + uvim/runtime/ftplugin/grub.vim | 19 - uvim/runtime/ftplugin/gyp.mnv | 14 + uvim/runtime/ftplugin/gyp.vim | 14 - uvim/runtime/ftplugin/haml.mnv | 76 ++++ uvim/runtime/ftplugin/haml.vim | 76 ---- uvim/runtime/ftplugin/hamster.mnv | 67 ++++ uvim/runtime/ftplugin/hamster.vim | 67 ---- uvim/runtime/ftplugin/hare.mnv | 51 +++ uvim/runtime/ftplugin/hare.vim | 51 --- uvim/runtime/ftplugin/haredoc.mnv | 50 +++ uvim/runtime/ftplugin/haredoc.vim | 50 --- uvim/runtime/ftplugin/haskell.mnv | 32 ++ uvim/runtime/ftplugin/haskell.vim | 32 -- uvim/runtime/ftplugin/hcl.mnv | 10 + uvim/runtime/ftplugin/hcl.vim | 10 - uvim/runtime/ftplugin/heex.mnv | 34 ++ uvim/runtime/ftplugin/heex.vim | 34 -- uvim/runtime/ftplugin/help.mnv | 47 +++ uvim/runtime/ftplugin/help.vim | 47 --- uvim/runtime/ftplugin/hgcommit.mnv | 20 + uvim/runtime/ftplugin/hgcommit.vim | 20 - uvim/runtime/ftplugin/hlsplaylist.mnv | 37 ++ uvim/runtime/ftplugin/hlsplaylist.vim | 37 -- uvim/runtime/ftplugin/hog.mnv | 40 ++ uvim/runtime/ftplugin/hog.vim | 40 -- uvim/runtime/ftplugin/hostconf.mnv | 18 + uvim/runtime/ftplugin/hostconf.vim | 18 - uvim/runtime/ftplugin/hostsaccess.mnv | 19 + uvim/runtime/ftplugin/hostsaccess.vim | 19 - uvim/runtime/ftplugin/html.mnv | 111 +++++ uvim/runtime/ftplugin/html.vim | 111 ----- uvim/runtime/ftplugin/htmlangular.mnv | 12 + uvim/runtime/ftplugin/htmlangular.vim | 12 - uvim/runtime/ftplugin/htmldjango.mnv | 13 + uvim/runtime/ftplugin/htmldjango.vim | 13 - uvim/runtime/ftplugin/http.mnv | 13 + uvim/runtime/ftplugin/http.vim | 13 - uvim/runtime/ftplugin/hurl.mnv | 11 + uvim/runtime/ftplugin/hurl.vim | 11 - uvim/runtime/ftplugin/hyprlang.mnv | 13 + uvim/runtime/ftplugin/hyprlang.vim | 13 - uvim/runtime/ftplugin/i3config.mnv | 13 + uvim/runtime/ftplugin/i3config.vim | 13 - uvim/runtime/ftplugin/icon.mnv | 40 ++ uvim/runtime/ftplugin/icon.vim | 40 -- uvim/runtime/ftplugin/idris2.mnv | 34 ++ uvim/runtime/ftplugin/idris2.vim | 34 -- uvim/runtime/ftplugin/indent.mnv | 22 + uvim/runtime/ftplugin/indent.vim | 22 - uvim/runtime/ftplugin/initex.mnv | 40 ++ uvim/runtime/ftplugin/initex.vim | 40 -- uvim/runtime/ftplugin/ipkg.mnv | 19 + uvim/runtime/ftplugin/ipkg.vim | 19 - uvim/runtime/ftplugin/ishd.mnv | 45 +++ uvim/runtime/ftplugin/ishd.vim | 45 --- uvim/runtime/ftplugin/j.mnv | 88 ++++ uvim/runtime/ftplugin/j.vim | 88 ---- uvim/runtime/ftplugin/java.mnv | 418 +++++++++++++++++++ uvim/runtime/ftplugin/java.vim | 418 ------------------- uvim/runtime/ftplugin/javacc.mnv | 20 + uvim/runtime/ftplugin/javacc.vim | 20 - uvim/runtime/ftplugin/javascript.mnv | 80 ++++ uvim/runtime/ftplugin/javascript.vim | 80 ---- uvim/runtime/ftplugin/javascriptreact.mnv | 7 + uvim/runtime/ftplugin/javascriptreact.vim | 7 - uvim/runtime/ftplugin/jjdescription.mnv | 19 + uvim/runtime/ftplugin/jjdescription.vim | 19 - uvim/runtime/ftplugin/jproperties.mnv | 15 + uvim/runtime/ftplugin/jproperties.vim | 15 - uvim/runtime/ftplugin/jq.mnv | 23 ++ uvim/runtime/ftplugin/jq.vim | 23 -- uvim/runtime/ftplugin/json.mnv | 17 + uvim/runtime/ftplugin/json.vim | 17 - uvim/runtime/ftplugin/json5.mnv | 32 ++ uvim/runtime/ftplugin/json5.vim | 32 -- uvim/runtime/ftplugin/jsonc.mnv | 22 + uvim/runtime/ftplugin/jsonc.vim | 22 - uvim/runtime/ftplugin/jsonnet.mnv | 17 + uvim/runtime/ftplugin/jsonnet.vim | 17 - uvim/runtime/ftplugin/jsp.mnv | 74 ++++ uvim/runtime/ftplugin/jsp.vim | 74 ---- uvim/runtime/ftplugin/julia.mnv | 92 +++++ uvim/runtime/ftplugin/julia.vim | 92 ----- uvim/runtime/ftplugin/just.mnv | 17 + uvim/runtime/ftplugin/just.vim | 17 - uvim/runtime/ftplugin/karel.mnv | 16 + uvim/runtime/ftplugin/karel.vim | 16 - uvim/runtime/ftplugin/kconfig.mnv | 23 ++ uvim/runtime/ftplugin/kconfig.vim | 23 -- uvim/runtime/ftplugin/kdl.mnv | 17 + uvim/runtime/ftplugin/kdl.vim | 17 - uvim/runtime/ftplugin/kerml.mnv | 25 ++ uvim/runtime/ftplugin/kerml.vim | 25 -- uvim/runtime/ftplugin/kitty.mnv | 13 + uvim/runtime/ftplugin/kitty.vim | 13 - uvim/runtime/ftplugin/kivy.mnv | 13 + uvim/runtime/ftplugin/kivy.vim | 13 - uvim/runtime/ftplugin/kotlin.mnv | 37 ++ uvim/runtime/ftplugin/kotlin.vim | 37 -- uvim/runtime/ftplugin/kwt.mnv | 37 ++ uvim/runtime/ftplugin/kwt.vim | 37 -- uvim/runtime/ftplugin/lc.mnv | 13 + uvim/runtime/ftplugin/lc.vim | 13 - uvim/runtime/ftplugin/ld.mnv | 21 + uvim/runtime/ftplugin/ld.vim | 21 - uvim/runtime/ftplugin/ldapconf.mnv | 13 + uvim/runtime/ftplugin/ldapconf.vim | 13 - uvim/runtime/ftplugin/leex.mnv | 14 + uvim/runtime/ftplugin/leex.vim | 14 - uvim/runtime/ftplugin/leo.mnv | 13 + uvim/runtime/ftplugin/leo.vim | 13 - uvim/runtime/ftplugin/less.mnv | 20 + uvim/runtime/ftplugin/less.vim | 20 - uvim/runtime/ftplugin/lex.mnv | 14 + uvim/runtime/ftplugin/lex.vim | 14 - uvim/runtime/ftplugin/lf.mnv | 22 + uvim/runtime/ftplugin/lf.vim | 22 - uvim/runtime/ftplugin/lftp.mnv | 19 + uvim/runtime/ftplugin/lftp.vim | 19 - uvim/runtime/ftplugin/libao.mnv | 19 + uvim/runtime/ftplugin/libao.vim | 19 - uvim/runtime/ftplugin/limits.mnv | 19 + uvim/runtime/ftplugin/limits.vim | 19 - uvim/runtime/ftplugin/liquid.mnv | 62 +++ uvim/runtime/ftplugin/liquid.vim | 62 --- uvim/runtime/ftplugin/lisp.mnv | 25 ++ uvim/runtime/ftplugin/lisp.vim | 25 -- uvim/runtime/ftplugin/livebook.mnv | 9 + uvim/runtime/ftplugin/livebook.vim | 9 - uvim/runtime/ftplugin/llvm.mnv | 12 + uvim/runtime/ftplugin/llvm.vim | 12 - uvim/runtime/ftplugin/lnk.mnv | 14 + uvim/runtime/ftplugin/lnk.vim | 14 - uvim/runtime/ftplugin/lnkmap.mnv | 16 + uvim/runtime/ftplugin/lnkmap.vim | 16 - uvim/runtime/ftplugin/logcheck.mnv | 17 + uvim/runtime/ftplugin/logcheck.vim | 17 - uvim/runtime/ftplugin/loginaccess.mnv | 19 + uvim/runtime/ftplugin/loginaccess.vim | 19 - uvim/runtime/ftplugin/logindefs.mnv | 19 + uvim/runtime/ftplugin/logindefs.vim | 19 - uvim/runtime/ftplugin/logtalk.mnv | 19 + uvim/runtime/ftplugin/logtalk.vim | 19 - uvim/runtime/ftplugin/lprolog.mnv | 55 +++ uvim/runtime/ftplugin/lprolog.vim | 55 --- uvim/runtime/ftplugin/lua.mnv | 190 +++++++++ uvim/runtime/ftplugin/lua.vim | 190 --------- uvim/runtime/ftplugin/luau.mnv | 14 + uvim/runtime/ftplugin/luau.vim | 14 - uvim/runtime/ftplugin/lynx.mnv | 33 ++ uvim/runtime/ftplugin/lynx.vim | 33 -- uvim/runtime/ftplugin/m17ndb.mnv | 17 + uvim/runtime/ftplugin/m17ndb.vim | 17 - uvim/runtime/ftplugin/m3build.mnv | 27 ++ uvim/runtime/ftplugin/m3build.vim | 27 -- uvim/runtime/ftplugin/m3quake.mnv | 39 ++ uvim/runtime/ftplugin/m3quake.vim | 39 -- uvim/runtime/ftplugin/m4.mnv | 20 + uvim/runtime/ftplugin/m4.vim | 20 - uvim/runtime/ftplugin/mail.mnv | 50 +++ uvim/runtime/ftplugin/mail.vim | 50 --- uvim/runtime/ftplugin/mailaliases.mnv | 18 + uvim/runtime/ftplugin/mailaliases.vim | 18 - uvim/runtime/ftplugin/mailcap.mnv | 19 + uvim/runtime/ftplugin/mailcap.vim | 19 - uvim/runtime/ftplugin/make.mnv | 34 ++ uvim/runtime/ftplugin/make.vim | 34 -- uvim/runtime/ftplugin/man.mnv | 88 ++++ uvim/runtime/ftplugin/man.vim | 88 ---- uvim/runtime/ftplugin/manconf.mnv | 19 + uvim/runtime/ftplugin/manconf.vim | 19 - uvim/runtime/ftplugin/markdown.mnv | 93 +++++ uvim/runtime/ftplugin/markdown.vim | 93 ----- uvim/runtime/ftplugin/masm.mnv | 34 ++ uvim/runtime/ftplugin/masm.vim | 34 -- uvim/runtime/ftplugin/matlab.mnv | 34 ++ uvim/runtime/ftplugin/matlab.vim | 34 -- uvim/runtime/ftplugin/mbsync.mnv | 13 + uvim/runtime/ftplugin/mbsync.vim | 13 - uvim/runtime/ftplugin/mediawiki.mnv | 49 +++ uvim/runtime/ftplugin/mediawiki.vim | 49 --- uvim/runtime/ftplugin/mermaid.mnv | 50 +++ uvim/runtime/ftplugin/mermaid.vim | 50 --- uvim/runtime/ftplugin/meson.mnv | 44 ++ uvim/runtime/ftplugin/meson.vim | 44 -- uvim/runtime/ftplugin/mf.mnv | 86 ++++ uvim/runtime/ftplugin/mf.vim | 86 ---- uvim/runtime/ftplugin/mlir.mnv | 10 + uvim/runtime/ftplugin/mlir.vim | 10 - uvim/runtime/ftplugin/mma.mnv | 17 + uvim/runtime/ftplugin/mma.vim | 17 - uvim/runtime/ftplugin/mnv.mnv | 224 +++++++++++ uvim/runtime/ftplugin/modconf.mnv | 29 ++ uvim/runtime/ftplugin/modconf.vim | 29 -- uvim/runtime/ftplugin/modula2.mnv | 55 +++ uvim/runtime/ftplugin/modula2.vim | 55 --- uvim/runtime/ftplugin/modula3.mnv | 47 +++ uvim/runtime/ftplugin/modula3.vim | 47 --- uvim/runtime/ftplugin/mojo.mnv | 48 +++ uvim/runtime/ftplugin/mojo.vim | 48 --- uvim/runtime/ftplugin/mp.mnv | 95 +++++ uvim/runtime/ftplugin/mp.vim | 95 ----- uvim/runtime/ftplugin/mplayerconf.mnv | 20 + uvim/runtime/ftplugin/mplayerconf.vim | 20 - uvim/runtime/ftplugin/mrxvtrc.mnv | 22 + uvim/runtime/ftplugin/mrxvtrc.vim | 22 - uvim/runtime/ftplugin/msmessages.mnv | 45 +++ uvim/runtime/ftplugin/msmessages.vim | 45 --- uvim/runtime/ftplugin/mss.mnv | 16 + uvim/runtime/ftplugin/mss.vim | 16 - uvim/runtime/ftplugin/muttrc.mnv | 31 ++ uvim/runtime/ftplugin/muttrc.vim | 31 -- uvim/runtime/ftplugin/mysql.mnv | 9 + uvim/runtime/ftplugin/mysql.vim | 9 - uvim/runtime/ftplugin/nanorc.mnv | 19 + uvim/runtime/ftplugin/nanorc.vim | 19 - uvim/runtime/ftplugin/neomuttrc.mnv | 23 ++ uvim/runtime/ftplugin/neomuttrc.vim | 23 -- uvim/runtime/ftplugin/netrc.mnv | 20 + uvim/runtime/ftplugin/netrc.vim | 20 - uvim/runtime/ftplugin/nginx.mnv | 9 + uvim/runtime/ftplugin/nginx.vim | 9 - uvim/runtime/ftplugin/nickel.mnv | 13 + uvim/runtime/ftplugin/nickel.vim | 13 - uvim/runtime/ftplugin/nim.mnv | 13 + uvim/runtime/ftplugin/nim.vim | 13 - uvim/runtime/ftplugin/nix.mnv | 21 + uvim/runtime/ftplugin/nix.vim | 21 - uvim/runtime/ftplugin/nroff.mnv | 51 +++ uvim/runtime/ftplugin/nroff.vim | 51 --- uvim/runtime/ftplugin/nsis.mnv | 43 ++ uvim/runtime/ftplugin/nsis.vim | 43 -- uvim/runtime/ftplugin/nu.mnv | 17 + uvim/runtime/ftplugin/nu.vim | 17 - uvim/runtime/ftplugin/objc.mnv | 13 + uvim/runtime/ftplugin/objc.vim | 13 - uvim/runtime/ftplugin/objcpp.mnv | 1 + uvim/runtime/ftplugin/objcpp.vim | 1 - uvim/runtime/ftplugin/objdump.mnv | 14 + uvim/runtime/ftplugin/objdump.vim | 14 - uvim/runtime/ftplugin/obse.mnv | 71 ++++ uvim/runtime/ftplugin/obse.vim | 71 ---- uvim/runtime/ftplugin/ocaml.mnv | 645 ++++++++++++++++++++++++++++++ uvim/runtime/ftplugin/ocaml.vim | 645 ------------------------------ uvim/runtime/ftplugin/occam.mnv | 56 +++ uvim/runtime/ftplugin/occam.vim | 56 --- uvim/runtime/ftplugin/octave.mnv | 67 ++++ uvim/runtime/ftplugin/octave.vim | 67 ---- uvim/runtime/ftplugin/odin.mnv | 21 + uvim/runtime/ftplugin/odin.vim | 21 - uvim/runtime/ftplugin/ondir.mnv | 18 + uvim/runtime/ftplugin/ondir.vim | 18 - uvim/runtime/ftplugin/opencl.mnv | 12 + uvim/runtime/ftplugin/opencl.vim | 12 - uvim/runtime/ftplugin/openscad.mnv | 14 + uvim/runtime/ftplugin/openscad.vim | 14 - uvim/runtime/ftplugin/openvpn.mnv | 15 + uvim/runtime/ftplugin/openvpn.vim | 15 - uvim/runtime/ftplugin/org.mnv | 39 ++ uvim/runtime/ftplugin/org.vim | 39 -- uvim/runtime/ftplugin/pamconf.mnv | 19 + uvim/runtime/ftplugin/pamconf.vim | 19 - uvim/runtime/ftplugin/pascal.mnv | 55 +++ uvim/runtime/ftplugin/pascal.vim | 55 --- uvim/runtime/ftplugin/passwd.mnv | 19 + uvim/runtime/ftplugin/passwd.vim | 19 - uvim/runtime/ftplugin/pbtxt.mnv | 17 + uvim/runtime/ftplugin/pbtxt.vim | 17 - uvim/runtime/ftplugin/pdf.mnv | 90 +++++ uvim/runtime/ftplugin/pdf.vim | 90 ----- uvim/runtime/ftplugin/perl.mnv | 118 ++++++ uvim/runtime/ftplugin/perl.vim | 118 ------ uvim/runtime/ftplugin/php.mnv | 158 ++++++++ uvim/runtime/ftplugin/php.vim | 158 -------- uvim/runtime/ftplugin/pinfo.mnv | 19 + uvim/runtime/ftplugin/pinfo.vim | 19 - uvim/runtime/ftplugin/pkl.mnv | 16 + uvim/runtime/ftplugin/pkl.vim | 16 - uvim/runtime/ftplugin/plaintex.mnv | 37 ++ uvim/runtime/ftplugin/plaintex.vim | 37 -- uvim/runtime/ftplugin/plsql.mnv | 17 + uvim/runtime/ftplugin/plsql.vim | 17 - uvim/runtime/ftplugin/pod.mnv | 76 ++++ uvim/runtime/ftplugin/pod.vim | 76 ---- uvim/runtime/ftplugin/poefilter.mnv | 13 + uvim/runtime/ftplugin/poefilter.vim | 13 - uvim/runtime/ftplugin/poke.mnv | 36 ++ uvim/runtime/ftplugin/poke.vim | 36 -- uvim/runtime/ftplugin/postscr.mnv | 45 +++ uvim/runtime/ftplugin/postscr.vim | 45 --- uvim/runtime/ftplugin/pq.mnv | 16 + uvim/runtime/ftplugin/pq.vim | 16 - uvim/runtime/ftplugin/prisma.mnv | 13 + uvim/runtime/ftplugin/prisma.vim | 13 - uvim/runtime/ftplugin/procmail.mnv | 21 + uvim/runtime/ftplugin/procmail.vim | 21 - uvim/runtime/ftplugin/prolog.mnv | 20 + uvim/runtime/ftplugin/prolog.vim | 20 - uvim/runtime/ftplugin/proto.mnv | 18 + uvim/runtime/ftplugin/proto.vim | 18 - uvim/runtime/ftplugin/protocols.mnv | 19 + uvim/runtime/ftplugin/protocols.vim | 19 - uvim/runtime/ftplugin/ps1.mnv | 64 +++ uvim/runtime/ftplugin/ps1.vim | 64 --- uvim/runtime/ftplugin/ps1xml.mnv | 40 ++ uvim/runtime/ftplugin/ps1xml.vim | 40 -- uvim/runtime/ftplugin/ptx.mnv | 16 + uvim/runtime/ftplugin/ptx.vim | 16 - uvim/runtime/ftplugin/purescript.mnv | 14 + uvim/runtime/ftplugin/purescript.vim | 14 - uvim/runtime/ftplugin/pymanifest.mnv | 13 + uvim/runtime/ftplugin/pymanifest.vim | 13 - uvim/runtime/ftplugin/pyrex.mnv | 32 ++ uvim/runtime/ftplugin/pyrex.vim | 32 -- uvim/runtime/ftplugin/python.mnv | 200 +++++++++ uvim/runtime/ftplugin/python.vim | 200 --------- uvim/runtime/ftplugin/qb64.mnv | 26 ++ uvim/runtime/ftplugin/qb64.vim | 26 -- uvim/runtime/ftplugin/qf.mnv | 18 + uvim/runtime/ftplugin/qf.vim | 18 - uvim/runtime/ftplugin/qml.mnv | 38 ++ uvim/runtime/ftplugin/qml.vim | 38 -- uvim/runtime/ftplugin/quake.mnv | 19 + uvim/runtime/ftplugin/quake.vim | 19 - uvim/runtime/ftplugin/quarto.mnv | 5 + uvim/runtime/ftplugin/quarto.vim | 5 - uvim/runtime/ftplugin/r.mnv | 37 ++ uvim/runtime/ftplugin/r.vim | 37 -- uvim/runtime/ftplugin/racc.mnv | 20 + uvim/runtime/ftplugin/racc.vim | 20 - uvim/runtime/ftplugin/racket.mnv | 89 +++++ uvim/runtime/ftplugin/racket.vim | 89 ----- uvim/runtime/ftplugin/raku.mnv | 128 ++++++ uvim/runtime/ftplugin/raku.vim | 128 ------ uvim/runtime/ftplugin/rasi.mnv | 25 ++ uvim/runtime/ftplugin/rasi.vim | 25 -- uvim/runtime/ftplugin/readline.mnv | 49 +++ uvim/runtime/ftplugin/readline.vim | 49 --- uvim/runtime/ftplugin/registry.mnv | 41 ++ uvim/runtime/ftplugin/registry.vim | 41 -- uvim/runtime/ftplugin/remind.mnv | 14 + uvim/runtime/ftplugin/remind.vim | 14 - uvim/runtime/ftplugin/requirements.mnv | 47 +++ uvim/runtime/ftplugin/requirements.vim | 47 --- uvim/runtime/ftplugin/rescript.mnv | 13 + uvim/runtime/ftplugin/rescript.vim | 13 - uvim/runtime/ftplugin/reva.mnv | 28 ++ uvim/runtime/ftplugin/reva.vim | 28 -- uvim/runtime/ftplugin/rhelp.mnv | 35 ++ uvim/runtime/ftplugin/rhelp.vim | 35 -- uvim/runtime/ftplugin/rmd.mnv | 87 ++++ uvim/runtime/ftplugin/rmd.vim | 87 ---- uvim/runtime/ftplugin/rnc.mnv | 19 + uvim/runtime/ftplugin/rnc.vim | 19 - uvim/runtime/ftplugin/rnoweb.mnv | 63 +++ uvim/runtime/ftplugin/rnoweb.vim | 63 --- uvim/runtime/ftplugin/roc.mnv | 14 + uvim/runtime/ftplugin/roc.vim | 14 - uvim/runtime/ftplugin/routeros.mnv | 34 ++ uvim/runtime/ftplugin/routeros.vim | 34 -- uvim/runtime/ftplugin/rpl.mnv | 23 ++ uvim/runtime/ftplugin/rpl.vim | 23 -- uvim/runtime/ftplugin/rrst.mnv | 61 +++ uvim/runtime/ftplugin/rrst.vim | 61 --- uvim/runtime/ftplugin/rst.mnv | 52 +++ uvim/runtime/ftplugin/rst.vim | 52 --- uvim/runtime/ftplugin/ruby.mnv | 461 +++++++++++++++++++++ uvim/runtime/ftplugin/ruby.vim | 461 --------------------- uvim/runtime/ftplugin/rust.mnv | 243 +++++++++++ uvim/runtime/ftplugin/rust.vim | 243 ----------- uvim/runtime/ftplugin/samba.mnv | 14 + uvim/runtime/ftplugin/samba.vim | 14 - uvim/runtime/ftplugin/sass.mnv | 42 ++ uvim/runtime/ftplugin/sass.vim | 42 -- uvim/runtime/ftplugin/sbt.mnv | 14 + uvim/runtime/ftplugin/sbt.vim | 14 - uvim/runtime/ftplugin/scala.mnv | 38 ++ uvim/runtime/ftplugin/scala.vim | 38 -- uvim/runtime/ftplugin/scdoc.mnv | 23 ++ uvim/runtime/ftplugin/scdoc.vim | 23 -- uvim/runtime/ftplugin/scheme.mnv | 61 +++ uvim/runtime/ftplugin/scheme.vim | 61 --- uvim/runtime/ftplugin/screen.mnv | 19 + uvim/runtime/ftplugin/screen.vim | 19 - uvim/runtime/ftplugin/scss.mnv | 13 + uvim/runtime/ftplugin/scss.vim | 13 - uvim/runtime/ftplugin/sed.mnv | 33 ++ uvim/runtime/ftplugin/sed.vim | 33 -- uvim/runtime/ftplugin/sensors.mnv | 19 + uvim/runtime/ftplugin/sensors.vim | 19 - uvim/runtime/ftplugin/services.mnv | 19 + uvim/runtime/ftplugin/services.vim | 19 - uvim/runtime/ftplugin/setserial.mnv | 19 + uvim/runtime/ftplugin/setserial.vim | 19 - uvim/runtime/ftplugin/sexplib.mnv | 18 + uvim/runtime/ftplugin/sexplib.vim | 18 - uvim/runtime/ftplugin/sgml.mnv | 47 +++ uvim/runtime/ftplugin/sgml.vim | 47 --- uvim/runtime/ftplugin/sh.mnv | 80 ++++ uvim/runtime/ftplugin/sh.vim | 80 ---- uvim/runtime/ftplugin/shaderslang.mnv | 54 +++ uvim/runtime/ftplugin/shaderslang.vim | 54 --- uvim/runtime/ftplugin/sieve.mnv | 23 ++ uvim/runtime/ftplugin/sieve.vim | 23 -- uvim/runtime/ftplugin/skhd.mnv | 20 + uvim/runtime/ftplugin/skhd.vim | 20 - uvim/runtime/ftplugin/slint.mnv | 15 + uvim/runtime/ftplugin/slint.vim | 15 - uvim/runtime/ftplugin/slpconf.mnv | 20 + uvim/runtime/ftplugin/slpconf.vim | 20 - uvim/runtime/ftplugin/slpreg.mnv | 20 + uvim/runtime/ftplugin/slpreg.vim | 20 - uvim/runtime/ftplugin/slpspi.mnv | 20 + uvim/runtime/ftplugin/slpspi.vim | 20 - uvim/runtime/ftplugin/sml.mnv | 41 ++ uvim/runtime/ftplugin/sml.vim | 41 -- uvim/runtime/ftplugin/snakemake.mnv | 13 + uvim/runtime/ftplugin/snakemake.vim | 13 - uvim/runtime/ftplugin/solidity.mnv | 15 + uvim/runtime/ftplugin/solidity.vim | 15 - uvim/runtime/ftplugin/solution.mnv | 41 ++ uvim/runtime/ftplugin/solution.vim | 41 -- uvim/runtime/ftplugin/soy.mnv | 14 + uvim/runtime/ftplugin/soy.vim | 14 - uvim/runtime/ftplugin/spajson.mnv | 14 + uvim/runtime/ftplugin/spajson.vim | 14 - uvim/runtime/ftplugin/spec.mnv | 225 +++++++++++ uvim/runtime/ftplugin/spec.vim | 225 ----------- uvim/runtime/ftplugin/sql.mnv | 550 +++++++++++++++++++++++++ uvim/runtime/ftplugin/sql.vim | 550 ------------------------- uvim/runtime/ftplugin/squirrel.mnv | 17 + uvim/runtime/ftplugin/squirrel.vim | 17 - uvim/runtime/ftplugin/ssa.mnv | 13 + uvim/runtime/ftplugin/ssa.vim | 13 - uvim/runtime/ftplugin/sshconfig.mnv | 27 ++ uvim/runtime/ftplugin/sshconfig.vim | 27 -- uvim/runtime/ftplugin/sshdconfig.mnv | 10 + uvim/runtime/ftplugin/sshdconfig.vim | 10 - uvim/runtime/ftplugin/stylus.mnv | 54 +++ uvim/runtime/ftplugin/stylus.vim | 54 --- uvim/runtime/ftplugin/sudoers.mnv | 27 ++ uvim/runtime/ftplugin/sudoers.vim | 27 -- uvim/runtime/ftplugin/svelte.mnv | 40 ++ uvim/runtime/ftplugin/svelte.vim | 40 -- uvim/runtime/ftplugin/svg.mnv | 47 +++ uvim/runtime/ftplugin/svg.vim | 47 --- uvim/runtime/ftplugin/sway.mnv | 15 + uvim/runtime/ftplugin/sway.vim | 15 - uvim/runtime/ftplugin/swayconfig.mnv | 16 + uvim/runtime/ftplugin/swayconfig.vim | 16 - uvim/runtime/ftplugin/swift.mnv | 23 ++ uvim/runtime/ftplugin/swift.vim | 23 -- uvim/runtime/ftplugin/swiftgyb.mnv | 11 + uvim/runtime/ftplugin/swiftgyb.vim | 11 - uvim/runtime/ftplugin/swig.mnv | 16 + uvim/runtime/ftplugin/swig.vim | 16 - uvim/runtime/ftplugin/sysctl.mnv | 20 + uvim/runtime/ftplugin/sysctl.vim | 20 - uvim/runtime/ftplugin/sysml.mnv | 12 + uvim/runtime/ftplugin/sysml.vim | 12 - uvim/runtime/ftplugin/systemd.mnv | 30 ++ uvim/runtime/ftplugin/systemd.vim | 30 -- uvim/runtime/ftplugin/systemverilog.mnv | 45 +++ uvim/runtime/ftplugin/systemverilog.vim | 45 --- uvim/runtime/ftplugin/tap.mnv | 27 ++ uvim/runtime/ftplugin/tap.vim | 27 -- uvim/runtime/ftplugin/tcl.mnv | 43 ++ uvim/runtime/ftplugin/tcl.vim | 43 -- uvim/runtime/ftplugin/tcsh.mnv | 43 ++ uvim/runtime/ftplugin/tcsh.vim | 43 -- uvim/runtime/ftplugin/tera.mnv | 37 ++ uvim/runtime/ftplugin/tera.vim | 37 -- uvim/runtime/ftplugin/terminfo.mnv | 19 + uvim/runtime/ftplugin/terminfo.vim | 19 - uvim/runtime/ftplugin/terraform.mnv | 14 + uvim/runtime/ftplugin/terraform.vim | 14 - uvim/runtime/ftplugin/tex.mnv | 46 +++ uvim/runtime/ftplugin/tex.vim | 46 --- uvim/runtime/ftplugin/text.mnv | 18 + uvim/runtime/ftplugin/text.vim | 18 - uvim/runtime/ftplugin/tf.mnv | 13 + uvim/runtime/ftplugin/tf.vim | 13 - uvim/runtime/ftplugin/thrift.mnv | 17 + uvim/runtime/ftplugin/thrift.vim | 17 - uvim/runtime/ftplugin/tiasm.mnv | 18 + uvim/runtime/ftplugin/tiasm.vim | 18 - uvim/runtime/ftplugin/tidy.mnv | 36 ++ uvim/runtime/ftplugin/tidy.vim | 36 -- uvim/runtime/ftplugin/tmux.mnv | 15 + uvim/runtime/ftplugin/tmux.vim | 15 - uvim/runtime/ftplugin/toml.mnv | 24 ++ uvim/runtime/ftplugin/toml.vim | 24 -- uvim/runtime/ftplugin/treetop.mnv | 19 + uvim/runtime/ftplugin/treetop.vim | 19 - uvim/runtime/ftplugin/tt2html.mnv | 15 + uvim/runtime/ftplugin/tt2html.vim | 15 - uvim/runtime/ftplugin/tutor.mnv | 44 ++ uvim/runtime/ftplugin/tutor.vim | 44 -- uvim/runtime/ftplugin/twig.mnv | 14 + uvim/runtime/ftplugin/twig.vim | 14 - uvim/runtime/ftplugin/typescript.mnv | 45 +++ uvim/runtime/ftplugin/typescript.vim | 45 --- uvim/runtime/ftplugin/typescriptreact.mnv | 33 ++ uvim/runtime/ftplugin/typescriptreact.vim | 33 -- uvim/runtime/ftplugin/typst.mnv | 39 ++ uvim/runtime/ftplugin/typst.vim | 39 -- uvim/runtime/ftplugin/uc.mnv | 14 + uvim/runtime/ftplugin/uc.vim | 14 - uvim/runtime/ftplugin/uci.mnv | 21 + uvim/runtime/ftplugin/uci.vim | 21 - uvim/runtime/ftplugin/udevconf.mnv | 19 + uvim/runtime/ftplugin/udevconf.vim | 19 - uvim/runtime/ftplugin/udevperm.mnv | 19 + uvim/runtime/ftplugin/udevperm.vim | 19 - uvim/runtime/ftplugin/udevrules.mnv | 28 ++ uvim/runtime/ftplugin/udevrules.vim | 28 -- uvim/runtime/ftplugin/unison.mnv | 14 + uvim/runtime/ftplugin/unison.vim | 14 - uvim/runtime/ftplugin/updatedb.mnv | 19 + uvim/runtime/ftplugin/updatedb.vim | 19 - uvim/runtime/ftplugin/urlshortcut.mnv | 20 + uvim/runtime/ftplugin/urlshortcut.vim | 20 - uvim/runtime/ftplugin/usd.mnv | 14 + uvim/runtime/ftplugin/usd.vim | 14 - uvim/runtime/ftplugin/v.mnv | 15 + uvim/runtime/ftplugin/v.vim | 15 - uvim/runtime/ftplugin/vb.mnv | 75 ++++ uvim/runtime/ftplugin/vb.vim | 75 ---- uvim/runtime/ftplugin/vdf.mnv | 14 + uvim/runtime/ftplugin/vdf.vim | 14 - uvim/runtime/ftplugin/verilog.mnv | 73 ++++ uvim/runtime/ftplugin/verilog.vim | 73 ---- uvim/runtime/ftplugin/vhdl.mnv | 110 +++++ uvim/runtime/ftplugin/vhdl.vim | 110 ----- uvim/runtime/ftplugin/vim.vim | 224 ----------- uvim/runtime/ftplugin/vroom.mnv | 35 ++ uvim/runtime/ftplugin/vroom.vim | 35 -- uvim/runtime/ftplugin/vue.mnv | 32 ++ uvim/runtime/ftplugin/vue.vim | 32 -- uvim/runtime/ftplugin/wat.mnv | 18 + uvim/runtime/ftplugin/wat.vim | 18 - uvim/runtime/ftplugin/wget.mnv | 33 ++ uvim/runtime/ftplugin/wget.vim | 33 -- uvim/runtime/ftplugin/wget2.mnv | 33 ++ uvim/runtime/ftplugin/wget2.vim | 33 -- uvim/runtime/ftplugin/wks.mnv | 14 + uvim/runtime/ftplugin/wks.vim | 14 - uvim/runtime/ftplugin/xcompose.mnv | 13 + uvim/runtime/ftplugin/xcompose.vim | 13 - uvim/runtime/ftplugin/xdefaults.mnv | 21 + uvim/runtime/ftplugin/xdefaults.vim | 21 - uvim/runtime/ftplugin/xf86conf.mnv | 19 + uvim/runtime/ftplugin/xf86conf.vim | 19 - uvim/runtime/ftplugin/xhtml.mnv | 74 ++++ uvim/runtime/ftplugin/xhtml.vim | 74 ---- uvim/runtime/ftplugin/xinetd.mnv | 20 + uvim/runtime/ftplugin/xinetd.vim | 20 - uvim/runtime/ftplugin/xkb.mnv | 14 + uvim/runtime/ftplugin/xkb.vim | 14 - uvim/runtime/ftplugin/xml.mnv | 66 +++ uvim/runtime/ftplugin/xml.vim | 66 --- uvim/runtime/ftplugin/xmodmap.mnv | 19 + uvim/runtime/ftplugin/xmodmap.vim | 19 - uvim/runtime/ftplugin/xs.mnv | 15 + uvim/runtime/ftplugin/xs.vim | 15 - uvim/runtime/ftplugin/xsd.mnv | 46 +++ uvim/runtime/ftplugin/xsd.vim | 46 --- uvim/runtime/ftplugin/xslt.mnv | 18 + uvim/runtime/ftplugin/xslt.vim | 18 - uvim/runtime/ftplugin/yacc.mnv | 16 + uvim/runtime/ftplugin/yacc.vim | 16 - uvim/runtime/ftplugin/yaml.mnv | 41 ++ uvim/runtime/ftplugin/yaml.vim | 41 -- uvim/runtime/ftplugin/yara.mnv | 22 + uvim/runtime/ftplugin/yara.vim | 22 - uvim/runtime/ftplugin/zathurarc.mnv | 22 + uvim/runtime/ftplugin/zathurarc.vim | 22 - uvim/runtime/ftplugin/zig.mnv | 55 +++ uvim/runtime/ftplugin/zig.vim | 55 --- uvim/runtime/ftplugin/zimbu.mnv | 210 ++++++++++ uvim/runtime/ftplugin/zimbu.vim | 210 ---------- uvim/runtime/ftplugin/zsh.mnv | 47 +++ uvim/runtime/ftplugin/zsh.vim | 47 --- 859 files changed, 18061 insertions(+), 18061 deletions(-) create mode 100644 uvim/runtime/ftplugin/8th.mnv delete mode 100644 uvim/runtime/ftplugin/8th.vim create mode 100644 uvim/runtime/ftplugin/a2ps.mnv delete mode 100644 uvim/runtime/ftplugin/a2ps.vim create mode 100644 uvim/runtime/ftplugin/aap.mnv delete mode 100644 uvim/runtime/ftplugin/aap.vim create mode 100644 uvim/runtime/ftplugin/abap.mnv delete mode 100644 uvim/runtime/ftplugin/abap.vim create mode 100644 uvim/runtime/ftplugin/abaqus.mnv delete mode 100644 uvim/runtime/ftplugin/abaqus.vim create mode 100644 uvim/runtime/ftplugin/abnf.mnv delete mode 100644 uvim/runtime/ftplugin/abnf.vim create mode 100644 uvim/runtime/ftplugin/ada.mnv delete mode 100644 uvim/runtime/ftplugin/ada.vim create mode 100644 uvim/runtime/ftplugin/alsaconf.mnv delete mode 100644 uvim/runtime/ftplugin/alsaconf.vim create mode 100644 uvim/runtime/ftplugin/ant.mnv delete mode 100644 uvim/runtime/ftplugin/ant.vim create mode 100644 uvim/runtime/ftplugin/antlr4.mnv delete mode 100644 uvim/runtime/ftplugin/antlr4.vim create mode 100644 uvim/runtime/ftplugin/apache.mnv delete mode 100644 uvim/runtime/ftplugin/apache.vim create mode 100644 uvim/runtime/ftplugin/arch.mnv delete mode 100644 uvim/runtime/ftplugin/arch.vim create mode 100644 uvim/runtime/ftplugin/arduino.mnv delete mode 100644 uvim/runtime/ftplugin/arduino.vim create mode 100644 uvim/runtime/ftplugin/art.mnv delete mode 100644 uvim/runtime/ftplugin/art.vim create mode 100644 uvim/runtime/ftplugin/asciidoc.mnv delete mode 100644 uvim/runtime/ftplugin/asciidoc.vim create mode 100644 uvim/runtime/ftplugin/asm.mnv delete mode 100644 uvim/runtime/ftplugin/asm.vim create mode 100644 uvim/runtime/ftplugin/aspvbs.mnv delete mode 100644 uvim/runtime/ftplugin/aspvbs.vim create mode 100644 uvim/runtime/ftplugin/astro.mnv delete mode 100644 uvim/runtime/ftplugin/astro.vim create mode 100644 uvim/runtime/ftplugin/asy.mnv delete mode 100644 uvim/runtime/ftplugin/asy.vim create mode 100644 uvim/runtime/ftplugin/autohotkey.mnv delete mode 100644 uvim/runtime/ftplugin/autohotkey.vim create mode 100644 uvim/runtime/ftplugin/automake.mnv delete mode 100644 uvim/runtime/ftplugin/automake.vim create mode 100644 uvim/runtime/ftplugin/autopkgtest.mnv delete mode 100644 uvim/runtime/ftplugin/autopkgtest.vim create mode 100644 uvim/runtime/ftplugin/awk.mnv delete mode 100644 uvim/runtime/ftplugin/awk.vim create mode 100644 uvim/runtime/ftplugin/bash.mnv delete mode 100644 uvim/runtime/ftplugin/bash.vim create mode 100644 uvim/runtime/ftplugin/basic.mnv delete mode 100644 uvim/runtime/ftplugin/basic.vim create mode 100644 uvim/runtime/ftplugin/bdf.mnv delete mode 100644 uvim/runtime/ftplugin/bdf.vim create mode 100644 uvim/runtime/ftplugin/bicep-params.mnv delete mode 100644 uvim/runtime/ftplugin/bicep-params.vim create mode 100644 uvim/runtime/ftplugin/bicep.mnv delete mode 100644 uvim/runtime/ftplugin/bicep.vim create mode 100644 uvim/runtime/ftplugin/bindzone.mnv delete mode 100644 uvim/runtime/ftplugin/bindzone.vim create mode 100644 uvim/runtime/ftplugin/bitbake.mnv delete mode 100644 uvim/runtime/ftplugin/bitbake.vim create mode 100644 uvim/runtime/ftplugin/bp.mnv delete mode 100644 uvim/runtime/ftplugin/bp.vim create mode 100644 uvim/runtime/ftplugin/bpftrace.mnv delete mode 100644 uvim/runtime/ftplugin/bpftrace.vim create mode 100644 uvim/runtime/ftplugin/brighterscript.mnv delete mode 100644 uvim/runtime/ftplugin/brighterscript.vim create mode 100644 uvim/runtime/ftplugin/brightscript.mnv delete mode 100644 uvim/runtime/ftplugin/brightscript.vim create mode 100644 uvim/runtime/ftplugin/bst.mnv delete mode 100644 uvim/runtime/ftplugin/bst.vim create mode 100644 uvim/runtime/ftplugin/btm.mnv delete mode 100644 uvim/runtime/ftplugin/btm.vim create mode 100644 uvim/runtime/ftplugin/bzl.mnv delete mode 100644 uvim/runtime/ftplugin/bzl.vim create mode 100644 uvim/runtime/ftplugin/c.mnv delete mode 100644 uvim/runtime/ftplugin/c.vim create mode 100644 uvim/runtime/ftplugin/c3.mnv delete mode 100644 uvim/runtime/ftplugin/c3.vim create mode 100644 uvim/runtime/ftplugin/cabal.mnv delete mode 100644 uvim/runtime/ftplugin/cabal.vim create mode 100644 uvim/runtime/ftplugin/calendar.mnv delete mode 100644 uvim/runtime/ftplugin/calendar.vim create mode 100644 uvim/runtime/ftplugin/cdrdaoconf.mnv delete mode 100644 uvim/runtime/ftplugin/cdrdaoconf.vim create mode 100644 uvim/runtime/ftplugin/cedar.mnv delete mode 100644 uvim/runtime/ftplugin/cedar.vim create mode 100644 uvim/runtime/ftplugin/cfg.mnv delete mode 100644 uvim/runtime/ftplugin/cfg.vim create mode 100644 uvim/runtime/ftplugin/cgdbrc.mnv delete mode 100644 uvim/runtime/ftplugin/cgdbrc.vim create mode 100644 uvim/runtime/ftplugin/ch.mnv delete mode 100644 uvim/runtime/ftplugin/ch.vim create mode 100644 uvim/runtime/ftplugin/changelog.mnv delete mode 100644 uvim/runtime/ftplugin/changelog.vim create mode 100644 uvim/runtime/ftplugin/chatito.mnv delete mode 100644 uvim/runtime/ftplugin/chatito.vim create mode 100644 uvim/runtime/ftplugin/chicken.mnv delete mode 100644 uvim/runtime/ftplugin/chicken.vim create mode 100644 uvim/runtime/ftplugin/clojure.mnv delete mode 100644 uvim/runtime/ftplugin/clojure.vim create mode 100644 uvim/runtime/ftplugin/cmake.mnv delete mode 100644 uvim/runtime/ftplugin/cmake.vim create mode 100644 uvim/runtime/ftplugin/cmakecache.mnv delete mode 100644 uvim/runtime/ftplugin/cmakecache.vim create mode 100644 uvim/runtime/ftplugin/cobol.mnv delete mode 100644 uvim/runtime/ftplugin/cobol.vim create mode 100644 uvim/runtime/ftplugin/codeowners.mnv delete mode 100644 uvim/runtime/ftplugin/codeowners.vim create mode 100644 uvim/runtime/ftplugin/conf.mnv delete mode 100644 uvim/runtime/ftplugin/conf.vim create mode 100644 uvim/runtime/ftplugin/config.mnv delete mode 100644 uvim/runtime/ftplugin/config.vim create mode 100644 uvim/runtime/ftplugin/confini.mnv delete mode 100644 uvim/runtime/ftplugin/confini.vim create mode 100644 uvim/runtime/ftplugin/context.mnv delete mode 100644 uvim/runtime/ftplugin/context.vim create mode 100644 uvim/runtime/ftplugin/cook.mnv delete mode 100644 uvim/runtime/ftplugin/cook.vim create mode 100644 uvim/runtime/ftplugin/corn.mnv delete mode 100644 uvim/runtime/ftplugin/corn.vim create mode 100644 uvim/runtime/ftplugin/cpp.mnv delete mode 100644 uvim/runtime/ftplugin/cpp.vim create mode 100644 uvim/runtime/ftplugin/crm.mnv delete mode 100644 uvim/runtime/ftplugin/crm.vim create mode 100644 uvim/runtime/ftplugin/crontab.mnv delete mode 100644 uvim/runtime/ftplugin/crontab.vim create mode 100644 uvim/runtime/ftplugin/cs.mnv delete mode 100644 uvim/runtime/ftplugin/cs.vim create mode 100644 uvim/runtime/ftplugin/csc.mnv delete mode 100644 uvim/runtime/ftplugin/csc.vim create mode 100644 uvim/runtime/ftplugin/csh.mnv delete mode 100644 uvim/runtime/ftplugin/csh.vim create mode 100644 uvim/runtime/ftplugin/css.mnv delete mode 100644 uvim/runtime/ftplugin/css.vim create mode 100644 uvim/runtime/ftplugin/csv.mnv delete mode 100644 uvim/runtime/ftplugin/csv.vim create mode 100644 uvim/runtime/ftplugin/cucumber.mnv delete mode 100644 uvim/runtime/ftplugin/cucumber.vim create mode 100644 uvim/runtime/ftplugin/cuda.mnv delete mode 100644 uvim/runtime/ftplugin/cuda.vim create mode 100644 uvim/runtime/ftplugin/cvsrc.mnv delete mode 100644 uvim/runtime/ftplugin/cvsrc.vim create mode 100644 uvim/runtime/ftplugin/dart.mnv delete mode 100644 uvim/runtime/ftplugin/dart.vim create mode 100644 uvim/runtime/ftplugin/dax.mnv delete mode 100644 uvim/runtime/ftplugin/dax.vim create mode 100644 uvim/runtime/ftplugin/deb822sources.mnv delete mode 100644 uvim/runtime/ftplugin/deb822sources.vim create mode 100644 uvim/runtime/ftplugin/debchangelog.mnv delete mode 100644 uvim/runtime/ftplugin/debchangelog.vim create mode 100644 uvim/runtime/ftplugin/debcontrol.mnv delete mode 100644 uvim/runtime/ftplugin/debcontrol.vim create mode 100644 uvim/runtime/ftplugin/debsources.mnv delete mode 100644 uvim/runtime/ftplugin/debsources.vim create mode 100644 uvim/runtime/ftplugin/denyhosts.mnv delete mode 100644 uvim/runtime/ftplugin/denyhosts.vim create mode 100644 uvim/runtime/ftplugin/desktop.mnv delete mode 100644 uvim/runtime/ftplugin/desktop.vim create mode 100644 uvim/runtime/ftplugin/dictconf.mnv delete mode 100644 uvim/runtime/ftplugin/dictconf.vim create mode 100644 uvim/runtime/ftplugin/dictdconf.mnv delete mode 100644 uvim/runtime/ftplugin/dictdconf.vim create mode 100644 uvim/runtime/ftplugin/diff.mnv delete mode 100644 uvim/runtime/ftplugin/diff.vim create mode 100644 uvim/runtime/ftplugin/dircolors.mnv delete mode 100644 uvim/runtime/ftplugin/dircolors.vim create mode 100644 uvim/runtime/ftplugin/dnsmasq.mnv delete mode 100644 uvim/runtime/ftplugin/dnsmasq.vim create mode 100644 uvim/runtime/ftplugin/docbk.mnv delete mode 100644 uvim/runtime/ftplugin/docbk.vim create mode 100644 uvim/runtime/ftplugin/dockerfile.mnv delete mode 100644 uvim/runtime/ftplugin/dockerfile.vim create mode 100644 uvim/runtime/ftplugin/dosbatch.mnv delete mode 100644 uvim/runtime/ftplugin/dosbatch.vim create mode 100644 uvim/runtime/ftplugin/dosini.mnv delete mode 100644 uvim/runtime/ftplugin/dosini.vim create mode 100644 uvim/runtime/ftplugin/dtd.mnv delete mode 100644 uvim/runtime/ftplugin/dtd.vim create mode 100644 uvim/runtime/ftplugin/dtrace.mnv delete mode 100644 uvim/runtime/ftplugin/dtrace.vim create mode 100644 uvim/runtime/ftplugin/dts.mnv delete mode 100644 uvim/runtime/ftplugin/dts.vim create mode 100644 uvim/runtime/ftplugin/dune.mnv delete mode 100644 uvim/runtime/ftplugin/dune.vim create mode 100644 uvim/runtime/ftplugin/editorconfig.mnv delete mode 100644 uvim/runtime/ftplugin/editorconfig.vim create mode 100644 uvim/runtime/ftplugin/eiffel.mnv delete mode 100644 uvim/runtime/ftplugin/eiffel.vim create mode 100644 uvim/runtime/ftplugin/elinks.mnv delete mode 100644 uvim/runtime/ftplugin/elinks.vim create mode 100644 uvim/runtime/ftplugin/elixir.mnv delete mode 100644 uvim/runtime/ftplugin/elixir.vim create mode 100644 uvim/runtime/ftplugin/elm.mnv delete mode 100644 uvim/runtime/ftplugin/elm.vim create mode 100644 uvim/runtime/ftplugin/env.mnv delete mode 100644 uvim/runtime/ftplugin/env.vim create mode 100644 uvim/runtime/ftplugin/erlang.mnv delete mode 100644 uvim/runtime/ftplugin/erlang.vim create mode 100644 uvim/runtime/ftplugin/eruby.mnv delete mode 100644 uvim/runtime/ftplugin/eruby.vim create mode 100644 uvim/runtime/ftplugin/eterm.mnv delete mode 100644 uvim/runtime/ftplugin/eterm.vim create mode 100644 uvim/runtime/ftplugin/expect.mnv delete mode 100644 uvim/runtime/ftplugin/expect.vim create mode 100644 uvim/runtime/ftplugin/exports.mnv delete mode 100644 uvim/runtime/ftplugin/exports.vim create mode 100644 uvim/runtime/ftplugin/falcon.mnv delete mode 100644 uvim/runtime/ftplugin/falcon.vim create mode 100644 uvim/runtime/ftplugin/fennel.mnv delete mode 100644 uvim/runtime/ftplugin/fennel.vim create mode 100644 uvim/runtime/ftplugin/fetchmail.mnv delete mode 100644 uvim/runtime/ftplugin/fetchmail.vim create mode 100644 uvim/runtime/ftplugin/fga.mnv delete mode 100644 uvim/runtime/ftplugin/fga.vim create mode 100644 uvim/runtime/ftplugin/fish.mnv delete mode 100644 uvim/runtime/ftplugin/fish.vim create mode 100644 uvim/runtime/ftplugin/flexwiki.mnv delete mode 100644 uvim/runtime/ftplugin/flexwiki.vim create mode 100644 uvim/runtime/ftplugin/forth.mnv delete mode 100644 uvim/runtime/ftplugin/forth.vim create mode 100644 uvim/runtime/ftplugin/fortran.mnv delete mode 100644 uvim/runtime/ftplugin/fortran.vim create mode 100644 uvim/runtime/ftplugin/fpcmake.mnv delete mode 100644 uvim/runtime/ftplugin/fpcmake.vim create mode 100644 uvim/runtime/ftplugin/framescript.mnv delete mode 100644 uvim/runtime/ftplugin/framescript.vim create mode 100644 uvim/runtime/ftplugin/freebasic.mnv delete mode 100644 uvim/runtime/ftplugin/freebasic.vim create mode 100644 uvim/runtime/ftplugin/fstab.mnv delete mode 100644 uvim/runtime/ftplugin/fstab.vim create mode 100644 uvim/runtime/ftplugin/fvwm.mnv delete mode 100644 uvim/runtime/ftplugin/fvwm.vim create mode 100644 uvim/runtime/ftplugin/gdb.mnv delete mode 100644 uvim/runtime/ftplugin/gdb.vim create mode 100644 uvim/runtime/ftplugin/gdscript.mnv delete mode 100644 uvim/runtime/ftplugin/gdscript.vim create mode 100644 uvim/runtime/ftplugin/gdshader.mnv delete mode 100644 uvim/runtime/ftplugin/gdshader.vim create mode 100644 uvim/runtime/ftplugin/gel.mnv delete mode 100644 uvim/runtime/ftplugin/gel.vim create mode 100644 uvim/runtime/ftplugin/git.mnv delete mode 100644 uvim/runtime/ftplugin/git.vim create mode 100644 uvim/runtime/ftplugin/gitattributes.mnv delete mode 100644 uvim/runtime/ftplugin/gitattributes.vim create mode 100644 uvim/runtime/ftplugin/gitcommit.mnv delete mode 100644 uvim/runtime/ftplugin/gitcommit.vim create mode 100644 uvim/runtime/ftplugin/gitconfig.mnv delete mode 100644 uvim/runtime/ftplugin/gitconfig.vim create mode 100644 uvim/runtime/ftplugin/gitignore.mnv delete mode 100644 uvim/runtime/ftplugin/gitignore.vim create mode 100644 uvim/runtime/ftplugin/gitrebase.mnv delete mode 100644 uvim/runtime/ftplugin/gitrebase.vim create mode 100644 uvim/runtime/ftplugin/gitsendemail.mnv delete mode 100644 uvim/runtime/ftplugin/gitsendemail.vim create mode 100644 uvim/runtime/ftplugin/gleam.mnv delete mode 100644 uvim/runtime/ftplugin/gleam.vim create mode 100644 uvim/runtime/ftplugin/go.mnv delete mode 100644 uvim/runtime/ftplugin/go.vim create mode 100644 uvim/runtime/ftplugin/goaccess.mnv delete mode 100644 uvim/runtime/ftplugin/goaccess.vim create mode 100644 uvim/runtime/ftplugin/gomod.mnv delete mode 100644 uvim/runtime/ftplugin/gomod.vim create mode 100644 uvim/runtime/ftplugin/gpg.mnv delete mode 100644 uvim/runtime/ftplugin/gpg.vim create mode 100644 uvim/runtime/ftplugin/gprof.mnv delete mode 100644 uvim/runtime/ftplugin/gprof.vim create mode 100644 uvim/runtime/ftplugin/graphql.mnv delete mode 100644 uvim/runtime/ftplugin/graphql.vim create mode 100644 uvim/runtime/ftplugin/groff.mnv delete mode 100644 uvim/runtime/ftplugin/groff.vim create mode 100644 uvim/runtime/ftplugin/groovy.mnv delete mode 100644 uvim/runtime/ftplugin/groovy.vim create mode 100644 uvim/runtime/ftplugin/group.mnv delete mode 100644 uvim/runtime/ftplugin/group.vim create mode 100644 uvim/runtime/ftplugin/grub.mnv delete mode 100644 uvim/runtime/ftplugin/grub.vim create mode 100644 uvim/runtime/ftplugin/gyp.mnv delete mode 100644 uvim/runtime/ftplugin/gyp.vim create mode 100644 uvim/runtime/ftplugin/haml.mnv delete mode 100644 uvim/runtime/ftplugin/haml.vim create mode 100644 uvim/runtime/ftplugin/hamster.mnv delete mode 100644 uvim/runtime/ftplugin/hamster.vim create mode 100644 uvim/runtime/ftplugin/hare.mnv delete mode 100644 uvim/runtime/ftplugin/hare.vim create mode 100644 uvim/runtime/ftplugin/haredoc.mnv delete mode 100644 uvim/runtime/ftplugin/haredoc.vim create mode 100644 uvim/runtime/ftplugin/haskell.mnv delete mode 100644 uvim/runtime/ftplugin/haskell.vim create mode 100644 uvim/runtime/ftplugin/hcl.mnv delete mode 100644 uvim/runtime/ftplugin/hcl.vim create mode 100644 uvim/runtime/ftplugin/heex.mnv delete mode 100644 uvim/runtime/ftplugin/heex.vim create mode 100644 uvim/runtime/ftplugin/help.mnv delete mode 100644 uvim/runtime/ftplugin/help.vim create mode 100644 uvim/runtime/ftplugin/hgcommit.mnv delete mode 100644 uvim/runtime/ftplugin/hgcommit.vim create mode 100644 uvim/runtime/ftplugin/hlsplaylist.mnv delete mode 100644 uvim/runtime/ftplugin/hlsplaylist.vim create mode 100644 uvim/runtime/ftplugin/hog.mnv delete mode 100644 uvim/runtime/ftplugin/hog.vim create mode 100644 uvim/runtime/ftplugin/hostconf.mnv delete mode 100644 uvim/runtime/ftplugin/hostconf.vim create mode 100644 uvim/runtime/ftplugin/hostsaccess.mnv delete mode 100644 uvim/runtime/ftplugin/hostsaccess.vim create mode 100644 uvim/runtime/ftplugin/html.mnv delete mode 100644 uvim/runtime/ftplugin/html.vim create mode 100644 uvim/runtime/ftplugin/htmlangular.mnv delete mode 100644 uvim/runtime/ftplugin/htmlangular.vim create mode 100644 uvim/runtime/ftplugin/htmldjango.mnv delete mode 100644 uvim/runtime/ftplugin/htmldjango.vim create mode 100644 uvim/runtime/ftplugin/http.mnv delete mode 100644 uvim/runtime/ftplugin/http.vim create mode 100644 uvim/runtime/ftplugin/hurl.mnv delete mode 100644 uvim/runtime/ftplugin/hurl.vim create mode 100644 uvim/runtime/ftplugin/hyprlang.mnv delete mode 100644 uvim/runtime/ftplugin/hyprlang.vim create mode 100644 uvim/runtime/ftplugin/i3config.mnv delete mode 100644 uvim/runtime/ftplugin/i3config.vim create mode 100644 uvim/runtime/ftplugin/icon.mnv delete mode 100644 uvim/runtime/ftplugin/icon.vim create mode 100644 uvim/runtime/ftplugin/idris2.mnv delete mode 100644 uvim/runtime/ftplugin/idris2.vim create mode 100644 uvim/runtime/ftplugin/indent.mnv delete mode 100644 uvim/runtime/ftplugin/indent.vim create mode 100644 uvim/runtime/ftplugin/initex.mnv delete mode 100644 uvim/runtime/ftplugin/initex.vim create mode 100644 uvim/runtime/ftplugin/ipkg.mnv delete mode 100644 uvim/runtime/ftplugin/ipkg.vim create mode 100644 uvim/runtime/ftplugin/ishd.mnv delete mode 100644 uvim/runtime/ftplugin/ishd.vim create mode 100644 uvim/runtime/ftplugin/j.mnv delete mode 100644 uvim/runtime/ftplugin/j.vim create mode 100644 uvim/runtime/ftplugin/java.mnv delete mode 100644 uvim/runtime/ftplugin/java.vim create mode 100644 uvim/runtime/ftplugin/javacc.mnv delete mode 100644 uvim/runtime/ftplugin/javacc.vim create mode 100644 uvim/runtime/ftplugin/javascript.mnv delete mode 100644 uvim/runtime/ftplugin/javascript.vim create mode 100644 uvim/runtime/ftplugin/javascriptreact.mnv delete mode 100644 uvim/runtime/ftplugin/javascriptreact.vim create mode 100644 uvim/runtime/ftplugin/jjdescription.mnv delete mode 100644 uvim/runtime/ftplugin/jjdescription.vim create mode 100644 uvim/runtime/ftplugin/jproperties.mnv delete mode 100644 uvim/runtime/ftplugin/jproperties.vim create mode 100644 uvim/runtime/ftplugin/jq.mnv delete mode 100644 uvim/runtime/ftplugin/jq.vim create mode 100644 uvim/runtime/ftplugin/json.mnv delete mode 100644 uvim/runtime/ftplugin/json.vim create mode 100644 uvim/runtime/ftplugin/json5.mnv delete mode 100644 uvim/runtime/ftplugin/json5.vim create mode 100644 uvim/runtime/ftplugin/jsonc.mnv delete mode 100644 uvim/runtime/ftplugin/jsonc.vim create mode 100644 uvim/runtime/ftplugin/jsonnet.mnv delete mode 100644 uvim/runtime/ftplugin/jsonnet.vim create mode 100644 uvim/runtime/ftplugin/jsp.mnv delete mode 100644 uvim/runtime/ftplugin/jsp.vim create mode 100644 uvim/runtime/ftplugin/julia.mnv delete mode 100644 uvim/runtime/ftplugin/julia.vim create mode 100644 uvim/runtime/ftplugin/just.mnv delete mode 100644 uvim/runtime/ftplugin/just.vim create mode 100644 uvim/runtime/ftplugin/karel.mnv delete mode 100644 uvim/runtime/ftplugin/karel.vim create mode 100644 uvim/runtime/ftplugin/kconfig.mnv delete mode 100644 uvim/runtime/ftplugin/kconfig.vim create mode 100644 uvim/runtime/ftplugin/kdl.mnv delete mode 100644 uvim/runtime/ftplugin/kdl.vim create mode 100644 uvim/runtime/ftplugin/kerml.mnv delete mode 100644 uvim/runtime/ftplugin/kerml.vim create mode 100644 uvim/runtime/ftplugin/kitty.mnv delete mode 100644 uvim/runtime/ftplugin/kitty.vim create mode 100644 uvim/runtime/ftplugin/kivy.mnv delete mode 100644 uvim/runtime/ftplugin/kivy.vim create mode 100644 uvim/runtime/ftplugin/kotlin.mnv delete mode 100644 uvim/runtime/ftplugin/kotlin.vim create mode 100644 uvim/runtime/ftplugin/kwt.mnv delete mode 100644 uvim/runtime/ftplugin/kwt.vim create mode 100644 uvim/runtime/ftplugin/lc.mnv delete mode 100644 uvim/runtime/ftplugin/lc.vim create mode 100644 uvim/runtime/ftplugin/ld.mnv delete mode 100644 uvim/runtime/ftplugin/ld.vim create mode 100644 uvim/runtime/ftplugin/ldapconf.mnv delete mode 100644 uvim/runtime/ftplugin/ldapconf.vim create mode 100644 uvim/runtime/ftplugin/leex.mnv delete mode 100644 uvim/runtime/ftplugin/leex.vim create mode 100644 uvim/runtime/ftplugin/leo.mnv delete mode 100644 uvim/runtime/ftplugin/leo.vim create mode 100644 uvim/runtime/ftplugin/less.mnv delete mode 100644 uvim/runtime/ftplugin/less.vim create mode 100644 uvim/runtime/ftplugin/lex.mnv delete mode 100644 uvim/runtime/ftplugin/lex.vim create mode 100644 uvim/runtime/ftplugin/lf.mnv delete mode 100644 uvim/runtime/ftplugin/lf.vim create mode 100644 uvim/runtime/ftplugin/lftp.mnv delete mode 100644 uvim/runtime/ftplugin/lftp.vim create mode 100644 uvim/runtime/ftplugin/libao.mnv delete mode 100644 uvim/runtime/ftplugin/libao.vim create mode 100644 uvim/runtime/ftplugin/limits.mnv delete mode 100644 uvim/runtime/ftplugin/limits.vim create mode 100644 uvim/runtime/ftplugin/liquid.mnv delete mode 100644 uvim/runtime/ftplugin/liquid.vim create mode 100644 uvim/runtime/ftplugin/lisp.mnv delete mode 100644 uvim/runtime/ftplugin/lisp.vim create mode 100644 uvim/runtime/ftplugin/livebook.mnv delete mode 100644 uvim/runtime/ftplugin/livebook.vim create mode 100644 uvim/runtime/ftplugin/llvm.mnv delete mode 100644 uvim/runtime/ftplugin/llvm.vim create mode 100644 uvim/runtime/ftplugin/lnk.mnv delete mode 100644 uvim/runtime/ftplugin/lnk.vim create mode 100644 uvim/runtime/ftplugin/lnkmap.mnv delete mode 100644 uvim/runtime/ftplugin/lnkmap.vim create mode 100644 uvim/runtime/ftplugin/logcheck.mnv delete mode 100644 uvim/runtime/ftplugin/logcheck.vim create mode 100644 uvim/runtime/ftplugin/loginaccess.mnv delete mode 100644 uvim/runtime/ftplugin/loginaccess.vim create mode 100644 uvim/runtime/ftplugin/logindefs.mnv delete mode 100644 uvim/runtime/ftplugin/logindefs.vim create mode 100644 uvim/runtime/ftplugin/logtalk.mnv delete mode 100644 uvim/runtime/ftplugin/logtalk.vim create mode 100644 uvim/runtime/ftplugin/lprolog.mnv delete mode 100644 uvim/runtime/ftplugin/lprolog.vim create mode 100644 uvim/runtime/ftplugin/lua.mnv delete mode 100644 uvim/runtime/ftplugin/lua.vim create mode 100644 uvim/runtime/ftplugin/luau.mnv delete mode 100644 uvim/runtime/ftplugin/luau.vim create mode 100644 uvim/runtime/ftplugin/lynx.mnv delete mode 100644 uvim/runtime/ftplugin/lynx.vim create mode 100644 uvim/runtime/ftplugin/m17ndb.mnv delete mode 100644 uvim/runtime/ftplugin/m17ndb.vim create mode 100644 uvim/runtime/ftplugin/m3build.mnv delete mode 100644 uvim/runtime/ftplugin/m3build.vim create mode 100644 uvim/runtime/ftplugin/m3quake.mnv delete mode 100644 uvim/runtime/ftplugin/m3quake.vim create mode 100644 uvim/runtime/ftplugin/m4.mnv delete mode 100644 uvim/runtime/ftplugin/m4.vim create mode 100644 uvim/runtime/ftplugin/mail.mnv delete mode 100644 uvim/runtime/ftplugin/mail.vim create mode 100644 uvim/runtime/ftplugin/mailaliases.mnv delete mode 100644 uvim/runtime/ftplugin/mailaliases.vim create mode 100644 uvim/runtime/ftplugin/mailcap.mnv delete mode 100644 uvim/runtime/ftplugin/mailcap.vim create mode 100644 uvim/runtime/ftplugin/make.mnv delete mode 100644 uvim/runtime/ftplugin/make.vim create mode 100644 uvim/runtime/ftplugin/man.mnv delete mode 100644 uvim/runtime/ftplugin/man.vim create mode 100644 uvim/runtime/ftplugin/manconf.mnv delete mode 100644 uvim/runtime/ftplugin/manconf.vim create mode 100644 uvim/runtime/ftplugin/markdown.mnv delete mode 100644 uvim/runtime/ftplugin/markdown.vim create mode 100644 uvim/runtime/ftplugin/masm.mnv delete mode 100644 uvim/runtime/ftplugin/masm.vim create mode 100644 uvim/runtime/ftplugin/matlab.mnv delete mode 100644 uvim/runtime/ftplugin/matlab.vim create mode 100644 uvim/runtime/ftplugin/mbsync.mnv delete mode 100644 uvim/runtime/ftplugin/mbsync.vim create mode 100644 uvim/runtime/ftplugin/mediawiki.mnv delete mode 100644 uvim/runtime/ftplugin/mediawiki.vim create mode 100644 uvim/runtime/ftplugin/mermaid.mnv delete mode 100644 uvim/runtime/ftplugin/mermaid.vim create mode 100644 uvim/runtime/ftplugin/meson.mnv delete mode 100644 uvim/runtime/ftplugin/meson.vim create mode 100644 uvim/runtime/ftplugin/mf.mnv delete mode 100644 uvim/runtime/ftplugin/mf.vim create mode 100644 uvim/runtime/ftplugin/mlir.mnv delete mode 100644 uvim/runtime/ftplugin/mlir.vim create mode 100644 uvim/runtime/ftplugin/mma.mnv delete mode 100644 uvim/runtime/ftplugin/mma.vim create mode 100644 uvim/runtime/ftplugin/mnv.mnv create mode 100644 uvim/runtime/ftplugin/modconf.mnv delete mode 100644 uvim/runtime/ftplugin/modconf.vim create mode 100644 uvim/runtime/ftplugin/modula2.mnv delete mode 100644 uvim/runtime/ftplugin/modula2.vim create mode 100644 uvim/runtime/ftplugin/modula3.mnv delete mode 100644 uvim/runtime/ftplugin/modula3.vim create mode 100644 uvim/runtime/ftplugin/mojo.mnv delete mode 100644 uvim/runtime/ftplugin/mojo.vim create mode 100644 uvim/runtime/ftplugin/mp.mnv delete mode 100644 uvim/runtime/ftplugin/mp.vim create mode 100644 uvim/runtime/ftplugin/mplayerconf.mnv delete mode 100644 uvim/runtime/ftplugin/mplayerconf.vim create mode 100644 uvim/runtime/ftplugin/mrxvtrc.mnv delete mode 100644 uvim/runtime/ftplugin/mrxvtrc.vim create mode 100644 uvim/runtime/ftplugin/msmessages.mnv delete mode 100644 uvim/runtime/ftplugin/msmessages.vim create mode 100644 uvim/runtime/ftplugin/mss.mnv delete mode 100644 uvim/runtime/ftplugin/mss.vim create mode 100644 uvim/runtime/ftplugin/muttrc.mnv delete mode 100644 uvim/runtime/ftplugin/muttrc.vim create mode 100644 uvim/runtime/ftplugin/mysql.mnv delete mode 100644 uvim/runtime/ftplugin/mysql.vim create mode 100644 uvim/runtime/ftplugin/nanorc.mnv delete mode 100644 uvim/runtime/ftplugin/nanorc.vim create mode 100644 uvim/runtime/ftplugin/neomuttrc.mnv delete mode 100644 uvim/runtime/ftplugin/neomuttrc.vim create mode 100644 uvim/runtime/ftplugin/netrc.mnv delete mode 100644 uvim/runtime/ftplugin/netrc.vim create mode 100644 uvim/runtime/ftplugin/nginx.mnv delete mode 100644 uvim/runtime/ftplugin/nginx.vim create mode 100644 uvim/runtime/ftplugin/nickel.mnv delete mode 100644 uvim/runtime/ftplugin/nickel.vim create mode 100644 uvim/runtime/ftplugin/nim.mnv delete mode 100644 uvim/runtime/ftplugin/nim.vim create mode 100644 uvim/runtime/ftplugin/nix.mnv delete mode 100644 uvim/runtime/ftplugin/nix.vim create mode 100644 uvim/runtime/ftplugin/nroff.mnv delete mode 100644 uvim/runtime/ftplugin/nroff.vim create mode 100644 uvim/runtime/ftplugin/nsis.mnv delete mode 100644 uvim/runtime/ftplugin/nsis.vim create mode 100644 uvim/runtime/ftplugin/nu.mnv delete mode 100644 uvim/runtime/ftplugin/nu.vim create mode 100644 uvim/runtime/ftplugin/objc.mnv delete mode 100644 uvim/runtime/ftplugin/objc.vim create mode 100644 uvim/runtime/ftplugin/objcpp.mnv delete mode 100644 uvim/runtime/ftplugin/objcpp.vim create mode 100644 uvim/runtime/ftplugin/objdump.mnv delete mode 100644 uvim/runtime/ftplugin/objdump.vim create mode 100644 uvim/runtime/ftplugin/obse.mnv delete mode 100644 uvim/runtime/ftplugin/obse.vim create mode 100644 uvim/runtime/ftplugin/ocaml.mnv delete mode 100644 uvim/runtime/ftplugin/ocaml.vim create mode 100644 uvim/runtime/ftplugin/occam.mnv delete mode 100644 uvim/runtime/ftplugin/occam.vim create mode 100644 uvim/runtime/ftplugin/octave.mnv delete mode 100644 uvim/runtime/ftplugin/octave.vim create mode 100644 uvim/runtime/ftplugin/odin.mnv delete mode 100644 uvim/runtime/ftplugin/odin.vim create mode 100644 uvim/runtime/ftplugin/ondir.mnv delete mode 100644 uvim/runtime/ftplugin/ondir.vim create mode 100644 uvim/runtime/ftplugin/opencl.mnv delete mode 100644 uvim/runtime/ftplugin/opencl.vim create mode 100644 uvim/runtime/ftplugin/openscad.mnv delete mode 100644 uvim/runtime/ftplugin/openscad.vim create mode 100644 uvim/runtime/ftplugin/openvpn.mnv delete mode 100644 uvim/runtime/ftplugin/openvpn.vim create mode 100644 uvim/runtime/ftplugin/org.mnv delete mode 100644 uvim/runtime/ftplugin/org.vim create mode 100644 uvim/runtime/ftplugin/pamconf.mnv delete mode 100644 uvim/runtime/ftplugin/pamconf.vim create mode 100644 uvim/runtime/ftplugin/pascal.mnv delete mode 100644 uvim/runtime/ftplugin/pascal.vim create mode 100644 uvim/runtime/ftplugin/passwd.mnv delete mode 100644 uvim/runtime/ftplugin/passwd.vim create mode 100644 uvim/runtime/ftplugin/pbtxt.mnv delete mode 100644 uvim/runtime/ftplugin/pbtxt.vim create mode 100644 uvim/runtime/ftplugin/pdf.mnv delete mode 100644 uvim/runtime/ftplugin/pdf.vim create mode 100644 uvim/runtime/ftplugin/perl.mnv delete mode 100644 uvim/runtime/ftplugin/perl.vim create mode 100644 uvim/runtime/ftplugin/php.mnv delete mode 100644 uvim/runtime/ftplugin/php.vim create mode 100644 uvim/runtime/ftplugin/pinfo.mnv delete mode 100644 uvim/runtime/ftplugin/pinfo.vim create mode 100644 uvim/runtime/ftplugin/pkl.mnv delete mode 100644 uvim/runtime/ftplugin/pkl.vim create mode 100644 uvim/runtime/ftplugin/plaintex.mnv delete mode 100644 uvim/runtime/ftplugin/plaintex.vim create mode 100644 uvim/runtime/ftplugin/plsql.mnv delete mode 100644 uvim/runtime/ftplugin/plsql.vim create mode 100644 uvim/runtime/ftplugin/pod.mnv delete mode 100644 uvim/runtime/ftplugin/pod.vim create mode 100644 uvim/runtime/ftplugin/poefilter.mnv delete mode 100644 uvim/runtime/ftplugin/poefilter.vim create mode 100644 uvim/runtime/ftplugin/poke.mnv delete mode 100644 uvim/runtime/ftplugin/poke.vim create mode 100644 uvim/runtime/ftplugin/postscr.mnv delete mode 100644 uvim/runtime/ftplugin/postscr.vim create mode 100644 uvim/runtime/ftplugin/pq.mnv delete mode 100644 uvim/runtime/ftplugin/pq.vim create mode 100644 uvim/runtime/ftplugin/prisma.mnv delete mode 100644 uvim/runtime/ftplugin/prisma.vim create mode 100644 uvim/runtime/ftplugin/procmail.mnv delete mode 100644 uvim/runtime/ftplugin/procmail.vim create mode 100644 uvim/runtime/ftplugin/prolog.mnv delete mode 100644 uvim/runtime/ftplugin/prolog.vim create mode 100644 uvim/runtime/ftplugin/proto.mnv delete mode 100644 uvim/runtime/ftplugin/proto.vim create mode 100644 uvim/runtime/ftplugin/protocols.mnv delete mode 100644 uvim/runtime/ftplugin/protocols.vim create mode 100644 uvim/runtime/ftplugin/ps1.mnv delete mode 100644 uvim/runtime/ftplugin/ps1.vim create mode 100644 uvim/runtime/ftplugin/ps1xml.mnv delete mode 100644 uvim/runtime/ftplugin/ps1xml.vim create mode 100644 uvim/runtime/ftplugin/ptx.mnv delete mode 100644 uvim/runtime/ftplugin/ptx.vim create mode 100644 uvim/runtime/ftplugin/purescript.mnv delete mode 100644 uvim/runtime/ftplugin/purescript.vim create mode 100644 uvim/runtime/ftplugin/pymanifest.mnv delete mode 100644 uvim/runtime/ftplugin/pymanifest.vim create mode 100644 uvim/runtime/ftplugin/pyrex.mnv delete mode 100644 uvim/runtime/ftplugin/pyrex.vim create mode 100644 uvim/runtime/ftplugin/python.mnv delete mode 100644 uvim/runtime/ftplugin/python.vim create mode 100644 uvim/runtime/ftplugin/qb64.mnv delete mode 100644 uvim/runtime/ftplugin/qb64.vim create mode 100644 uvim/runtime/ftplugin/qf.mnv delete mode 100644 uvim/runtime/ftplugin/qf.vim create mode 100644 uvim/runtime/ftplugin/qml.mnv delete mode 100644 uvim/runtime/ftplugin/qml.vim create mode 100644 uvim/runtime/ftplugin/quake.mnv delete mode 100644 uvim/runtime/ftplugin/quake.vim create mode 100644 uvim/runtime/ftplugin/quarto.mnv delete mode 100644 uvim/runtime/ftplugin/quarto.vim create mode 100644 uvim/runtime/ftplugin/r.mnv delete mode 100644 uvim/runtime/ftplugin/r.vim create mode 100644 uvim/runtime/ftplugin/racc.mnv delete mode 100644 uvim/runtime/ftplugin/racc.vim create mode 100644 uvim/runtime/ftplugin/racket.mnv delete mode 100644 uvim/runtime/ftplugin/racket.vim create mode 100644 uvim/runtime/ftplugin/raku.mnv delete mode 100644 uvim/runtime/ftplugin/raku.vim create mode 100644 uvim/runtime/ftplugin/rasi.mnv delete mode 100644 uvim/runtime/ftplugin/rasi.vim create mode 100644 uvim/runtime/ftplugin/readline.mnv delete mode 100644 uvim/runtime/ftplugin/readline.vim create mode 100644 uvim/runtime/ftplugin/registry.mnv delete mode 100644 uvim/runtime/ftplugin/registry.vim create mode 100644 uvim/runtime/ftplugin/remind.mnv delete mode 100644 uvim/runtime/ftplugin/remind.vim create mode 100644 uvim/runtime/ftplugin/requirements.mnv delete mode 100644 uvim/runtime/ftplugin/requirements.vim create mode 100644 uvim/runtime/ftplugin/rescript.mnv delete mode 100644 uvim/runtime/ftplugin/rescript.vim create mode 100644 uvim/runtime/ftplugin/reva.mnv delete mode 100644 uvim/runtime/ftplugin/reva.vim create mode 100644 uvim/runtime/ftplugin/rhelp.mnv delete mode 100644 uvim/runtime/ftplugin/rhelp.vim create mode 100644 uvim/runtime/ftplugin/rmd.mnv delete mode 100644 uvim/runtime/ftplugin/rmd.vim create mode 100644 uvim/runtime/ftplugin/rnc.mnv delete mode 100644 uvim/runtime/ftplugin/rnc.vim create mode 100644 uvim/runtime/ftplugin/rnoweb.mnv delete mode 100644 uvim/runtime/ftplugin/rnoweb.vim create mode 100644 uvim/runtime/ftplugin/roc.mnv delete mode 100644 uvim/runtime/ftplugin/roc.vim create mode 100644 uvim/runtime/ftplugin/routeros.mnv delete mode 100644 uvim/runtime/ftplugin/routeros.vim create mode 100644 uvim/runtime/ftplugin/rpl.mnv delete mode 100644 uvim/runtime/ftplugin/rpl.vim create mode 100644 uvim/runtime/ftplugin/rrst.mnv delete mode 100644 uvim/runtime/ftplugin/rrst.vim create mode 100644 uvim/runtime/ftplugin/rst.mnv delete mode 100644 uvim/runtime/ftplugin/rst.vim create mode 100644 uvim/runtime/ftplugin/ruby.mnv delete mode 100644 uvim/runtime/ftplugin/ruby.vim create mode 100644 uvim/runtime/ftplugin/rust.mnv delete mode 100644 uvim/runtime/ftplugin/rust.vim create mode 100644 uvim/runtime/ftplugin/samba.mnv delete mode 100644 uvim/runtime/ftplugin/samba.vim create mode 100644 uvim/runtime/ftplugin/sass.mnv delete mode 100644 uvim/runtime/ftplugin/sass.vim create mode 100644 uvim/runtime/ftplugin/sbt.mnv delete mode 100644 uvim/runtime/ftplugin/sbt.vim create mode 100644 uvim/runtime/ftplugin/scala.mnv delete mode 100644 uvim/runtime/ftplugin/scala.vim create mode 100644 uvim/runtime/ftplugin/scdoc.mnv delete mode 100644 uvim/runtime/ftplugin/scdoc.vim create mode 100644 uvim/runtime/ftplugin/scheme.mnv delete mode 100644 uvim/runtime/ftplugin/scheme.vim create mode 100644 uvim/runtime/ftplugin/screen.mnv delete mode 100644 uvim/runtime/ftplugin/screen.vim create mode 100644 uvim/runtime/ftplugin/scss.mnv delete mode 100644 uvim/runtime/ftplugin/scss.vim create mode 100644 uvim/runtime/ftplugin/sed.mnv delete mode 100644 uvim/runtime/ftplugin/sed.vim create mode 100644 uvim/runtime/ftplugin/sensors.mnv delete mode 100644 uvim/runtime/ftplugin/sensors.vim create mode 100644 uvim/runtime/ftplugin/services.mnv delete mode 100644 uvim/runtime/ftplugin/services.vim create mode 100644 uvim/runtime/ftplugin/setserial.mnv delete mode 100644 uvim/runtime/ftplugin/setserial.vim create mode 100644 uvim/runtime/ftplugin/sexplib.mnv delete mode 100644 uvim/runtime/ftplugin/sexplib.vim create mode 100644 uvim/runtime/ftplugin/sgml.mnv delete mode 100644 uvim/runtime/ftplugin/sgml.vim create mode 100644 uvim/runtime/ftplugin/sh.mnv delete mode 100644 uvim/runtime/ftplugin/sh.vim create mode 100644 uvim/runtime/ftplugin/shaderslang.mnv delete mode 100644 uvim/runtime/ftplugin/shaderslang.vim create mode 100644 uvim/runtime/ftplugin/sieve.mnv delete mode 100644 uvim/runtime/ftplugin/sieve.vim create mode 100644 uvim/runtime/ftplugin/skhd.mnv delete mode 100644 uvim/runtime/ftplugin/skhd.vim create mode 100644 uvim/runtime/ftplugin/slint.mnv delete mode 100644 uvim/runtime/ftplugin/slint.vim create mode 100644 uvim/runtime/ftplugin/slpconf.mnv delete mode 100644 uvim/runtime/ftplugin/slpconf.vim create mode 100644 uvim/runtime/ftplugin/slpreg.mnv delete mode 100644 uvim/runtime/ftplugin/slpreg.vim create mode 100644 uvim/runtime/ftplugin/slpspi.mnv delete mode 100644 uvim/runtime/ftplugin/slpspi.vim create mode 100644 uvim/runtime/ftplugin/sml.mnv delete mode 100644 uvim/runtime/ftplugin/sml.vim create mode 100644 uvim/runtime/ftplugin/snakemake.mnv delete mode 100644 uvim/runtime/ftplugin/snakemake.vim create mode 100644 uvim/runtime/ftplugin/solidity.mnv delete mode 100644 uvim/runtime/ftplugin/solidity.vim create mode 100644 uvim/runtime/ftplugin/solution.mnv delete mode 100644 uvim/runtime/ftplugin/solution.vim create mode 100644 uvim/runtime/ftplugin/soy.mnv delete mode 100644 uvim/runtime/ftplugin/soy.vim create mode 100644 uvim/runtime/ftplugin/spajson.mnv delete mode 100644 uvim/runtime/ftplugin/spajson.vim create mode 100644 uvim/runtime/ftplugin/spec.mnv delete mode 100644 uvim/runtime/ftplugin/spec.vim create mode 100644 uvim/runtime/ftplugin/sql.mnv delete mode 100644 uvim/runtime/ftplugin/sql.vim create mode 100644 uvim/runtime/ftplugin/squirrel.mnv delete mode 100644 uvim/runtime/ftplugin/squirrel.vim create mode 100644 uvim/runtime/ftplugin/ssa.mnv delete mode 100644 uvim/runtime/ftplugin/ssa.vim create mode 100644 uvim/runtime/ftplugin/sshconfig.mnv delete mode 100644 uvim/runtime/ftplugin/sshconfig.vim create mode 100644 uvim/runtime/ftplugin/sshdconfig.mnv delete mode 100644 uvim/runtime/ftplugin/sshdconfig.vim create mode 100644 uvim/runtime/ftplugin/stylus.mnv delete mode 100644 uvim/runtime/ftplugin/stylus.vim create mode 100644 uvim/runtime/ftplugin/sudoers.mnv delete mode 100644 uvim/runtime/ftplugin/sudoers.vim create mode 100644 uvim/runtime/ftplugin/svelte.mnv delete mode 100644 uvim/runtime/ftplugin/svelte.vim create mode 100644 uvim/runtime/ftplugin/svg.mnv delete mode 100644 uvim/runtime/ftplugin/svg.vim create mode 100644 uvim/runtime/ftplugin/sway.mnv delete mode 100644 uvim/runtime/ftplugin/sway.vim create mode 100644 uvim/runtime/ftplugin/swayconfig.mnv delete mode 100644 uvim/runtime/ftplugin/swayconfig.vim create mode 100644 uvim/runtime/ftplugin/swift.mnv delete mode 100644 uvim/runtime/ftplugin/swift.vim create mode 100644 uvim/runtime/ftplugin/swiftgyb.mnv delete mode 100644 uvim/runtime/ftplugin/swiftgyb.vim create mode 100644 uvim/runtime/ftplugin/swig.mnv delete mode 100644 uvim/runtime/ftplugin/swig.vim create mode 100644 uvim/runtime/ftplugin/sysctl.mnv delete mode 100644 uvim/runtime/ftplugin/sysctl.vim create mode 100644 uvim/runtime/ftplugin/sysml.mnv delete mode 100644 uvim/runtime/ftplugin/sysml.vim create mode 100644 uvim/runtime/ftplugin/systemd.mnv delete mode 100644 uvim/runtime/ftplugin/systemd.vim create mode 100644 uvim/runtime/ftplugin/systemverilog.mnv delete mode 100644 uvim/runtime/ftplugin/systemverilog.vim create mode 100644 uvim/runtime/ftplugin/tap.mnv delete mode 100644 uvim/runtime/ftplugin/tap.vim create mode 100644 uvim/runtime/ftplugin/tcl.mnv delete mode 100644 uvim/runtime/ftplugin/tcl.vim create mode 100644 uvim/runtime/ftplugin/tcsh.mnv delete mode 100644 uvim/runtime/ftplugin/tcsh.vim create mode 100644 uvim/runtime/ftplugin/tera.mnv delete mode 100644 uvim/runtime/ftplugin/tera.vim create mode 100644 uvim/runtime/ftplugin/terminfo.mnv delete mode 100644 uvim/runtime/ftplugin/terminfo.vim create mode 100644 uvim/runtime/ftplugin/terraform.mnv delete mode 100644 uvim/runtime/ftplugin/terraform.vim create mode 100644 uvim/runtime/ftplugin/tex.mnv delete mode 100644 uvim/runtime/ftplugin/tex.vim create mode 100644 uvim/runtime/ftplugin/text.mnv delete mode 100644 uvim/runtime/ftplugin/text.vim create mode 100644 uvim/runtime/ftplugin/tf.mnv delete mode 100644 uvim/runtime/ftplugin/tf.vim create mode 100644 uvim/runtime/ftplugin/thrift.mnv delete mode 100644 uvim/runtime/ftplugin/thrift.vim create mode 100644 uvim/runtime/ftplugin/tiasm.mnv delete mode 100644 uvim/runtime/ftplugin/tiasm.vim create mode 100644 uvim/runtime/ftplugin/tidy.mnv delete mode 100644 uvim/runtime/ftplugin/tidy.vim create mode 100644 uvim/runtime/ftplugin/tmux.mnv delete mode 100644 uvim/runtime/ftplugin/tmux.vim create mode 100644 uvim/runtime/ftplugin/toml.mnv delete mode 100644 uvim/runtime/ftplugin/toml.vim create mode 100644 uvim/runtime/ftplugin/treetop.mnv delete mode 100644 uvim/runtime/ftplugin/treetop.vim create mode 100644 uvim/runtime/ftplugin/tt2html.mnv delete mode 100644 uvim/runtime/ftplugin/tt2html.vim create mode 100644 uvim/runtime/ftplugin/tutor.mnv delete mode 100644 uvim/runtime/ftplugin/tutor.vim create mode 100644 uvim/runtime/ftplugin/twig.mnv delete mode 100644 uvim/runtime/ftplugin/twig.vim create mode 100644 uvim/runtime/ftplugin/typescript.mnv delete mode 100644 uvim/runtime/ftplugin/typescript.vim create mode 100644 uvim/runtime/ftplugin/typescriptreact.mnv delete mode 100644 uvim/runtime/ftplugin/typescriptreact.vim create mode 100644 uvim/runtime/ftplugin/typst.mnv delete mode 100644 uvim/runtime/ftplugin/typst.vim create mode 100644 uvim/runtime/ftplugin/uc.mnv delete mode 100644 uvim/runtime/ftplugin/uc.vim create mode 100644 uvim/runtime/ftplugin/uci.mnv delete mode 100644 uvim/runtime/ftplugin/uci.vim create mode 100644 uvim/runtime/ftplugin/udevconf.mnv delete mode 100644 uvim/runtime/ftplugin/udevconf.vim create mode 100644 uvim/runtime/ftplugin/udevperm.mnv delete mode 100644 uvim/runtime/ftplugin/udevperm.vim create mode 100644 uvim/runtime/ftplugin/udevrules.mnv delete mode 100644 uvim/runtime/ftplugin/udevrules.vim create mode 100644 uvim/runtime/ftplugin/unison.mnv delete mode 100644 uvim/runtime/ftplugin/unison.vim create mode 100644 uvim/runtime/ftplugin/updatedb.mnv delete mode 100644 uvim/runtime/ftplugin/updatedb.vim create mode 100644 uvim/runtime/ftplugin/urlshortcut.mnv delete mode 100644 uvim/runtime/ftplugin/urlshortcut.vim create mode 100644 uvim/runtime/ftplugin/usd.mnv delete mode 100644 uvim/runtime/ftplugin/usd.vim create mode 100644 uvim/runtime/ftplugin/v.mnv delete mode 100644 uvim/runtime/ftplugin/v.vim create mode 100644 uvim/runtime/ftplugin/vb.mnv delete mode 100644 uvim/runtime/ftplugin/vb.vim create mode 100644 uvim/runtime/ftplugin/vdf.mnv delete mode 100644 uvim/runtime/ftplugin/vdf.vim create mode 100644 uvim/runtime/ftplugin/verilog.mnv delete mode 100644 uvim/runtime/ftplugin/verilog.vim create mode 100644 uvim/runtime/ftplugin/vhdl.mnv delete mode 100644 uvim/runtime/ftplugin/vhdl.vim delete mode 100644 uvim/runtime/ftplugin/vim.vim create mode 100644 uvim/runtime/ftplugin/vroom.mnv delete mode 100644 uvim/runtime/ftplugin/vroom.vim create mode 100644 uvim/runtime/ftplugin/vue.mnv delete mode 100644 uvim/runtime/ftplugin/vue.vim create mode 100644 uvim/runtime/ftplugin/wat.mnv delete mode 100644 uvim/runtime/ftplugin/wat.vim create mode 100644 uvim/runtime/ftplugin/wget.mnv delete mode 100644 uvim/runtime/ftplugin/wget.vim create mode 100644 uvim/runtime/ftplugin/wget2.mnv delete mode 100644 uvim/runtime/ftplugin/wget2.vim create mode 100644 uvim/runtime/ftplugin/wks.mnv delete mode 100644 uvim/runtime/ftplugin/wks.vim create mode 100644 uvim/runtime/ftplugin/xcompose.mnv delete mode 100644 uvim/runtime/ftplugin/xcompose.vim create mode 100644 uvim/runtime/ftplugin/xdefaults.mnv delete mode 100644 uvim/runtime/ftplugin/xdefaults.vim create mode 100644 uvim/runtime/ftplugin/xf86conf.mnv delete mode 100644 uvim/runtime/ftplugin/xf86conf.vim create mode 100644 uvim/runtime/ftplugin/xhtml.mnv delete mode 100644 uvim/runtime/ftplugin/xhtml.vim create mode 100644 uvim/runtime/ftplugin/xinetd.mnv delete mode 100644 uvim/runtime/ftplugin/xinetd.vim create mode 100644 uvim/runtime/ftplugin/xkb.mnv delete mode 100644 uvim/runtime/ftplugin/xkb.vim create mode 100644 uvim/runtime/ftplugin/xml.mnv delete mode 100644 uvim/runtime/ftplugin/xml.vim create mode 100644 uvim/runtime/ftplugin/xmodmap.mnv delete mode 100644 uvim/runtime/ftplugin/xmodmap.vim create mode 100644 uvim/runtime/ftplugin/xs.mnv delete mode 100644 uvim/runtime/ftplugin/xs.vim create mode 100644 uvim/runtime/ftplugin/xsd.mnv delete mode 100644 uvim/runtime/ftplugin/xsd.vim create mode 100644 uvim/runtime/ftplugin/xslt.mnv delete mode 100644 uvim/runtime/ftplugin/xslt.vim create mode 100644 uvim/runtime/ftplugin/yacc.mnv delete mode 100644 uvim/runtime/ftplugin/yacc.vim create mode 100644 uvim/runtime/ftplugin/yaml.mnv delete mode 100644 uvim/runtime/ftplugin/yaml.vim create mode 100644 uvim/runtime/ftplugin/yara.mnv delete mode 100644 uvim/runtime/ftplugin/yara.vim create mode 100644 uvim/runtime/ftplugin/zathurarc.mnv delete mode 100644 uvim/runtime/ftplugin/zathurarc.vim create mode 100644 uvim/runtime/ftplugin/zig.mnv delete mode 100644 uvim/runtime/ftplugin/zig.vim create mode 100644 uvim/runtime/ftplugin/zimbu.mnv delete mode 100644 uvim/runtime/ftplugin/zimbu.vim create mode 100644 uvim/runtime/ftplugin/zsh.mnv delete mode 100644 uvim/runtime/ftplugin/zsh.vim (limited to 'uvim/runtime/ftplugin') diff --git a/uvim/runtime/ftplugin/8th.mnv b/uvim/runtime/ftplugin/8th.mnv new file mode 100644 index 0000000000..c1a0b50e7a --- /dev/null +++ b/uvim/runtime/ftplugin/8th.mnv @@ -0,0 +1,27 @@ +" MNV ftplugin file +" Language: 8th +" Version: any +" Last Change: 2021 Sep 20 +" Last Change: 2021/09/20 +" Maintainer: Ron Aaron +" URL: https://8th-dev.com/ +" Filetypes: *.8th +" NOTE: 8th allows any non-whitespace in a name, so you need to do: +" setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 +" This goes with the syntax/8th.mnv file. + +" Only do this when not done yet for this buffer +if exists("b:did_8thplugin") + finish +endif + +" Don't load another 8th plugin for this buffer +let b:did_8thplugin = 1 + +setlocal ts=2 sts=2 sw=2 et +setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\ +setlocal fo=tcrqol +setlocal matchpairs+=\::; +setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 +setlocal suffixesadd=.8th +let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<" diff --git a/uvim/runtime/ftplugin/8th.vim b/uvim/runtime/ftplugin/8th.vim deleted file mode 100644 index ad04f9ac84..0000000000 --- a/uvim/runtime/ftplugin/8th.vim +++ /dev/null @@ -1,27 +0,0 @@ -" Vim ftplugin file -" Language: 8th -" Version: any -" Last Change: 2021 Sep 20 -" Last Change: 2021/09/20 -" Maintainer: Ron Aaron -" URL: https://8th-dev.com/ -" Filetypes: *.8th -" NOTE: 8th allows any non-whitespace in a name, so you need to do: -" setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 -" This goes with the syntax/8th.vim file. - -" Only do this when not done yet for this buffer -if exists("b:did_8thplugin") - finish -endif - -" Don't load another 8th plugin for this buffer -let b:did_8thplugin = 1 - -setlocal ts=2 sts=2 sw=2 et -setlocal com=s1:/*,mb:*,ex:*/,b:--,be:\\ -setlocal fo=tcrqol -setlocal matchpairs+=\::; -setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 -setlocal suffixesadd=.8th -let b:undo_ftplugin = "setlocal ts< sts< sw< et< com< fo< mps< isk< sua<" diff --git a/uvim/runtime/ftplugin/README.txt b/uvim/runtime/ftplugin/README.txt index 19ad58bdd3..e9ec638fc9 100644 --- a/uvim/runtime/ftplugin/README.txt +++ b/uvim/runtime/ftplugin/README.txt @@ -1,16 +1,16 @@ -The ftplugin directory is for Vim plugin scripts that are only used for a +The ftplugin directory is for MNV plugin scripts that are only used for a specific filetype. -All files ending in .vim in this directory and subdirectories will be sourced -by Vim when it detects the filetype that matches the name of the file or +All files ending in .mnv in this directory and subdirectories will be sourced +by MNV when it detects the filetype that matches the name of the file or subdirectory. For example, these are all loaded for the "c" filetype: - c.vim - c_extra.vim - c/settings.vim + c.mnv + c_extra.mnv + c/settings.mnv -Note that the "_" in "c_extra.vim" is required to separate the filetype name +Note that the "_" in "c_extra.mnv" is required to separate the filetype name from the following arbitrary name. The filetype plugins are only loaded when the ":filetype plugin" command has @@ -21,4 +21,4 @@ want to use. They do not contain personal preferences, like the value of 'shiftwidth'. If you want to do additional settings, or overrule the default filetype -plugin, you can create your own plugin file. See ":help ftplugin" in Vim. +plugin, you can create your own plugin file. See ":help ftplugin" in MNV. diff --git a/uvim/runtime/ftplugin/a2ps.mnv b/uvim/runtime/ftplugin/a2ps.mnv new file mode 100644 index 0000000000..e0bbd68a6c --- /dev/null +++ b/uvim/runtime/ftplugin/a2ps.mnv @@ -0,0 +1,20 @@ +" MNV filetype plugin file +" Language: a2ps(1) configuration file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< inc< fo<" + +setlocal comments=:# commentstring=#\ %s include=^\\s*Include: +setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/a2ps.vim b/uvim/runtime/ftplugin/a2ps.vim deleted file mode 100644 index 0e24e3088f..0000000000 --- a/uvim/runtime/ftplugin/a2ps.vim +++ /dev/null @@ -1,20 +0,0 @@ -" Vim filetype plugin file -" Language: a2ps(1) configuration file -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< inc< fo<" - -setlocal comments=:# commentstring=#\ %s include=^\\s*Include: -setlocal formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/aap.mnv b/uvim/runtime/ftplugin/aap.mnv new file mode 100644 index 0000000000..7235fef9ac --- /dev/null +++ b/uvim/runtime/ftplugin/aap.mnv @@ -0,0 +1,38 @@ +" MNV filetype plugin file +" Language: Aap recipe +" Maintainer: The MNV Project +" Last Change: 2024 Jan 14 +" Former Maintainer: Bram Moolenaar + +" 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 + +" Reset 'formatoptions', 'comments', 'commentstring' and 'expandtab' to undo +" this plugin. +let b:undo_ftplugin = "setl fo< com< cms< et<" + +" Set 'formatoptions' to break comment lines but not other lines, +" and insert the comment leader when hitting or using "o". +setlocal fo-=t fo+=croql + +" Set 'comments' to format dashed lists in comments. +setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:- +setlocal commentstring=#\ %s + +" Expand tabs to spaces to avoid trouble. +setlocal expandtab + +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Aap Recipe Files (*.aap)\t*.aap\n" + if has("win32") + let b:browsefilter ..= "All Files (*.*)\t*\n" + else + let b:browsefilter ..= "All Files (*)\t*\n" + endif + let b:undo_ftplugin ..= " | unlet! b:browsefilter" +endif diff --git a/uvim/runtime/ftplugin/aap.vim b/uvim/runtime/ftplugin/aap.vim deleted file mode 100644 index cd7e2a425e..0000000000 --- a/uvim/runtime/ftplugin/aap.vim +++ /dev/null @@ -1,38 +0,0 @@ -" Vim filetype plugin file -" Language: Aap recipe -" Maintainer: The Vim Project -" Last Change: 2024 Jan 14 -" Former Maintainer: Bram Moolenaar - -" 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 - -" Reset 'formatoptions', 'comments', 'commentstring' and 'expandtab' to undo -" this plugin. -let b:undo_ftplugin = "setl fo< com< cms< et<" - -" Set 'formatoptions' to break comment lines but not other lines, -" and insert the comment leader when hitting or using "o". -setlocal fo-=t fo+=croql - -" Set 'comments' to format dashed lists in comments. -setlocal comments=s:#\ -,m:#\ \ ,e:#,n:#,fb:- -setlocal commentstring=#\ %s - -" Expand tabs to spaces to avoid trouble. -setlocal expandtab - -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "Aap Recipe Files (*.aap)\t*.aap\n" - if has("win32") - let b:browsefilter ..= "All Files (*.*)\t*\n" - else - let b:browsefilter ..= "All Files (*)\t*\n" - endif - let b:undo_ftplugin ..= " | unlet! b:browsefilter" -endif diff --git a/uvim/runtime/ftplugin/abap.mnv b/uvim/runtime/ftplugin/abap.mnv new file mode 100644 index 0000000000..32dfbf2b19 --- /dev/null +++ b/uvim/runtime/ftplugin/abap.mnv @@ -0,0 +1,41 @@ +" MNV filetype plugin file +" Language: ABAP +" Author: Steven Oliver +" Copyright: Copyright (c) 2013 Steven Oliver +" License: You may redistribute this under the same terms as MNV itself +" Last Change: 2023 Aug 28 by MNV Project (undo_ftplugin) +" 2024 Jan 14 by MNV Project (browsefilter) +" 2025 Jun 08 by Riley Bruins ('comments', 'commentstring') +" -------------------------------------------------------------------------- + +" Only do this when not done yet for this buffer +if (exists("b:did_ftplugin")) + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +setlocal softtabstop=2 shiftwidth=2 +setlocal suffixesadd=.abap +setlocal commentstring=\"\ %s +setlocal comments=:\",:* + +let b:undo_ftplugin = "setl sts< sua< sw< com< cms<" + +" Windows allows you to filter the open file dialog +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" + if has("win32") + let b:browsefilter ..= "All Files (*.*)\t*\n" + else + let b:browsefilter ..= "All Files (*)\t*\n" + endif + let b:undo_ftplugin ..= " | unlet! b:browsefilter" +endif + +let &cpo = s:cpo_save +unlet s:cpo_save + +" mnv: set sw=4 sts=4 et tw=80 : diff --git a/uvim/runtime/ftplugin/abap.vim b/uvim/runtime/ftplugin/abap.vim deleted file mode 100644 index fd6b8418fe..0000000000 --- a/uvim/runtime/ftplugin/abap.vim +++ /dev/null @@ -1,41 +0,0 @@ -" Vim filetype plugin file -" Language: ABAP -" Author: Steven Oliver -" Copyright: Copyright (c) 2013 Steven Oliver -" License: You may redistribute this under the same terms as Vim itself -" Last Change: 2023 Aug 28 by Vim Project (undo_ftplugin) -" 2024 Jan 14 by Vim Project (browsefilter) -" 2025 Jun 08 by Riley Bruins ('comments', 'commentstring') -" -------------------------------------------------------------------------- - -" Only do this when not done yet for this buffer -if (exists("b:did_ftplugin")) - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -setlocal softtabstop=2 shiftwidth=2 -setlocal suffixesadd=.abap -setlocal commentstring=\"\ %s -setlocal comments=:\",:* - -let b:undo_ftplugin = "setl sts< sua< sw< com< cms<" - -" Windows allows you to filter the open file dialog -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" - if has("win32") - let b:browsefilter ..= "All Files (*.*)\t*\n" - else - let b:browsefilter ..= "All Files (*)\t*\n" - endif - let b:undo_ftplugin ..= " | unlet! b:browsefilter" -endif - -let &cpo = s:cpo_save -unlet s:cpo_save - -" vim: set sw=4 sts=4 et tw=80 : diff --git a/uvim/runtime/ftplugin/abaqus.mnv b/uvim/runtime/ftplugin/abaqus.mnv new file mode 100644 index 0000000000..cbbf031109 --- /dev/null +++ b/uvim/runtime/ftplugin/abaqus.mnv @@ -0,0 +1,124 @@ +" MNV filetype plugin file +" Language: Abaqus finite element input file (www.abaqus.com) +" Maintainer: Carl Osterwisch +" Last Change: 2022 Oct 08 +" 2024 Jan 14 by MNV Project (browsefilter) +" 2024 May 23 by Riley Bruins ('commentstring') + +" 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 + +" Save the compatibility options and temporarily switch to mnv defaults +let s:cpo_save = &cpoptions +set cpoptions&mnv + +" Set the format of the include file specification for Abaqus +" Used in :check gf ^wf [i and other commands +setlocal include=\\<\\cINPUT\\s*= + +" Remove characters up to the first = when evaluating filenames +setlocal includeexpr=substitute(v:fname,'.\\{-}=','','') + +" Remove comma from valid filename characters since it is used to +" separate keyword parameters +setlocal isfname-=, + +" Define format of comment lines (see 'formatoptions' for uses) +setlocal comments=:** +setlocal commentstring=**\ %s + +" Definitions start with a * and assign a NAME, NSET, or ELSET +" Used in [d ^wd and other commands +setlocal define=^\\*\\a.*\\c\\(NAME\\\|NSET\\\|ELSET\\)\\s*= + +" Abaqus keywords and identifiers may include a - character +setlocal iskeyword+=- + +let b:undo_ftplugin = "setlocal include< includeexpr< isfname<" + \ . " comments< commentstring< define< iskeyword<" + +if has("folding") + " Fold all lines that do not begin with * + setlocal foldexpr=getline(v:lnum)[0]!=\"\*\" + setlocal foldmethod=expr + let b:undo_ftplugin .= " foldexpr< foldmethod<" +endif + +" Set the file browse filter (currently only supported under Win32 gui) +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Abaqus Input Files (*.inp *.inc)\t*.inp;*.inc\n" . + \ "Abaqus Results (*.dat)\t*.dat\n" . + \ "Abaqus Messages (*.pre, *.msg, *.sta)\t*.pre;*.msg;*.sta\n" + if has("win32") + let b:browsefilter .= "All Files (*.*)\t*\n" + else + let b:browsefilter .= "All Files (*)\t*\n" + endif + let b:undo_ftplugin .= "|unlet! b:browsefilter" +endif + +" Define patterns for the matchit plugin +if exists("loaded_matchit") && !exists("b:match_words") + let b:match_ignorecase = 1 + let b:match_words = + \ '\*part:\*end\s*part,' . + \ '\*assembly:\*end\s*assembly,' . + \ '\*instance:\*end\s*instance,' . + \ '\*step:\*end\s*step' + let b:undo_ftplugin .= "|unlet! b:match_ignorecase b:match_words" +endif + +if !exists("no_plugin_maps") && !exists("no_abaqus_maps") + " Map [[ and ]] keys to move [count] keywords backward or forward + nnoremap ]] :call Abaqus_NextKeyword(1) + nnoremap [[ :call Abaqus_NextKeyword(-1) + function! Abaqus_NextKeyword(direction) + .mark ' + if a:direction < 0 + let flags = 'b' + else + let flags = '' + endif + let l:count = abs(a:direction) * v:count1 + while l:count > 0 && search("^\\*\\a", flags) + let l:count -= 1 + endwhile + endfunction + + " Map \\ to toggle commenting of the current line or range + noremap + \ :call Abaqus_ToggleComment()j + function! Abaqus_ToggleComment() range + if strpart(getline(a:firstline), 0, 2) == "**" + " Un-comment all lines in range + silent execute a:firstline . ',' . a:lastline . 's/^\*\*//' + else + " Comment all lines in range + silent execute a:firstline . ',' . a:lastline . 's/^/**/' + endif + endfunction + + " Map \s to swap first two comma separated fields + noremap s :call Abaqus_Swap() + function! Abaqus_Swap() range + silent execute a:firstline . ',' . a:lastline . 's/\([^*,]*\),\([^,]*\)/\2,\1/' + endfunction + + let b:undo_ftplugin .= "|unmap [[|unmap ]]" + \ . "|unmap " + \ . "|unmap s" +endif + +" Undo must be done in nocompatible mode for . +let b:undo_ftplugin = "let b:cpo_save = &cpoptions|" + \ . "set cpoptions&mnv|" + \ . b:undo_ftplugin + \ . "|let &cpoptions = b:cpo_save" + \ . "|unlet b:cpo_save" + +" Restore saved compatibility options +let &cpoptions = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/abaqus.vim b/uvim/runtime/ftplugin/abaqus.vim deleted file mode 100644 index d4bb6fe777..0000000000 --- a/uvim/runtime/ftplugin/abaqus.vim +++ /dev/null @@ -1,124 +0,0 @@ -" Vim filetype plugin file -" Language: Abaqus finite element input file (www.abaqus.com) -" Maintainer: Carl Osterwisch -" Last Change: 2022 Oct 08 -" 2024 Jan 14 by Vim Project (browsefilter) -" 2024 May 23 by Riley Bruins ('commentstring') - -" 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 - -" Save the compatibility options and temporarily switch to vim defaults -let s:cpo_save = &cpoptions -set cpoptions&vim - -" Set the format of the include file specification for Abaqus -" Used in :check gf ^wf [i and other commands -setlocal include=\\<\\cINPUT\\s*= - -" Remove characters up to the first = when evaluating filenames -setlocal includeexpr=substitute(v:fname,'.\\{-}=','','') - -" Remove comma from valid filename characters since it is used to -" separate keyword parameters -setlocal isfname-=, - -" Define format of comment lines (see 'formatoptions' for uses) -setlocal comments=:** -setlocal commentstring=**\ %s - -" Definitions start with a * and assign a NAME, NSET, or ELSET -" Used in [d ^wd and other commands -setlocal define=^\\*\\a.*\\c\\(NAME\\\|NSET\\\|ELSET\\)\\s*= - -" Abaqus keywords and identifiers may include a - character -setlocal iskeyword+=- - -let b:undo_ftplugin = "setlocal include< includeexpr< isfname<" - \ . " comments< commentstring< define< iskeyword<" - -if has("folding") - " Fold all lines that do not begin with * - setlocal foldexpr=getline(v:lnum)[0]!=\"\*\" - setlocal foldmethod=expr - let b:undo_ftplugin .= " foldexpr< foldmethod<" -endif - -" Set the file browse filter (currently only supported under Win32 gui) -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "Abaqus Input Files (*.inp *.inc)\t*.inp;*.inc\n" . - \ "Abaqus Results (*.dat)\t*.dat\n" . - \ "Abaqus Messages (*.pre, *.msg, *.sta)\t*.pre;*.msg;*.sta\n" - if has("win32") - let b:browsefilter .= "All Files (*.*)\t*\n" - else - let b:browsefilter .= "All Files (*)\t*\n" - endif - let b:undo_ftplugin .= "|unlet! b:browsefilter" -endif - -" Define patterns for the matchit plugin -if exists("loaded_matchit") && !exists("b:match_words") - let b:match_ignorecase = 1 - let b:match_words = - \ '\*part:\*end\s*part,' . - \ '\*assembly:\*end\s*assembly,' . - \ '\*instance:\*end\s*instance,' . - \ '\*step:\*end\s*step' - let b:undo_ftplugin .= "|unlet! b:match_ignorecase b:match_words" -endif - -if !exists("no_plugin_maps") && !exists("no_abaqus_maps") - " Map [[ and ]] keys to move [count] keywords backward or forward - nnoremap ]] :call Abaqus_NextKeyword(1) - nnoremap [[ :call Abaqus_NextKeyword(-1) - function! Abaqus_NextKeyword(direction) - .mark ' - if a:direction < 0 - let flags = 'b' - else - let flags = '' - endif - let l:count = abs(a:direction) * v:count1 - while l:count > 0 && search("^\\*\\a", flags) - let l:count -= 1 - endwhile - endfunction - - " Map \\ to toggle commenting of the current line or range - noremap - \ :call Abaqus_ToggleComment()j - function! Abaqus_ToggleComment() range - if strpart(getline(a:firstline), 0, 2) == "**" - " Un-comment all lines in range - silent execute a:firstline . ',' . a:lastline . 's/^\*\*//' - else - " Comment all lines in range - silent execute a:firstline . ',' . a:lastline . 's/^/**/' - endif - endfunction - - " Map \s to swap first two comma separated fields - noremap s :call Abaqus_Swap() - function! Abaqus_Swap() range - silent execute a:firstline . ',' . a:lastline . 's/\([^*,]*\),\([^,]*\)/\2,\1/' - endfunction - - let b:undo_ftplugin .= "|unmap [[|unmap ]]" - \ . "|unmap " - \ . "|unmap s" -endif - -" Undo must be done in nocompatible mode for . -let b:undo_ftplugin = "let b:cpo_save = &cpoptions|" - \ . "set cpoptions&vim|" - \ . b:undo_ftplugin - \ . "|let &cpoptions = b:cpo_save" - \ . "|unlet b:cpo_save" - -" Restore saved compatibility options -let &cpoptions = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/abnf.mnv b/uvim/runtime/ftplugin/abnf.mnv new file mode 100644 index 0000000000..7c91f23aee --- /dev/null +++ b/uvim/runtime/ftplugin/abnf.mnv @@ -0,0 +1,17 @@ +" Language: abnf +" Maintainer: A4-Tacks +" Last Change: 2025-05-02 +" Upstream: https://github.com/A4-Tacks/abnf.mnv + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let b:undo_ftplugin = 'setlocal iskeyword< comments< commentstring<' + +setlocal iskeyword=@,48-57,_,-,192-255 +setlocal comments=:;;,:; +setlocal commentstring=;%s + +" mnv:ts=8 diff --git a/uvim/runtime/ftplugin/abnf.vim b/uvim/runtime/ftplugin/abnf.vim deleted file mode 100644 index 4741d5f055..0000000000 --- a/uvim/runtime/ftplugin/abnf.vim +++ /dev/null @@ -1,17 +0,0 @@ -" Language: abnf -" Maintainer: A4-Tacks -" Last Change: 2025-05-02 -" Upstream: https://github.com/A4-Tacks/abnf.vim - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -let b:undo_ftplugin = 'setlocal iskeyword< comments< commentstring<' - -setlocal iskeyword=@,48-57,_,-,192-255 -setlocal comments=:;;,:; -setlocal commentstring=;%s - -" vim:ts=8 diff --git a/uvim/runtime/ftplugin/ada.mnv b/uvim/runtime/ftplugin/ada.mnv new file mode 100644 index 0000000000..85712b55b2 --- /dev/null +++ b/uvim/runtime/ftplugin/ada.mnv @@ -0,0 +1,221 @@ +"------------------------------------------------------------------------------ +" Description: Perform Ada specific completion & tagging. +" Language: Ada (2005) +" $Id: ada.mnv 887 2008-07-08 14:29:01Z krischik $ +" Maintainer: This runtime file is looking for a new maintainer. +" Previous Maintainer: Martin Krischik +" Taylor Venable +" Neil Bird +" $Author: krischik $ +" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $ +" Version: 4.6 with patch from David Bürgin +" $Revision: 887 $ +" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/mnv/ftplugin/ada.mnv $ +" History: 24.05.2006 MK Unified Headers +" 26.05.2006 MK ' should not be in iskeyword. +" 16.07.2006 MK Ada-Mode as mnv-ball +" 02.10.2006 MK Better folding. +" 15.10.2006 MK Bram's suggestion for runtime integration +" 05.11.2006 MK Bram suggested not to use include protection for +" autoload +" 05.11.2006 MK Bram suggested to save on spaces +" 08.07.2007 TV fix default compiler problems. +" 05.09.2025 do not globally set 'ignorecase'/'smartcase' option +" set undo_ftplugin +" mark as unmaintained +" use buffer-local abbreviation +" Help Page: ft-ada-plugin +"------------------------------------------------------------------------------ +" Provides mapping overrides for tag jumping that figure out the current +" Ada object and tag jump to that, not the 'simple' mnv word. +" Similarly allows matching of full-length ada entities from tags. +"------------------------------------------------------------------------------ + +" Only do this when not done yet for this buffer +if exists ("b:did_ftplugin") || version < 700 + finish +endif + +" Don't load another plugin for this buffer +let b:did_ftplugin = 45 + +" +" Temporarily set cpoptions to ensure the script loads OK +" +let s:cpoptions = &cpoptions +set cpoptions-=C + +" Section: Comments {{{1 +" +setlocal comments=O:--,:--\ \ +setlocal commentstring=--\ \ %s +setlocal complete=.,w,b,u,t,i + +" Section: case {{{1 +" +" setlocal nosmartcase +" setlocal ignorecase + +" Section: formatoptions {{{1 +" +setlocal formatoptions+=ron + +" Section: Tagging {{{1 +" +if exists ("g:ada_extended_tagging") + " Make local tag mappings for this buffer (if not already set) + if g:ada_extended_tagging == 'jump' + if mapcheck('','n') == '' + nnoremap :call ada#Jump_Tag ('', 'tjump') + endif + if mapcheck('g','n') == '' + nnoremap g :call ada#Jump_Tag ('','stjump') + endif + elseif g:ada_extended_tagging == 'list' + if mapcheck('','n') == '' + nnoremap :call ada#List_Tag () + endif + if mapcheck('g','n') == '' + nnoremap g :call ada#List_Tag () + endif + endif +endif + +" Section: Completion {{{1 +" +setlocal completefunc=ada#User_Complete +setlocal omnifunc=adacomplete#Complete + +if exists ("g:ada_extended_completion") + if mapcheck ('','i') == '' + inoremap =ada#Completion("\C-N>") + endif + if mapcheck ('','i') == '' + inoremap =ada#Completion("\C-P>") + endif + if mapcheck ('','i') == '' + inoremap =ada#Completion("\C-X>\C-]>") + endif + if mapcheck ('','i') == '' + inoremap =ada#Insert_Backspace () + endif +endif + +" Section: Matchit {{{1 +" +" Only do this when not done yet for this buffer & matchit is used +" +if !exists ("b:match_words") && + \ exists ("loaded_matchit") + " + " The following lines enable the macros/matchit.mnv plugin for + " Ada-specific extended matching with the % key. + " + let s:notend = '\%(\:\:\:\\s\+\,' . + \ s:notend . '\:\:\\s\+\,' . + \ '\%(\.*\|\.*\|'.s:notend.'\)\:\\s\+\,' . + \ '\%(\\|\\):\:\\s*\%($\|[;A-Z]\),' . + \ s:notend . '\:\\s\+\' +endif + +" Section: Compiler {{{1 +" +if ! exists("g:ada_default_compiler") + if has("vms") + let g:ada_default_compiler = 'decada' + else + let g:ada_default_compiler = 'gnat' + endif +endif + +if ! exists("current_compiler") || + \ current_compiler != g:ada_default_compiler + execute "compiler " . g:ada_default_compiler +endif + +" Section: Folding {{{1 +" +if exists("g:ada_folding") + if g:ada_folding[0] == 'i' + setlocal foldmethod=indent + setlocal foldignore=-- + setlocal foldnestmax=5 + elseif g:ada_folding[0] == 'g' + setlocal foldmethod=expr + setlocal foldexpr=ada#Pretty_Print_Folding(v:lnum) + elseif g:ada_folding[0] == 's' + setlocal foldmethod=syntax + endif + setlocal tabstop=8 + setlocal softtabstop=3 + setlocal shiftwidth=3 +endif + +" Section: Abbrev {{{1 +" +if exists("g:ada_abbrev") + iabbrev ret return + iabbrev proc procedure + iabbrev pack package + iabbrev func function +endif + +" Section: Commands, Mapping, Menus {{{1 +if !exists(':AdaTagFile') + call ada#Map_Popup ( + \ 'Tag.List', + \ 'l', + \ 'call ada#List_Tag ()') + call ada#Map_Popup ( + \'Tag.Jump', + \'j', + \'call ada#Jump_Tag ()') + call ada#Map_Menu ( + \'Tag.Create File', + \':AdaTagFile', + \'call ada#Create_Tags (''file'')') + call ada#Map_Menu ( + \'Tag.Create Dir', + \':AdaTagDir', + \'call ada#Create_Tags (''dir'')') + + call ada#Map_Menu ( + \'Highlight.Toggle Space Errors', + \ ':AdaSpaces', + \'call ada#Switch_Syntax_Option (''space_errors'')') + call ada#Map_Menu ( + \'Highlight.Toggle Lines Errors', + \ ':AdaLines', + \'call ada#Switch_Syntax_Option (''line_errors'')') + call ada#Map_Menu ( + \'Highlight.Toggle Rainbow Color', + \ ':AdaRainbow', + \'call ada#Switch_Syntax_Option (''rainbow_color'')') + call ada#Map_Menu ( + \'Highlight.Toggle Standard Types', + \ ':AdaTypes', + \'call ada#Switch_Syntax_Option (''standard_types'')') +endif +" +" Section: b:undo_ftplugin {{{1 +let b:undo_ftplugin = "setl fo< comments< tw< commentstring< complete< " + \ . "| setl completefunc< omnifunc< ts< sts< sw< fdm< fde< fdi< " + \ . "| setl fdm< fde< fdi< fdn< " + \ . "| unlet! b:match_words " + +" 1}}} +" Reset cpoptions +let &cpoptions = s:cpoptions +unlet s:cpoptions + +finish " 1}}} + +"------------------------------------------------------------------------------ +" Copyright (C) 2006 Martin Krischik +" +" MNV is Charityware - see ":help license" or uganda.txt for licence details. +"------------------------------------------------------------------------------ +" mnv: textwidth=78 nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab +" mnv: foldmethod=marker diff --git a/uvim/runtime/ftplugin/ada.vim b/uvim/runtime/ftplugin/ada.vim deleted file mode 100644 index 7d2bdae9a8..0000000000 --- a/uvim/runtime/ftplugin/ada.vim +++ /dev/null @@ -1,221 +0,0 @@ -"------------------------------------------------------------------------------ -" Description: Perform Ada specific completion & tagging. -" Language: Ada (2005) -" $Id: ada.vim 887 2008-07-08 14:29:01Z krischik $ -" Maintainer: This runtime file is looking for a new maintainer. -" Previous Maintainer: Martin Krischik -" Taylor Venable -" Neil Bird -" $Author: krischik $ -" $Date: 2008-07-08 16:29:01 +0200 (Di, 08 Jul 2008) $ -" Version: 4.6 with patch from David Bürgin -" $Revision: 887 $ -" $HeadURL: https://gnuada.svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/ftplugin/ada.vim $ -" History: 24.05.2006 MK Unified Headers -" 26.05.2006 MK ' should not be in iskeyword. -" 16.07.2006 MK Ada-Mode as vim-ball -" 02.10.2006 MK Better folding. -" 15.10.2006 MK Bram's suggestion for runtime integration -" 05.11.2006 MK Bram suggested not to use include protection for -" autoload -" 05.11.2006 MK Bram suggested to save on spaces -" 08.07.2007 TV fix default compiler problems. -" 05.09.2025 do not globally set 'ignorecase'/'smartcase' option -" set undo_ftplugin -" mark as unmaintained -" use buffer-local abbreviation -" Help Page: ft-ada-plugin -"------------------------------------------------------------------------------ -" Provides mapping overrides for tag jumping that figure out the current -" Ada object and tag jump to that, not the 'simple' vim word. -" Similarly allows matching of full-length ada entities from tags. -"------------------------------------------------------------------------------ - -" Only do this when not done yet for this buffer -if exists ("b:did_ftplugin") || version < 700 - finish -endif - -" Don't load another plugin for this buffer -let b:did_ftplugin = 45 - -" -" Temporarily set cpoptions to ensure the script loads OK -" -let s:cpoptions = &cpoptions -set cpoptions-=C - -" Section: Comments {{{1 -" -setlocal comments=O:--,:--\ \ -setlocal commentstring=--\ \ %s -setlocal complete=.,w,b,u,t,i - -" Section: case {{{1 -" -" setlocal nosmartcase -" setlocal ignorecase - -" Section: formatoptions {{{1 -" -setlocal formatoptions+=ron - -" Section: Tagging {{{1 -" -if exists ("g:ada_extended_tagging") - " Make local tag mappings for this buffer (if not already set) - if g:ada_extended_tagging == 'jump' - if mapcheck('','n') == '' - nnoremap :call ada#Jump_Tag ('', 'tjump') - endif - if mapcheck('g','n') == '' - nnoremap g :call ada#Jump_Tag ('','stjump') - endif - elseif g:ada_extended_tagging == 'list' - if mapcheck('','n') == '' - nnoremap :call ada#List_Tag () - endif - if mapcheck('g','n') == '' - nnoremap g :call ada#List_Tag () - endif - endif -endif - -" Section: Completion {{{1 -" -setlocal completefunc=ada#User_Complete -setlocal omnifunc=adacomplete#Complete - -if exists ("g:ada_extended_completion") - if mapcheck ('','i') == '' - inoremap =ada#Completion("\C-N>") - endif - if mapcheck ('','i') == '' - inoremap =ada#Completion("\C-P>") - endif - if mapcheck ('','i') == '' - inoremap =ada#Completion("\C-X>\C-]>") - endif - if mapcheck ('','i') == '' - inoremap =ada#Insert_Backspace () - endif -endif - -" Section: Matchit {{{1 -" -" Only do this when not done yet for this buffer & matchit is used -" -if !exists ("b:match_words") && - \ exists ("loaded_matchit") - " - " The following lines enable the macros/matchit.vim plugin for - " Ada-specific extended matching with the % key. - " - let s:notend = '\%(\:\:\:\\s\+\,' . - \ s:notend . '\:\:\\s\+\,' . - \ '\%(\.*\|\.*\|'.s:notend.'\)\:\\s\+\,' . - \ '\%(\\|\\):\:\\s*\%($\|[;A-Z]\),' . - \ s:notend . '\:\\s\+\' -endif - -" Section: Compiler {{{1 -" -if ! exists("g:ada_default_compiler") - if has("vms") - let g:ada_default_compiler = 'decada' - else - let g:ada_default_compiler = 'gnat' - endif -endif - -if ! exists("current_compiler") || - \ current_compiler != g:ada_default_compiler - execute "compiler " . g:ada_default_compiler -endif - -" Section: Folding {{{1 -" -if exists("g:ada_folding") - if g:ada_folding[0] == 'i' - setlocal foldmethod=indent - setlocal foldignore=-- - setlocal foldnestmax=5 - elseif g:ada_folding[0] == 'g' - setlocal foldmethod=expr - setlocal foldexpr=ada#Pretty_Print_Folding(v:lnum) - elseif g:ada_folding[0] == 's' - setlocal foldmethod=syntax - endif - setlocal tabstop=8 - setlocal softtabstop=3 - setlocal shiftwidth=3 -endif - -" Section: Abbrev {{{1 -" -if exists("g:ada_abbrev") - iabbrev ret return - iabbrev proc procedure - iabbrev pack package - iabbrev func function -endif - -" Section: Commands, Mapping, Menus {{{1 -if !exists(':AdaTagFile') - call ada#Map_Popup ( - \ 'Tag.List', - \ 'l', - \ 'call ada#List_Tag ()') - call ada#Map_Popup ( - \'Tag.Jump', - \'j', - \'call ada#Jump_Tag ()') - call ada#Map_Menu ( - \'Tag.Create File', - \':AdaTagFile', - \'call ada#Create_Tags (''file'')') - call ada#Map_Menu ( - \'Tag.Create Dir', - \':AdaTagDir', - \'call ada#Create_Tags (''dir'')') - - call ada#Map_Menu ( - \'Highlight.Toggle Space Errors', - \ ':AdaSpaces', - \'call ada#Switch_Syntax_Option (''space_errors'')') - call ada#Map_Menu ( - \'Highlight.Toggle Lines Errors', - \ ':AdaLines', - \'call ada#Switch_Syntax_Option (''line_errors'')') - call ada#Map_Menu ( - \'Highlight.Toggle Rainbow Color', - \ ':AdaRainbow', - \'call ada#Switch_Syntax_Option (''rainbow_color'')') - call ada#Map_Menu ( - \'Highlight.Toggle Standard Types', - \ ':AdaTypes', - \'call ada#Switch_Syntax_Option (''standard_types'')') -endif -" -" Section: b:undo_ftplugin {{{1 -let b:undo_ftplugin = "setl fo< comments< tw< commentstring< complete< " - \ . "| setl completefunc< omnifunc< ts< sts< sw< fdm< fde< fdi< " - \ . "| setl fdm< fde< fdi< fdn< " - \ . "| unlet! b:match_words " - -" 1}}} -" Reset cpoptions -let &cpoptions = s:cpoptions -unlet s:cpoptions - -finish " 1}}} - -"------------------------------------------------------------------------------ -" Copyright (C) 2006 Martin Krischik -" -" Vim is Charityware - see ":help license" or uganda.txt for licence details. -"------------------------------------------------------------------------------ -" vim: textwidth=78 nowrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab -" vim: foldmethod=marker diff --git a/uvim/runtime/ftplugin/alsaconf.mnv b/uvim/runtime/ftplugin/alsaconf.mnv new file mode 100644 index 0000000000..570bb876e4 --- /dev/null +++ b/uvim/runtime/ftplugin/alsaconf.mnv @@ -0,0 +1,19 @@ +" MNV filetype plugin file +" Language: alsaconf(8) configuration file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/alsaconf.vim b/uvim/runtime/ftplugin/alsaconf.vim deleted file mode 100644 index 6d9d80a208..0000000000 --- a/uvim/runtime/ftplugin/alsaconf.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Vim filetype plugin file -" Language: alsaconf(8) configuration file -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< fo<" - -setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/ant.mnv b/uvim/runtime/ftplugin/ant.mnv new file mode 100644 index 0000000000..80fd70f7fc --- /dev/null +++ b/uvim/runtime/ftplugin/ant.mnv @@ -0,0 +1,51 @@ +" MNV filetype plugin file +" Language: ant +" +" This runtime file is looking for a new maintainer. +" +" Former maintainer: Dan Sharp +" Last Change: 2009 Jan 20 +" 2024 Jan 14 by MNV Project (browsefilter) + +if exists("b:did_ftplugin") | finish | endif + +" Make sure the continuation lines below do not cause problems in +" compatibility mode. +let s:save_cpo = &cpo +set cpo-=C + +" Define some defaults in case the included ftplugins don't set them. +let s:undo_ftplugin = "" +let s:browsefilter = "XML Files (*.xml)\t*.xml\n" +if has("win32") + let s:browsefilter .= "All Files (*.*)\t*\n" +else + let s:browsefilter .= "All Files (*)\t*\n" +endif + +runtime! ftplugin/xml.mnv ftplugin/xml_*.mnv ftplugin/xml/*.mnv +let b:did_ftplugin = 1 + +" Override our defaults if these were set by an included ftplugin. +if exists("b:undo_ftplugin") + let s:undo_ftplugin = b:undo_ftplugin +endif +if exists("b:browsefilter") + let s:browsefilter = b:browsefilter +endif + +" Change the :browse e filter to primarily show Ant-related files. +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Build Files (build.xml)\tbuild.xml\n" . + \ "Java Files (*.java)\t*.java\n" . + \ "Properties Files (*.prop*)\t*.prop*\n" . + \ "Manifest Files (*.mf)\t*.mf\n" . + \ s:browsefilter +endif + +" Undo the stuff we changed. +let b:undo_ftplugin = "unlet! b:browsefilter | " . s:undo_ftplugin + +" Restore the saved compatibility options. +let &cpo = s:save_cpo +unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/ant.vim b/uvim/runtime/ftplugin/ant.vim deleted file mode 100644 index 65e01a1a76..0000000000 --- a/uvim/runtime/ftplugin/ant.vim +++ /dev/null @@ -1,51 +0,0 @@ -" Vim filetype plugin file -" Language: ant -" -" This runtime file is looking for a new maintainer. -" -" Former maintainer: Dan Sharp -" Last Change: 2009 Jan 20 -" 2024 Jan 14 by Vim Project (browsefilter) - -if exists("b:did_ftplugin") | finish | endif - -" Make sure the continuation lines below do not cause problems in -" compatibility mode. -let s:save_cpo = &cpo -set cpo-=C - -" Define some defaults in case the included ftplugins don't set them. -let s:undo_ftplugin = "" -let s:browsefilter = "XML Files (*.xml)\t*.xml\n" -if has("win32") - let s:browsefilter .= "All Files (*.*)\t*\n" -else - let s:browsefilter .= "All Files (*)\t*\n" -endif - -runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim -let b:did_ftplugin = 1 - -" Override our defaults if these were set by an included ftplugin. -if exists("b:undo_ftplugin") - let s:undo_ftplugin = b:undo_ftplugin -endif -if exists("b:browsefilter") - let s:browsefilter = b:browsefilter -endif - -" Change the :browse e filter to primarily show Ant-related files. -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "Build Files (build.xml)\tbuild.xml\n" . - \ "Java Files (*.java)\t*.java\n" . - \ "Properties Files (*.prop*)\t*.prop*\n" . - \ "Manifest Files (*.mf)\t*.mf\n" . - \ s:browsefilter -endif - -" Undo the stuff we changed. -let b:undo_ftplugin = "unlet! b:browsefilter | " . s:undo_ftplugin - -" Restore the saved compatibility options. -let &cpo = s:save_cpo -unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/antlr4.mnv b/uvim/runtime/ftplugin/antlr4.mnv new file mode 100644 index 0000000000..a17cc6df38 --- /dev/null +++ b/uvim/runtime/ftplugin/antlr4.mnv @@ -0,0 +1,14 @@ +" MNV filetype plugin +" Language: ANTLR4, ANother Tool for Language Recognition v4 +" Maintainer: Yinzuo Jiang +" Last Change: 2024 July 09 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// +setlocal commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/antlr4.vim b/uvim/runtime/ftplugin/antlr4.vim deleted file mode 100644 index 610d5284fb..0000000000 --- a/uvim/runtime/ftplugin/antlr4.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Vim filetype plugin -" Language: ANTLR4, ANother Tool for Language Recognition v4 -" Maintainer: Yinzuo Jiang -" Last Change: 2024 July 09 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// -setlocal commentstring=//\ %s - -let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/apache.mnv b/uvim/runtime/ftplugin/apache.mnv new file mode 100644 index 0000000000..3896ec8e31 --- /dev/null +++ b/uvim/runtime/ftplugin/apache.mnv @@ -0,0 +1,16 @@ +" MNV filetype plugin +" Language: apache configuration file +" Maintainer: Per Juchtmans +" Last Change: 2022 Oct 22 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:# +setlocal commentstring=#\ %s + +let b:undo_ftplugin = "setlocal comments< commentstring<" + +" mnv: nowrap sw=2 sts=2 ts=8 noet: diff --git a/uvim/runtime/ftplugin/apache.vim b/uvim/runtime/ftplugin/apache.vim deleted file mode 100644 index 9f612f5447..0000000000 --- a/uvim/runtime/ftplugin/apache.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim filetype plugin -" Language: apache configuration file -" Maintainer: Per Juchtmans -" Last Change: 2022 Oct 22 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=:# -setlocal commentstring=#\ %s - -let b:undo_ftplugin = "setlocal comments< commentstring<" - -" vim: nowrap sw=2 sts=2 ts=8 noet: diff --git a/uvim/runtime/ftplugin/arch.mnv b/uvim/runtime/ftplugin/arch.mnv new file mode 100644 index 0000000000..8827f47090 --- /dev/null +++ b/uvim/runtime/ftplugin/arch.mnv @@ -0,0 +1,19 @@ +" MNV filetype plugin file +" Language: GNU Arch inventory file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/arch.vim b/uvim/runtime/ftplugin/arch.vim deleted file mode 100644 index 1c697b8ca1..0000000000 --- a/uvim/runtime/ftplugin/arch.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Vim filetype plugin file -" Language: GNU Arch inventory file -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< fo<" - -setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/arduino.mnv b/uvim/runtime/ftplugin/arduino.mnv new file mode 100644 index 0000000000..e2e0694685 --- /dev/null +++ b/uvim/runtime/ftplugin/arduino.mnv @@ -0,0 +1,67 @@ +" MNV filetype plugin file +" Language: Arduino +" Maintainer: The MNV Project +" Ken Takata +" Last Change: 2024 Apr 12 +" 2024 Jun 02 by Riley Bruins ('commentstring') +" +" Most of the part was copied from c.mnv. + +" 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 + +" Using line continuation here. +let s:cpo_save = &cpo +set cpo-=C + +let b:undo_ftplugin = "setl fo< com< ofu< cms< def< inc<" + +if !exists("g:arduino_recommended_style") || g:arduino_recommended_style != 0 + " Use the default setting of Arduino IDE. + setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2 + let b:undo_ftplugin ..= " et< ts< sts< sw<" +endif + +" Set 'formatoptions' to break comment lines but not other lines, +" and insert the comment leader when hitting or using "o". +setlocal fo-=t fo+=croql + +" These options have the right value as default, but the user may have +" overruled that. +setlocal commentstring=/*\ %s\ */ define& include& + +" Set completion with CTRL-X CTRL-O to autoloaded function. +if exists('&ofu') + setlocal ofu=ccomplete#Complete +endif + +" Set 'comments' to format dashed lists in comments. +" Also include ///, used for Doxygen. +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// + +" When the matchit plugin is loaded, this makes the % command skip parens and +" braces in comments properly. +if !exists("b:match_words") + let b:match_words = '^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>' + let b:match_skip = 's:comment\|string\|character\|special' + let b:undo_ftplugin ..= " | unlet! b:match_skip b:match_words" +endif + +" Win32 and GTK can filter files in the browse dialog +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Arduino Source Files (*.ino, *.pde)\t*.ino;*.pde\n" + if has("win32") + let b:browsefilter ..= "All Files (*.*)\t*\n" + else + let b:browsefilter ..= "All Files (*)\t*\n" + endif + let b:undo_ftplugin ..= " | unlet! b:browsefilter" +endif + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/arduino.vim b/uvim/runtime/ftplugin/arduino.vim deleted file mode 100644 index 60b11dab1a..0000000000 --- a/uvim/runtime/ftplugin/arduino.vim +++ /dev/null @@ -1,67 +0,0 @@ -" Vim filetype plugin file -" Language: Arduino -" Maintainer: The Vim Project -" Ken Takata -" Last Change: 2024 Apr 12 -" 2024 Jun 02 by Riley Bruins ('commentstring') -" -" Most of the part was copied from c.vim. - -" 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 - -" Using line continuation here. -let s:cpo_save = &cpo -set cpo-=C - -let b:undo_ftplugin = "setl fo< com< ofu< cms< def< inc<" - -if !exists("g:arduino_recommended_style") || g:arduino_recommended_style != 0 - " Use the default setting of Arduino IDE. - setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2 - let b:undo_ftplugin ..= " et< ts< sts< sw<" -endif - -" Set 'formatoptions' to break comment lines but not other lines, -" and insert the comment leader when hitting or using "o". -setlocal fo-=t fo+=croql - -" These options have the right value as default, but the user may have -" overruled that. -setlocal commentstring=/*\ %s\ */ define& include& - -" Set completion with CTRL-X CTRL-O to autoloaded function. -if exists('&ofu') - setlocal ofu=ccomplete#Complete -endif - -" Set 'comments' to format dashed lists in comments. -" Also include ///, used for Doxygen. -setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// - -" When the matchit plugin is loaded, this makes the % command skip parens and -" braces in comments properly. -if !exists("b:match_words") - let b:match_words = '^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>' - let b:match_skip = 's:comment\|string\|character\|special' - let b:undo_ftplugin ..= " | unlet! b:match_skip b:match_words" -endif - -" Win32 and GTK can filter files in the browse dialog -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "Arduino Source Files (*.ino, *.pde)\t*.ino;*.pde\n" - if has("win32") - let b:browsefilter ..= "All Files (*.*)\t*\n" - else - let b:browsefilter ..= "All Files (*)\t*\n" - endif - let b:undo_ftplugin ..= " | unlet! b:browsefilter" -endif - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/art.mnv b/uvim/runtime/ftplugin/art.mnv new file mode 100644 index 0000000000..e44a659cb2 --- /dev/null +++ b/uvim/runtime/ftplugin/art.mnv @@ -0,0 +1,18 @@ +" MNV filetype plugin +" Language: ART-IM and ART*Enterprise +" Maintainer: Dorai Sitaram +" URL: http://www.ccs.neu.edu/~dorai/mnvplugins/mnvplugins.html +" Last Change: Apr 2, 2003 +" 2023 Aug 28 by MNV Project (undo_ftplugin) + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +run ftplugin/lisp.mnv + +setl lw-=if +setl lw+=def-art-fun,deffacts,defglobal,defrule,defschema,for,schema,while + +let b:undo_ftplugin ..= " | setl lw<" diff --git a/uvim/runtime/ftplugin/art.vim b/uvim/runtime/ftplugin/art.vim deleted file mode 100644 index 41b02a94e5..0000000000 --- a/uvim/runtime/ftplugin/art.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Vim filetype plugin -" Language: ART-IM and ART*Enterprise -" Maintainer: Dorai Sitaram -" URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html -" Last Change: Apr 2, 2003 -" 2023 Aug 28 by Vim Project (undo_ftplugin) - -" Only do this when not done yet for this buffer -if exists("b:did_ftplugin") - finish -endif - -run ftplugin/lisp.vim - -setl lw-=if -setl lw+=def-art-fun,deffacts,defglobal,defrule,defschema,for,schema,while - -let b:undo_ftplugin ..= " | setl lw<" diff --git a/uvim/runtime/ftplugin/asciidoc.mnv b/uvim/runtime/ftplugin/asciidoc.mnv new file mode 100644 index 0000000000..4c29c6f34d --- /dev/null +++ b/uvim/runtime/ftplugin/asciidoc.mnv @@ -0,0 +1,68 @@ +" MNV filetype plugin file +" Original Author: Maxim Kim +" Previous Maintainer: Luca Saccarola +" Maintainer: This runtime file is looking for a new maintainer. +" Language: asciidoc +" Last Change: 2025 Aug 05 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +if exists('b:undo_ftplugin') + let b:undo_ftplugin .= "|setl cms< com< fo< flp< inex< efm< cfu< fde< fdm<" +else + let b:undo_ftplugin = "setl cms< com< fo< flp< inex< efm< cfu< fde< fdm<" +endif + +" gf to open include::file.ext[] and link:file.ext[] files +setlocal includeexpr=substitute(v:fname,'\\(link:\\\|include::\\)\\(.\\{-}\\)\\[.*','\\2','g') + +setlocal comments= +setlocal commentstring=//\ %s + +setlocal formatoptions+=cqn +setlocal formatlistpat=^\\s*[\\[({]\\?\\([0-9]\\+ +setlocal formatlistpat+=\\\|[a-zA-Z]\\)[\\]:.)}]\\s\\+ +setlocal formatlistpat+=\\\|^\\s*-\\s\\+ +setlocal formatlistpat+=\\\|^\\s*[*]\\+\\s\\+ +setlocal formatlistpat+=\\\|^\\s*[.]\\+\\s\\+ + +function AsciidocFold() + let line = getline(v:lnum) + + if (v:lnum == 1) && (line =~ '^----*$') + return ">1" + endif + + let nested = get(g:, "asciidoc_foldnested", 1) + + " Regular headers + let depth = match(line, '\(^=\+\)\@<=\( .*$\)\@=') + + " Do not fold nested regular headers + if depth > 1 && !nested + let depth = 1 + endif + + if depth > 0 + " fold all sections under title + if depth > 1 && !get(g:, "asciidoc_fold_under_title", 1) + let depth -= 1 + endif + " check syntax, it should be asciidocTitle or asciidocH + let syncode = synstack(v:lnum, 1) + if len(syncode) > 0 && synIDattr(syncode[0], 'name') =~ 'asciidoc\%(H[1-6]\)\|Title' + return ">" . depth + endif + endif + + return "=" +endfunction + +if has("folding") && get(g:, 'asciidoc_folding', 0) + setlocal foldexpr=AsciidocFold() + setlocal foldmethod=expr + let b:undo_ftplugin .= "|setl foldexpr< foldmethod< foldtext<" +endif diff --git a/uvim/runtime/ftplugin/asciidoc.vim b/uvim/runtime/ftplugin/asciidoc.vim deleted file mode 100644 index 1b2407116c..0000000000 --- a/uvim/runtime/ftplugin/asciidoc.vim +++ /dev/null @@ -1,68 +0,0 @@ -" Vim filetype plugin file -" Original Author: Maxim Kim -" Previous Maintainer: Luca Saccarola -" Maintainer: This runtime file is looking for a new maintainer. -" Language: asciidoc -" Last Change: 2025 Aug 05 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -if exists('b:undo_ftplugin') - let b:undo_ftplugin .= "|setl cms< com< fo< flp< inex< efm< cfu< fde< fdm<" -else - let b:undo_ftplugin = "setl cms< com< fo< flp< inex< efm< cfu< fde< fdm<" -endif - -" gf to open include::file.ext[] and link:file.ext[] files -setlocal includeexpr=substitute(v:fname,'\\(link:\\\|include::\\)\\(.\\{-}\\)\\[.*','\\2','g') - -setlocal comments= -setlocal commentstring=//\ %s - -setlocal formatoptions+=cqn -setlocal formatlistpat=^\\s*[\\[({]\\?\\([0-9]\\+ -setlocal formatlistpat+=\\\|[a-zA-Z]\\)[\\]:.)}]\\s\\+ -setlocal formatlistpat+=\\\|^\\s*-\\s\\+ -setlocal formatlistpat+=\\\|^\\s*[*]\\+\\s\\+ -setlocal formatlistpat+=\\\|^\\s*[.]\\+\\s\\+ - -function AsciidocFold() - let line = getline(v:lnum) - - if (v:lnum == 1) && (line =~ '^----*$') - return ">1" - endif - - let nested = get(g:, "asciidoc_foldnested", 1) - - " Regular headers - let depth = match(line, '\(^=\+\)\@<=\( .*$\)\@=') - - " Do not fold nested regular headers - if depth > 1 && !nested - let depth = 1 - endif - - if depth > 0 - " fold all sections under title - if depth > 1 && !get(g:, "asciidoc_fold_under_title", 1) - let depth -= 1 - endif - " check syntax, it should be asciidocTitle or asciidocH - let syncode = synstack(v:lnum, 1) - if len(syncode) > 0 && synIDattr(syncode[0], 'name') =~ 'asciidoc\%(H[1-6]\)\|Title' - return ">" . depth - endif - endif - - return "=" -endfunction - -if has("folding") && get(g:, 'asciidoc_folding', 0) - setlocal foldexpr=AsciidocFold() - setlocal foldmethod=expr - let b:undo_ftplugin .= "|setl foldexpr< foldmethod< foldtext<" -endif diff --git a/uvim/runtime/ftplugin/asm.mnv b/uvim/runtime/ftplugin/asm.mnv new file mode 100644 index 0000000000..628af4988e --- /dev/null +++ b/uvim/runtime/ftplugin/asm.mnv @@ -0,0 +1,25 @@ +" MNV filetype plugin file +" Language: asm +" Maintainer: Colin Caine +" Last Change: 2020 May 23 +" 2023 Aug 28 by MNV Project (undo_ftplugin) +" 2024 Apr 09 by MNV Project (add Matchit support) +" 2024 May 23 by Riley Bruins ('commentstring') +" 2026 Jan 19 by MNV Project (add # as comment symbol) + +if exists("b:did_ftplugin") | finish | endif +let b:did_ftplugin = 1 + +setl include=^\\s*%\\s*include +setl comments=:;,s1:/*,mb:*,ex:*/,://,:# +setl commentstring=;\ %s + +let b:undo_ftplugin = "setl commentstring< comments< include<" + +" Matchit support +if !exists('b:match_words') + let b:match_skip = 's:comment\|string\|character\|special' + let b:match_words = '^\s*%\s*if\%(\|num\|idn\|nidn\)\>:^\s*%\s*elif\>:^\s*%\s*else\>:^\s*%\s*endif\>,^\s*%\s*macro\>:^\s*%\s*endmacro\>,^\s*%\s*rep\>:^\s*%\s*endrep\>' + let b:match_ignorecase = 1 + let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words b:match_skip" +endif diff --git a/uvim/runtime/ftplugin/asm.vim b/uvim/runtime/ftplugin/asm.vim deleted file mode 100644 index 46ffcf8256..0000000000 --- a/uvim/runtime/ftplugin/asm.vim +++ /dev/null @@ -1,25 +0,0 @@ -" Vim filetype plugin file -" Language: asm -" Maintainer: Colin Caine -" Last Change: 2020 May 23 -" 2023 Aug 28 by Vim Project (undo_ftplugin) -" 2024 Apr 09 by Vim Project (add Matchit support) -" 2024 May 23 by Riley Bruins ('commentstring') -" 2026 Jan 19 by Vim Project (add # as comment symbol) - -if exists("b:did_ftplugin") | finish | endif -let b:did_ftplugin = 1 - -setl include=^\\s*%\\s*include -setl comments=:;,s1:/*,mb:*,ex:*/,://,:# -setl commentstring=;\ %s - -let b:undo_ftplugin = "setl commentstring< comments< include<" - -" Matchit support -if !exists('b:match_words') - let b:match_skip = 's:comment\|string\|character\|special' - let b:match_words = '^\s*%\s*if\%(\|num\|idn\|nidn\)\>:^\s*%\s*elif\>:^\s*%\s*else\>:^\s*%\s*endif\>,^\s*%\s*macro\>:^\s*%\s*endmacro\>,^\s*%\s*rep\>:^\s*%\s*endrep\>' - let b:match_ignorecase = 1 - let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words b:match_skip" -endif diff --git a/uvim/runtime/ftplugin/aspvbs.mnv b/uvim/runtime/ftplugin/aspvbs.mnv new file mode 100644 index 0000000000..b4c34c987e --- /dev/null +++ b/uvim/runtime/ftplugin/aspvbs.mnv @@ -0,0 +1,67 @@ +" MNV filetype plugin file +" Language: aspvbs +" +" This runtime file is looking for a new maintainer. +" +" Former maintainer: Dan Sharp +" Last Change: 2009 Jan 20 +" 2024 Jan 14 by MNV Project (browsefilter) + +if exists("b:did_ftplugin") | finish | endif + +" Make sure the continuation lines below do not cause problems in +" compatibility mode. +let s:save_cpo = &cpo +set cpo-=C + +" Define some defaults in case the included ftplugins don't set them. +let s:undo_ftplugin = "" +let s:browsefilter = "HTML Files (*.html, *.htm)\t*.htm*\n" +if has("win32") + let s:browsefilter .= "All Files (*.*)\t*\n" +else + let s:browsefilter .= "All Files (*)\t*\n" +endif +let s:match_words = "" + +runtime! ftplugin/html.mnv ftplugin/html_*.mnv ftplugin/html/*.mnv +let b:did_ftplugin = 1 + +" Override our defaults if these were set by an included ftplugin. +if exists("b:undo_ftplugin") + let s:undo_ftplugin = b:undo_ftplugin +endif +if exists("b:browsefilter") + let s:browsefilter = b:browsefilter +endif +if exists("b:match_words") + let s:match_words = b:match_words +endif + +" ASP: Active Server Pages (with Visual Basic Script) +" thanks to Gontran BAERTS +if exists("loaded_matchit") + let s:notend = '\%(\\%(.\{-}then\s\+\w\)\@!:\:^\s*\:\,' . + \ s:notend . '\:\:\:\,' . + \ '^\s*\:\,' . + \ '^\s*\:\,' . + \ '\:\,' . + \ '^\s*\:\,' . + \ '^\s*\:\,' . + \ '\:\,' . + \ s:match_words +endif + +" Change the :browse e filter to primarily show ASP-related files. +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter="ASP Files (*.asp)\t*.asp\n" . s:browsefilter +endif + +let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase b:browsefilter | " . s:undo_ftplugin + +" Restore the saved compatibility options. +let &cpo = s:save_cpo +unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/aspvbs.vim b/uvim/runtime/ftplugin/aspvbs.vim deleted file mode 100644 index 6979bb8f84..0000000000 --- a/uvim/runtime/ftplugin/aspvbs.vim +++ /dev/null @@ -1,67 +0,0 @@ -" Vim filetype plugin file -" Language: aspvbs -" -" This runtime file is looking for a new maintainer. -" -" Former maintainer: Dan Sharp -" Last Change: 2009 Jan 20 -" 2024 Jan 14 by Vim Project (browsefilter) - -if exists("b:did_ftplugin") | finish | endif - -" Make sure the continuation lines below do not cause problems in -" compatibility mode. -let s:save_cpo = &cpo -set cpo-=C - -" Define some defaults in case the included ftplugins don't set them. -let s:undo_ftplugin = "" -let s:browsefilter = "HTML Files (*.html, *.htm)\t*.htm*\n" -if has("win32") - let s:browsefilter .= "All Files (*.*)\t*\n" -else - let s:browsefilter .= "All Files (*)\t*\n" -endif -let s:match_words = "" - -runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim -let b:did_ftplugin = 1 - -" Override our defaults if these were set by an included ftplugin. -if exists("b:undo_ftplugin") - let s:undo_ftplugin = b:undo_ftplugin -endif -if exists("b:browsefilter") - let s:browsefilter = b:browsefilter -endif -if exists("b:match_words") - let s:match_words = b:match_words -endif - -" ASP: Active Server Pages (with Visual Basic Script) -" thanks to Gontran BAERTS -if exists("loaded_matchit") - let s:notend = '\%(\\%(.\{-}then\s\+\w\)\@!:\:^\s*\:\,' . - \ s:notend . '\:\:\:\,' . - \ '^\s*\:\,' . - \ '^\s*\:\,' . - \ '\:\,' . - \ '^\s*\:\,' . - \ '^\s*\:\,' . - \ '\:\,' . - \ s:match_words -endif - -" Change the :browse e filter to primarily show ASP-related files. -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter="ASP Files (*.asp)\t*.asp\n" . s:browsefilter -endif - -let b:undo_ftplugin = "unlet! b:match_words b:match_ignorecase b:browsefilter | " . s:undo_ftplugin - -" Restore the saved compatibility options. -let &cpo = s:save_cpo -unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/astro.mnv b/uvim/runtime/ftplugin/astro.mnv new file mode 100644 index 0000000000..57fcca9237 --- /dev/null +++ b/uvim/runtime/ftplugin/astro.mnv @@ -0,0 +1,192 @@ +" MNV filetype plugin file +" Language: Astro +" Maintainer: Romain Lafourcade +" Last Change: 2024 Apr 21 +" 2024 May 24 by Riley Bruins ('commentstring') +" 2025 Aug 29 by MNV project, add try/catch around json_decode(), #18141 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo-=C + +function! s:IdentifyScope(start, end) abort + let pos_start = searchpairpos(a:start, '', a:end, 'bnW') + let pos_end = searchpairpos(a:start, '', a:end, 'nW') + + return pos_start != [0, 0] + \ && pos_end != [0, 0] + \ && pos_start[0] != getpos('.')[1] +endfunction + +function! s:AstroComments() abort + if s:IdentifyScope('^---\n\s*\S', '^---\n\n') + \ || s:IdentifyScope('^\s*') + " ECMAScript comments + setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// + setlocal commentstring=//\ %s + + elseif s:IdentifyScope('^\s*') + " CSS comments + setlocal comments=s1:/*,mb:*,ex:*/ + setlocal commentstring=/*\ %s\ */ + + else + " HTML comments + setlocal comments=s: + setlocal commentstring= + endif +endfunction + +" https://code.visualstudio.com/docs/languages/jsconfig +function! s:CollectPathsFromConfig() abort + let config_json = findfile('tsconfig.json', '.;') + + if empty(config_json) + let config_json = findfile('jsconfig.json', '.;') + + if empty(config_json) + return + endif + endif + + try + let paths_from_config = config_json + \ ->readfile() + \ ->filter({ _, val -> val =~ '^\s*[\[\]{}"0-9]' }) + \ ->join() + \ ->json_decode() + \ ->get('compilerOptions', {}) + \ ->get('paths', {}) + catch /^MNV\%((\a\+)\)\=:E491:/ " invalid json + let paths_from_config = {} + endtry + + if !empty(paths_from_config) + let b:astro_paths = paths_from_config + \ ->map({key, val -> [ + \ key->glob2regpat(), + \ val[0]->substitute('\/\*$', '', '') + \ ]}) + \ ->values() + endif + + let b:undo_ftplugin ..= " | unlet! b:astro_paths" +endfunction + +function! s:AstroInclude(filename) abort + let decorated_filename = a:filename + \ ->substitute("^", "@", "") + + let found_path = b: + \ ->get("astro_paths", []) + \ ->indexof({ key, val -> decorated_filename =~ val[0]}) + + if found_path != -1 + let alias = b:astro_paths[found_path][0] + let path = b:astro_paths[found_path][1] + \ ->substitute('\(\/\)*$', '/', '') + + return decorated_filename + \ ->substitute(alias, path, '') + endif + + return a:filename +endfunction + +let b:undo_ftplugin = "setlocal" + \ .. " formatoptions<" + \ .. " path<" + \ .. " suffixesadd<" + \ .. " matchpairs<" + \ .. " comments<" + \ .. " commentstring<" + \ .. " iskeyword<" + \ .. " define<" + \ .. " include<" + \ .. " includeexpr<" + +" Create self-resetting autocommand group +augroup Astro + autocmd! * +augroup END + +" Set 'formatoptions' to break comment lines but not other lines, +" and insert the comment leader when hitting or using "o". +setlocal formatoptions-=t +setlocal formatoptions+=croql + +" Remove irrelevant part of 'path'. +setlocal path-=/usr/include + +" Seed 'path' with default directories for :find, gf, etc. +setlocal path+=src/** +setlocal path+=public/** + +" Help MNV find extension-less filenames +let &l:suffixesadd = + \ ".astro" + \ .. ",.js,.jsx,.es,.es6,.cjs,.mjs,.jsm" + \ .. ",.json" + \ .. ",.scss,.sass,.css" + \ .. ",.svelte" + \ .. ",.ts,.tsx,.d.ts" + \ .. ",.vue" + +" From $MNVRUNTIME/ftplugin/html.mnv +setlocal matchpairs+=<:> + +" Matchit configuration +if exists("loaded_matchit") + let b:match_ignorecase = 0 + + " From $MNVRUNTIME/ftplugin/javascript.mnv + let b:match_words = + \ '\:\,' + \ .. '<\@<=\([^ \t>/]\+\)\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\):<\@<=/\1>,' + \ .. '<\@<=\%([^ \t>/]\+\)\%(\s\+[^/>]*\|$\):/>' + + " From $MNVRUNTIME/ftplugin/html.mnv + let b:match_words ..= + \ ',' + \ .. '<:>,' + \ .. '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' + \ .. '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' + \ .. '<\@<=\([^/!][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>' + + let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words" +endif + +" Change what constitutes a word, mainly useful for CSS/SASS +setlocal iskeyword+=- +setlocal iskeyword+=$ +setlocal iskeyword+=% + +" Define paths/aliases for module resolution +call s:CollectPathsFromConfig() + +" Find ESM imports +setlocal include=^\\s*\\(import\\\|import\\s\\+[^\/]\\+from\\)\\s\\+['\"] + +" Process aliases if file can't be found +setlocal includeexpr=s:AstroInclude(v:fname) + +" Set 'define' to a comprehensive value +" From $MNVRUNTIME/ftplugin/javascript.mnv and +" $MNVRUNTIME/ftplugin/sass.mnv +let &l:define = + \ '\(^\s*(*async\s\+function\|(*function\)' + \ .. '\|^\s*\(\*\|static\|async\|get\|set\|\i\+\.\)' + \ .. '\|^\s*\(\ze\i\+\)\(([^)]*).*{$\|\s*[:=,]\)' + + +" Set &comments and &commentstring according to current scope +autocmd Astro CursorMoved call s:AstroComments() + +let &cpo = s:cpo_save +unlet s:cpo_save + +" mnv: textwidth=78 tabstop=8 shiftwidth=4 softtabstop=4 expandtab diff --git a/uvim/runtime/ftplugin/astro.vim b/uvim/runtime/ftplugin/astro.vim deleted file mode 100644 index 856b96f23b..0000000000 --- a/uvim/runtime/ftplugin/astro.vim +++ /dev/null @@ -1,192 +0,0 @@ -" Vim filetype plugin file -" Language: Astro -" Maintainer: Romain Lafourcade -" Last Change: 2024 Apr 21 -" 2024 May 24 by Riley Bruins ('commentstring') -" 2025 Aug 29 by Vim project, add try/catch around json_decode(), #18141 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo-=C - -function! s:IdentifyScope(start, end) abort - let pos_start = searchpairpos(a:start, '', a:end, 'bnW') - let pos_end = searchpairpos(a:start, '', a:end, 'nW') - - return pos_start != [0, 0] - \ && pos_end != [0, 0] - \ && pos_start[0] != getpos('.')[1] -endfunction - -function! s:AstroComments() abort - if s:IdentifyScope('^---\n\s*\S', '^---\n\n') - \ || s:IdentifyScope('^\s*') - " ECMAScript comments - setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// - setlocal commentstring=//\ %s - - elseif s:IdentifyScope('^\s*') - " CSS comments - setlocal comments=s1:/*,mb:*,ex:*/ - setlocal commentstring=/*\ %s\ */ - - else - " HTML comments - setlocal comments=s: - setlocal commentstring= - endif -endfunction - -" https://code.visualstudio.com/docs/languages/jsconfig -function! s:CollectPathsFromConfig() abort - let config_json = findfile('tsconfig.json', '.;') - - if empty(config_json) - let config_json = findfile('jsconfig.json', '.;') - - if empty(config_json) - return - endif - endif - - try - let paths_from_config = config_json - \ ->readfile() - \ ->filter({ _, val -> val =~ '^\s*[\[\]{}"0-9]' }) - \ ->join() - \ ->json_decode() - \ ->get('compilerOptions', {}) - \ ->get('paths', {}) - catch /^Vim\%((\a\+)\)\=:E491:/ " invalid json - let paths_from_config = {} - endtry - - if !empty(paths_from_config) - let b:astro_paths = paths_from_config - \ ->map({key, val -> [ - \ key->glob2regpat(), - \ val[0]->substitute('\/\*$', '', '') - \ ]}) - \ ->values() - endif - - let b:undo_ftplugin ..= " | unlet! b:astro_paths" -endfunction - -function! s:AstroInclude(filename) abort - let decorated_filename = a:filename - \ ->substitute("^", "@", "") - - let found_path = b: - \ ->get("astro_paths", []) - \ ->indexof({ key, val -> decorated_filename =~ val[0]}) - - if found_path != -1 - let alias = b:astro_paths[found_path][0] - let path = b:astro_paths[found_path][1] - \ ->substitute('\(\/\)*$', '/', '') - - return decorated_filename - \ ->substitute(alias, path, '') - endif - - return a:filename -endfunction - -let b:undo_ftplugin = "setlocal" - \ .. " formatoptions<" - \ .. " path<" - \ .. " suffixesadd<" - \ .. " matchpairs<" - \ .. " comments<" - \ .. " commentstring<" - \ .. " iskeyword<" - \ .. " define<" - \ .. " include<" - \ .. " includeexpr<" - -" Create self-resetting autocommand group -augroup Astro - autocmd! * -augroup END - -" Set 'formatoptions' to break comment lines but not other lines, -" and insert the comment leader when hitting or using "o". -setlocal formatoptions-=t -setlocal formatoptions+=croql - -" Remove irrelevant part of 'path'. -setlocal path-=/usr/include - -" Seed 'path' with default directories for :find, gf, etc. -setlocal path+=src/** -setlocal path+=public/** - -" Help Vim find extension-less filenames -let &l:suffixesadd = - \ ".astro" - \ .. ",.js,.jsx,.es,.es6,.cjs,.mjs,.jsm" - \ .. ",.json" - \ .. ",.scss,.sass,.css" - \ .. ",.svelte" - \ .. ",.ts,.tsx,.d.ts" - \ .. ",.vue" - -" From $VIMRUNTIME/ftplugin/html.vim -setlocal matchpairs+=<:> - -" Matchit configuration -if exists("loaded_matchit") - let b:match_ignorecase = 0 - - " From $VIMRUNTIME/ftplugin/javascript.vim - let b:match_words = - \ '\:\,' - \ .. '<\@<=\([^ \t>/]\+\)\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\):<\@<=/\1>,' - \ .. '<\@<=\%([^ \t>/]\+\)\%(\s\+[^/>]*\|$\):/>' - - " From $VIMRUNTIME/ftplugin/html.vim - let b:match_words ..= - \ ',' - \ .. '<:>,' - \ .. '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' - \ .. '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' - \ .. '<\@<=\([^/!][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>' - - let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_words" -endif - -" Change what constitutes a word, mainly useful for CSS/SASS -setlocal iskeyword+=- -setlocal iskeyword+=$ -setlocal iskeyword+=% - -" Define paths/aliases for module resolution -call s:CollectPathsFromConfig() - -" Find ESM imports -setlocal include=^\\s*\\(import\\\|import\\s\\+[^\/]\\+from\\)\\s\\+['\"] - -" Process aliases if file can't be found -setlocal includeexpr=s:AstroInclude(v:fname) - -" Set 'define' to a comprehensive value -" From $VIMRUNTIME/ftplugin/javascript.vim and -" $VIMRUNTIME/ftplugin/sass.vim -let &l:define = - \ '\(^\s*(*async\s\+function\|(*function\)' - \ .. '\|^\s*\(\*\|static\|async\|get\|set\|\i\+\.\)' - \ .. '\|^\s*\(\ze\i\+\)\(([^)]*).*{$\|\s*[:=,]\)' - - -" Set &comments and &commentstring according to current scope -autocmd Astro CursorMoved call s:AstroComments() - -let &cpo = s:cpo_save -unlet s:cpo_save - -" vim: textwidth=78 tabstop=8 shiftwidth=4 softtabstop=4 expandtab diff --git a/uvim/runtime/ftplugin/asy.mnv b/uvim/runtime/ftplugin/asy.mnv new file mode 100644 index 0000000000..5ac4d51b3e --- /dev/null +++ b/uvim/runtime/ftplugin/asy.mnv @@ -0,0 +1,14 @@ +" MNV filetype plugin +" Language: Asymptote +" Maintainer: AvidSeeker +" Last Change: 2024 Jul 13 +" + +if exists("b:did_ftplugin") + finish +endif +let g:did_ftplugin = 1 + +setlocal commentstring=/*\ %s\ */ + +let b:undo_ftplugin = "setl commentstring<" diff --git a/uvim/runtime/ftplugin/asy.vim b/uvim/runtime/ftplugin/asy.vim deleted file mode 100644 index 76bd69d202..0000000000 --- a/uvim/runtime/ftplugin/asy.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Vim filetype plugin -" Language: Asymptote -" Maintainer: AvidSeeker -" Last Change: 2024 Jul 13 -" - -if exists("b:did_ftplugin") - finish -endif -let g:did_ftplugin = 1 - -setlocal commentstring=/*\ %s\ */ - -let b:undo_ftplugin = "setl commentstring<" diff --git a/uvim/runtime/ftplugin/autohotkey.mnv b/uvim/runtime/ftplugin/autohotkey.mnv new file mode 100644 index 0000000000..0b1627433e --- /dev/null +++ b/uvim/runtime/ftplugin/autohotkey.mnv @@ -0,0 +1,16 @@ +" MNV filetype plugin file +" Language: AutoHotkey +" Maintainer: Peter Aronoff +" Last Changed: 2024 Jul 25 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:; +setlocal commentstring=;\ %s + +let b:undo_ftplugin = "setlocal comments< commentstring<" + +" mnv: nowrap sw=2 sts=2 ts=8 noet: diff --git a/uvim/runtime/ftplugin/autohotkey.vim b/uvim/runtime/ftplugin/autohotkey.vim deleted file mode 100644 index 9cb4fd7fdf..0000000000 --- a/uvim/runtime/ftplugin/autohotkey.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim filetype plugin file -" Language: AutoHotkey -" Maintainer: Peter Aronoff -" Last Changed: 2024 Jul 25 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=:; -setlocal commentstring=;\ %s - -let b:undo_ftplugin = "setlocal comments< commentstring<" - -" vim: nowrap sw=2 sts=2 ts=8 noet: diff --git a/uvim/runtime/ftplugin/automake.mnv b/uvim/runtime/ftplugin/automake.mnv new file mode 100644 index 0000000000..5825a828ec --- /dev/null +++ b/uvim/runtime/ftplugin/automake.mnv @@ -0,0 +1,16 @@ +" MNV filetype plugin file +" Language: Automake +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif + +let s:cpo_save = &cpo +set cpo&mnv + +runtime! ftplugin/make.mnv ftplugin/make_*.mnv ftplugin/make/*.mnv + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/automake.vim b/uvim/runtime/ftplugin/automake.vim deleted file mode 100644 index 9f981a7a83..0000000000 --- a/uvim/runtime/ftplugin/automake.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim filetype plugin file -" Language: Automake -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif - -let s:cpo_save = &cpo -set cpo&vim - -runtime! ftplugin/make.vim ftplugin/make_*.vim ftplugin/make/*.vim - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/autopkgtest.mnv b/uvim/runtime/ftplugin/autopkgtest.mnv new file mode 100644 index 0000000000..74799241a8 --- /dev/null +++ b/uvim/runtime/ftplugin/autopkgtest.mnv @@ -0,0 +1,17 @@ +" MNV filetype plugin file +" Language: Debian autopkgtest control files +" Maintainer: Debian MNV Maintainers +" Last Change: 2025 Jul 05 +" URL: https://salsa.debian.org/mnv-team/mnv-debian/blob/main/ftplugin/autopkgtest.mnv + +" Do these settings once per buffer +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin=1 + +setlocal comments=:# +setlocal commentstring=#\ %s + +" Clean unloading +let b:undo_ftplugin = 'setlocal comments< commentstring<' diff --git a/uvim/runtime/ftplugin/autopkgtest.vim b/uvim/runtime/ftplugin/autopkgtest.vim deleted file mode 100644 index 3b9d59a979..0000000000 --- a/uvim/runtime/ftplugin/autopkgtest.vim +++ /dev/null @@ -1,17 +0,0 @@ -" Vim filetype plugin file -" Language: Debian autopkgtest control files -" Maintainer: Debian Vim Maintainers -" Last Change: 2025 Jul 05 -" URL: https://salsa.debian.org/vim-team/vim-debian/blob/main/ftplugin/autopkgtest.vim - -" Do these settings once per buffer -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin=1 - -setlocal comments=:# -setlocal commentstring=#\ %s - -" Clean unloading -let b:undo_ftplugin = 'setlocal comments< commentstring<' diff --git a/uvim/runtime/ftplugin/awk.mnv b/uvim/runtime/ftplugin/awk.mnv new file mode 100644 index 0000000000..a6f2ae6a04 --- /dev/null +++ b/uvim/runtime/ftplugin/awk.mnv @@ -0,0 +1,63 @@ +" MNV filetype plugin +" Language: awk, nawk, gawk, mawk +" Maintainer: Doug Kearns +" Previous Maintainer: Antonio Colombo +" Last Change: 2024 Jan 14 + +" This plugin was prepared by Mark Sikora +" This plugin was updated as proposed by Doug Kearns + +" 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 s:cpo_save = &cpo +set cpo&mnv + +setlocal comments=:# +setlocal commentstring=#\ %s +setlocal formatoptions-=t formatoptions+=croql + +setlocal define=function +setlocal suffixesadd+=.awk + +let b:undo_ftplugin = "setl fo< com< cms< def< sua<" + +" TODO: set this in scripts.mnv? +if exists("g:awk_is_gawk") + setlocal include=@include + setlocal suffixesadd+=.gawk + if has("unix") || has("win32unix") + setlocal formatprg=gawk\ -f-\ -o/dev/stdout + let b:undo_ftplugin .= " | setl fp<" + endif + + " Disabled by default for security reasons. + if dist#mnv#IsSafeExecutable('awk', 'gawk') + let path = system("gawk 'BEGIN { printf ENVIRON[\"AWKPATH\"] }'") + let path = substitute(path, '^\.\=:\|:\.\=$\|:\.\=:', ',,', 'g') " POSIX cwd + let path = substitute(path, ':', ',', 'g') + + let &l:path = path + endif + let b:undo_ftplugin .= " | setl inc< path<" +endif + +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Awk Source Files (*.awk, *.gawk)\t*.awk;*.gawk\n" + if has("win32") + let b:browsefilter .= "All Files (*.*)\t*\n" + else + let b:browsefilter .= "All Files (*)\t*\n" + endif + let b:undo_ftplugin .= " | unlet! b:browsefilter" +endif + +let &cpo = s:cpo_save +unlet s:cpo_save + +" mnv: nowrap sw=2 sts=2 ts=8 diff --git a/uvim/runtime/ftplugin/awk.vim b/uvim/runtime/ftplugin/awk.vim deleted file mode 100644 index bcd772350a..0000000000 --- a/uvim/runtime/ftplugin/awk.vim +++ /dev/null @@ -1,63 +0,0 @@ -" Vim filetype plugin -" Language: awk, nawk, gawk, mawk -" Maintainer: Doug Kearns -" Previous Maintainer: Antonio Colombo -" Last Change: 2024 Jan 14 - -" This plugin was prepared by Mark Sikora -" This plugin was updated as proposed by Doug Kearns - -" 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 s:cpo_save = &cpo -set cpo&vim - -setlocal comments=:# -setlocal commentstring=#\ %s -setlocal formatoptions-=t formatoptions+=croql - -setlocal define=function -setlocal suffixesadd+=.awk - -let b:undo_ftplugin = "setl fo< com< cms< def< sua<" - -" TODO: set this in scripts.vim? -if exists("g:awk_is_gawk") - setlocal include=@include - setlocal suffixesadd+=.gawk - if has("unix") || has("win32unix") - setlocal formatprg=gawk\ -f-\ -o/dev/stdout - let b:undo_ftplugin .= " | setl fp<" - endif - - " Disabled by default for security reasons. - if dist#vim#IsSafeExecutable('awk', 'gawk') - let path = system("gawk 'BEGIN { printf ENVIRON[\"AWKPATH\"] }'") - let path = substitute(path, '^\.\=:\|:\.\=$\|:\.\=:', ',,', 'g') " POSIX cwd - let path = substitute(path, ':', ',', 'g') - - let &l:path = path - endif - let b:undo_ftplugin .= " | setl inc< path<" -endif - -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "Awk Source Files (*.awk, *.gawk)\t*.awk;*.gawk\n" - if has("win32") - let b:browsefilter .= "All Files (*.*)\t*\n" - else - let b:browsefilter .= "All Files (*)\t*\n" - endif - let b:undo_ftplugin .= " | unlet! b:browsefilter" -endif - -let &cpo = s:cpo_save -unlet s:cpo_save - -" vim: nowrap sw=2 sts=2 ts=8 diff --git a/uvim/runtime/ftplugin/bash.mnv b/uvim/runtime/ftplugin/bash.mnv new file mode 100644 index 0000000000..7068e16463 --- /dev/null +++ b/uvim/runtime/ftplugin/bash.mnv @@ -0,0 +1,20 @@ +" MNV filetype plugin file +" Language: bash +" Maintainer: The MNV Project +" Last Changed: 2023 Aug 13 +" +" This is not a real filetype plugin. It allows for someone to set 'filetype' +" to "bash" in the modeline, and gets the effect of filetype "sh" with +" b:is_bash set. Idea from Mahmode Al-Qudsi. + +if exists("b:did_ftplugin") + finish +endif + +unlet! b:is_sh +unlet! b:is_kornshell +let b:is_bash = 1 + +runtime! ftplugin/sh.mnv ftplugin/sh_*.mnv ftplugin/sh/*.mnv + +" mnv: ts=8 diff --git a/uvim/runtime/ftplugin/bash.vim b/uvim/runtime/ftplugin/bash.vim deleted file mode 100644 index 7be1eca2a9..0000000000 --- a/uvim/runtime/ftplugin/bash.vim +++ /dev/null @@ -1,20 +0,0 @@ -" Vim filetype plugin file -" Language: bash -" Maintainer: The Vim Project -" Last Changed: 2023 Aug 13 -" -" This is not a real filetype plugin. It allows for someone to set 'filetype' -" to "bash" in the modeline, and gets the effect of filetype "sh" with -" b:is_bash set. Idea from Mahmode Al-Qudsi. - -if exists("b:did_ftplugin") - finish -endif - -unlet! b:is_sh -unlet! b:is_kornshell -let b:is_bash = 1 - -runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim - -" vim: ts=8 diff --git a/uvim/runtime/ftplugin/basic.mnv b/uvim/runtime/ftplugin/basic.mnv new file mode 100644 index 0000000000..391e008dde --- /dev/null +++ b/uvim/runtime/ftplugin/basic.mnv @@ -0,0 +1,61 @@ +" MNV filetype plugin file +" Language: BASIC (QuickBASIC 4.5) +" Maintainer: Doug Kearns +" Last Change: 2024 Jan 14 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +setlocal comments=:REM\ ,:Rem\ ,:rem\ ,:' +setlocal commentstring='\ %s +setlocal formatoptions-=t formatoptions+=croql + +let b:undo_ftplugin = "setl fo< com< cms<" + +" TODO: support exit ... as middle matches? +if exists("loaded_matchit") && !exists("b:match_words") + let s:line_start = '\%(^\s*\)\@<=' + let s:not_end = '\%(end\s\+\)\@,' .. + \ s:not_end_or_exit .. '\:\,' .. + \ s:not_end_or_exit .. '\:\,' .. + \ s:not_end .. '\:\,' .. + \ s:not_end .. '\:\%(select\s\+\)\@:\,' .. + \ '\:\,' .. + \ '\\%(\s\+\%(input\|output\|random\|append\|binary\)\)\@!:\,' .. + \ '\:\,' .. + \ s:line_start .. 'if\%(.*\:\,' .. + \ '\:\' + let b:match_skip = 'synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string" || ' .. + \ 'strpart(getline("."), 0, col(".") ) =~? "\\ -" Last Change: 2024 Jan 14 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -setlocal comments=:REM\ ,:Rem\ ,:rem\ ,:' -setlocal commentstring='\ %s -setlocal formatoptions-=t formatoptions+=croql - -let b:undo_ftplugin = "setl fo< com< cms<" - -" TODO: support exit ... as middle matches? -if exists("loaded_matchit") && !exists("b:match_words") - let s:line_start = '\%(^\s*\)\@<=' - let s:not_end = '\%(end\s\+\)\@,' .. - \ s:not_end_or_exit .. '\:\,' .. - \ s:not_end_or_exit .. '\:\,' .. - \ s:not_end .. '\:\,' .. - \ s:not_end .. '\:\%(select\s\+\)\@:\,' .. - \ '\:\,' .. - \ '\\%(\s\+\%(input\|output\|random\|append\|binary\)\)\@!:\,' .. - \ '\:\,' .. - \ s:line_start .. 'if\%(.*\:\,' .. - \ '\:\' - let b:match_skip = 'synIDattr(synID(line("."),col("."),1),"name") =~? "comment\\|string" || ' .. - \ 'strpart(getline("."), 0, col(".") ) =~? "\\ +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=b:COMMENT commentstring=COMMENT\ %s +setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/bdf.vim b/uvim/runtime/ftplugin/bdf.vim deleted file mode 100644 index 85b7b4042a..0000000000 --- a/uvim/runtime/ftplugin/bdf.vim +++ /dev/null @@ -1,20 +0,0 @@ -" Vim filetype plugin file -" Language: BDF font definition -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< fo<" - -setlocal comments=b:COMMENT commentstring=COMMENT\ %s -setlocal formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/bicep-params.mnv b/uvim/runtime/ftplugin/bicep-params.mnv new file mode 100644 index 0000000000..575b30e0b8 --- /dev/null +++ b/uvim/runtime/ftplugin/bicep-params.mnv @@ -0,0 +1,3 @@ +" Placeholder for maximum compatibility. While bicepparam files are treated as distinct filetypes, +" they are should share the same ftplugin settings as bicep files. +runtime! ftplugin/bicep.mnv diff --git a/uvim/runtime/ftplugin/bicep-params.vim b/uvim/runtime/ftplugin/bicep-params.vim deleted file mode 100644 index 7cc2d85126..0000000000 --- a/uvim/runtime/ftplugin/bicep-params.vim +++ /dev/null @@ -1,3 +0,0 @@ -" Placeholder for maximum compatibility. While bicepparam files are treated as distinct filetypes, -" they are should share the same ftplugin settings as bicep files. -runtime! ftplugin/bicep.vim diff --git a/uvim/runtime/ftplugin/bicep.mnv b/uvim/runtime/ftplugin/bicep.mnv new file mode 100644 index 0000000000..cf0605779c --- /dev/null +++ b/uvim/runtime/ftplugin/bicep.mnv @@ -0,0 +1,14 @@ +" MNV filetype plugin +" Language: Bicep +" Maintainer: Scott McKendry +" Last Change: 2025 Dec 27 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=s1:/*,mb:*,ex:*/,:// +setlocal commentstring=//\ %s + +let b:undo_ftplugin = "setlocal comments< commentstring<" diff --git a/uvim/runtime/ftplugin/bicep.vim b/uvim/runtime/ftplugin/bicep.vim deleted file mode 100644 index f142daf135..0000000000 --- a/uvim/runtime/ftplugin/bicep.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Vim filetype plugin -" Language: Bicep -" Maintainer: Scott McKendry -" Last Change: 2025 Dec 27 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=s1:/*,mb:*,ex:*/,:// -setlocal commentstring=//\ %s - -let b:undo_ftplugin = "setlocal comments< commentstring<" diff --git a/uvim/runtime/ftplugin/bindzone.mnv b/uvim/runtime/ftplugin/bindzone.mnv new file mode 100644 index 0000000000..d7af2eaf89 --- /dev/null +++ b/uvim/runtime/ftplugin/bindzone.mnv @@ -0,0 +1,16 @@ +" MNV filetype plugin file +" Language: bind zone file +" Maintainer: This runtime file is looking for a new maintainer. +" Last Change: 2024 Jul 06 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin=1 + +setlocal comments=b:; +setlocal commentstring=;\ %s +setlocal formatoptions-=t +setlocal formatoptions+=crq + +let b:undo_ftplugin = "setlocal com< cms< fo<" diff --git a/uvim/runtime/ftplugin/bindzone.vim b/uvim/runtime/ftplugin/bindzone.vim deleted file mode 100644 index f9e5f4ba3c..0000000000 --- a/uvim/runtime/ftplugin/bindzone.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim filetype plugin file -" Language: bind zone file -" Maintainer: This runtime file is looking for a new maintainer. -" Last Change: 2024 Jul 06 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin=1 - -setlocal comments=b:; -setlocal commentstring=;\ %s -setlocal formatoptions-=t -setlocal formatoptions+=crq - -let b:undo_ftplugin = "setlocal com< cms< fo<" diff --git a/uvim/runtime/ftplugin/bitbake.mnv b/uvim/runtime/ftplugin/bitbake.mnv new file mode 100644 index 0000000000..3ec01d9161 --- /dev/null +++ b/uvim/runtime/ftplugin/bitbake.mnv @@ -0,0 +1,17 @@ +" MNV filetype plugin file +" Language: Bitbake +" Maintainer: Gregory Anders +" Repository: https://github.com/openembedded/bitbake +" Latest Revision: 2022-07-23 +" 2024-05-23 by Riley Bruins ('commentstring') + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=#\ %s +setlocal comments=:# +setlocal suffixesadd=.bb,.bbclass + +let b:undo_ftplugin = "setl cms< com< sua<" diff --git a/uvim/runtime/ftplugin/bitbake.vim b/uvim/runtime/ftplugin/bitbake.vim deleted file mode 100644 index 4d50a7feb7..0000000000 --- a/uvim/runtime/ftplugin/bitbake.vim +++ /dev/null @@ -1,17 +0,0 @@ -" Vim filetype plugin file -" Language: Bitbake -" Maintainer: Gregory Anders -" Repository: https://github.com/openembedded/bitbake -" Latest Revision: 2022-07-23 -" 2024-05-23 by Riley Bruins ('commentstring') - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -setlocal commentstring=#\ %s -setlocal comments=:# -setlocal suffixesadd=.bb,.bbclass - -let b:undo_ftplugin = "setl cms< com< sua<" diff --git a/uvim/runtime/ftplugin/bp.mnv b/uvim/runtime/ftplugin/bp.mnv new file mode 100644 index 0000000000..d7d89e9f39 --- /dev/null +++ b/uvim/runtime/ftplugin/bp.mnv @@ -0,0 +1,14 @@ +" Blueprint build system filetype plugin file +" Language: Blueprint +" Maintainer: Bruno BELANYI +" Latest Revision: 2024-04-19 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=b://,s1:/*,mb:*,ex:*/ +setlocal commentstring=//\ %s + +let b:undo_ftplugin = "setlocal comments< commentstring<" diff --git a/uvim/runtime/ftplugin/bp.vim b/uvim/runtime/ftplugin/bp.vim deleted file mode 100644 index 5ddebe5233..0000000000 --- a/uvim/runtime/ftplugin/bp.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Blueprint build system filetype plugin file -" Language: Blueprint -" Maintainer: Bruno BELANYI -" Latest Revision: 2024-04-19 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=b://,s1:/*,mb:*,ex:*/ -setlocal commentstring=//\ %s - -let b:undo_ftplugin = "setlocal comments< commentstring<" diff --git a/uvim/runtime/ftplugin/bpftrace.mnv b/uvim/runtime/ftplugin/bpftrace.mnv new file mode 100644 index 0000000000..20aa6067a7 --- /dev/null +++ b/uvim/runtime/ftplugin/bpftrace.mnv @@ -0,0 +1,16 @@ +" MNV filetype plugin +" Language: bpftrace +" Maintainer: Stanislaw Gruszka +" Last Change: 2025 Dec 23 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// +setlocal commentstring=//\ %s + +setlocal formatoptions-=t formatoptions+=croql + +let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<" diff --git a/uvim/runtime/ftplugin/bpftrace.vim b/uvim/runtime/ftplugin/bpftrace.vim deleted file mode 100644 index 73772b103d..0000000000 --- a/uvim/runtime/ftplugin/bpftrace.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim filetype plugin -" Language: bpftrace -" Maintainer: Stanislaw Gruszka -" Last Change: 2025 Dec 23 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// -setlocal commentstring=//\ %s - -setlocal formatoptions-=t formatoptions+=croql - -let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions<" diff --git a/uvim/runtime/ftplugin/brighterscript.mnv b/uvim/runtime/ftplugin/brighterscript.mnv new file mode 100644 index 0000000000..1f49983baa --- /dev/null +++ b/uvim/runtime/ftplugin/brighterscript.mnv @@ -0,0 +1,11 @@ +" MNV filetype plugin +" Language: Brighterscript +" Maintainer: Riley Bruins +" Last Change: 2025 Jun 17 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +runtime! ftplugin/brightscript.mnv diff --git a/uvim/runtime/ftplugin/brighterscript.vim b/uvim/runtime/ftplugin/brighterscript.vim deleted file mode 100644 index 4fe585aec7..0000000000 --- a/uvim/runtime/ftplugin/brighterscript.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Vim filetype plugin -" Language: Brighterscript -" Maintainer: Riley Bruins -" Last Change: 2025 Jun 17 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -runtime! ftplugin/brightscript.vim diff --git a/uvim/runtime/ftplugin/brightscript.mnv b/uvim/runtime/ftplugin/brightscript.mnv new file mode 100644 index 0000000000..bc3ca4d1ab --- /dev/null +++ b/uvim/runtime/ftplugin/brightscript.mnv @@ -0,0 +1,13 @@ +" MNV filetype plugin +" Language: Brightscript +" Maintainer: Riley Bruins +" Last Change: 2025 Jun 17 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:' commentstring='\ %s + +let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/brightscript.vim b/uvim/runtime/ftplugin/brightscript.vim deleted file mode 100644 index 92bc56d248..0000000000 --- a/uvim/runtime/ftplugin/brightscript.vim +++ /dev/null @@ -1,13 +0,0 @@ -" Vim filetype plugin -" Language: Brightscript -" Maintainer: Riley Bruins -" Last Change: 2025 Jun 17 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setl comments=:' commentstring='\ %s - -let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/bst.mnv b/uvim/runtime/ftplugin/bst.mnv new file mode 100644 index 0000000000..31c34ace43 --- /dev/null +++ b/uvim/runtime/ftplugin/bst.mnv @@ -0,0 +1,15 @@ +" MNV filetype plugin file +" Language: bst +" Author: Tim Pope +" $Id: bst.mnv,v 1.1 2007/05/05 17:37:57 mnvboss Exp $ + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal commentstring=%\ %s +setlocal comments=:% +setlocal fo-=t fo+=croql + +let b:undo_ftplugin = "setlocal com< cms< fo<" diff --git a/uvim/runtime/ftplugin/bst.vim b/uvim/runtime/ftplugin/bst.vim deleted file mode 100644 index 5e65aac31c..0000000000 --- a/uvim/runtime/ftplugin/bst.vim +++ /dev/null @@ -1,15 +0,0 @@ -" Vim filetype plugin file -" Language: bst -" Author: Tim Pope -" $Id: bst.vim,v 1.1 2007/05/05 17:37:57 vimboss Exp $ - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -setlocal commentstring=%\ %s -setlocal comments=:% -setlocal fo-=t fo+=croql - -let b:undo_ftplugin = "setlocal com< cms< fo<" diff --git a/uvim/runtime/ftplugin/btm.mnv b/uvim/runtime/ftplugin/btm.mnv new file mode 100644 index 0000000000..2eaf0031d6 --- /dev/null +++ b/uvim/runtime/ftplugin/btm.mnv @@ -0,0 +1,13 @@ +" MNV filetype plugin file +" Language: BTM +" Maintainer: The MNV Project +" Last Change: 2023 Aug 10 +" Former Maintainer: Bram Moolenaar + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" Behaves just like dosbatch +runtime! ftplugin/dosbatch.mnv ftplugin/dosbatch_*.mnv ftplugin/dosbatch/*.mnv diff --git a/uvim/runtime/ftplugin/btm.vim b/uvim/runtime/ftplugin/btm.vim deleted file mode 100644 index 1c2c68599d..0000000000 --- a/uvim/runtime/ftplugin/btm.vim +++ /dev/null @@ -1,13 +0,0 @@ -" Vim filetype plugin file -" Language: BTM -" Maintainer: The Vim Project -" Last Change: 2023 Aug 10 -" Former Maintainer: Bram Moolenaar - -" Only do this when not done yet for this buffer -if exists("b:did_ftplugin") - finish -endif - -" Behaves just like dosbatch -runtime! ftplugin/dosbatch.vim ftplugin/dosbatch_*.vim ftplugin/dosbatch/*.vim diff --git a/uvim/runtime/ftplugin/bzl.mnv b/uvim/runtime/ftplugin/bzl.mnv new file mode 100644 index 0000000000..68d38a3b11 --- /dev/null +++ b/uvim/runtime/ftplugin/bzl.mnv @@ -0,0 +1,101 @@ +" MNV filetype plugin file +" Language: Bazel (http://bazel.io) +" Maintainer: David Barnett (https://github.com/google/mnv-ft-bzl) +" Last Change: 2021 Jan 19 +" 2023 Aug 28 by MNV Project (undo_ftplugin) + +"" +" @section Introduction, intro +" Core settings for the bzl filetype, used for BUILD and *.bzl files for the +" Bazel build system (http://bazel.io/). + +if exists('b:did_ftplugin') + finish +endif + + +" MNV 7.4.051 has opinionated settings in ftplugin/python.mnv that try to force +" PEP8 conventions on every python file, but these conflict with Google's +" indentation guidelines. As a workaround, we explicitly source the system +" ftplugin, but save indentation settings beforehand and restore them after. +let s:save_expandtab = &l:expandtab +let s:save_shiftwidth = &l:shiftwidth +let s:save_softtabstop = &l:softtabstop +let s:save_tabstop = &l:tabstop + +" NOTE: MNV versions before 7.3.511 had a ftplugin/python.mnv that was broken +" for compatible mode. +let s:save_cpo = &cpo +set cpo&mnv + +" Load base python ftplugin (also defines b:did_ftplugin). +source $MNVRUNTIME/ftplugin/python.mnv + +" NOTE: MNV versions before 7.4.104 and later set this in ftplugin/python.mnv. +setlocal comments=b:#,fb:- + +" Restore pre-existing indentation settings. +let &l:expandtab = s:save_expandtab +let &l:shiftwidth = s:save_shiftwidth +let &l:softtabstop = s:save_softtabstop +let &l:tabstop = s:save_tabstop + +setlocal formatoptions-=t + +" Initially defined in the python ftplugin sourced above +let b:undo_ftplugin .= " | setlocal fo<" + +" Make gf work with imports in BUILD files. +setlocal includeexpr=substitute(v:fname,'//','','') + +" Enable syntax-based folding, if specified. +if get(g:, 'ft_bzl_fold', 0) + setlocal foldmethod=syntax + setlocal foldtext=BzlFoldText() + let b:undo_ftplugin .= " | setlocal fdm< fdt<" +endif + +if exists('*BzlFoldText') + let &cpo = s:save_cpo + unlet s:save_cpo + finish +endif + +function BzlFoldText() abort + let l:start_num = nextnonblank(v:foldstart) + let l:end_num = prevnonblank(v:foldend) + + if l:end_num <= l:start_num + 1 + " If the fold is empty, don't print anything for the contents. + let l:content = '' + else + " Otherwise look for something matching the content regex. + " And if nothing matches, print an ellipsis. + let l:content = '...' + for l:line in getline(l:start_num + 1, l:end_num - 1) + let l:content_match = matchstr(l:line, '\m\C^\s*name = \zs.*\ze,$') + if !empty(l:content_match) + let l:content = l:content_match + break + endif + endfor + endif + + " Enclose content with start and end + let l:start_text = getline(l:start_num) + let l:end_text = substitute(getline(l:end_num), '^\s*', '', '') + let l:text = l:start_text . ' ' . l:content . ' ' . l:end_text + + " Compute the available width for the displayed text. + let l:width = winwidth(0) - &foldcolumn - (&number ? &numberwidth : 0) + let l:lines_folded = ' ' . string(1 + v:foldend - v:foldstart) . ' lines' + + " Expand tabs, truncate, pad, and concatenate + let l:text = substitute(l:text, '\t', repeat(' ', &tabstop), 'g') + let l:text = strpart(l:text, 0, l:width - len(l:lines_folded)) + let l:padding = repeat(' ', l:width - len(l:lines_folded) - len(l:text)) + return l:text . l:padding . l:lines_folded +endfunction + +let &cpo = s:save_cpo +unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/bzl.vim b/uvim/runtime/ftplugin/bzl.vim deleted file mode 100644 index 716b3890b1..0000000000 --- a/uvim/runtime/ftplugin/bzl.vim +++ /dev/null @@ -1,101 +0,0 @@ -" Vim filetype plugin file -" Language: Bazel (http://bazel.io) -" Maintainer: David Barnett (https://github.com/google/vim-ft-bzl) -" Last Change: 2021 Jan 19 -" 2023 Aug 28 by Vim Project (undo_ftplugin) - -"" -" @section Introduction, intro -" Core settings for the bzl filetype, used for BUILD and *.bzl files for the -" Bazel build system (http://bazel.io/). - -if exists('b:did_ftplugin') - finish -endif - - -" Vim 7.4.051 has opinionated settings in ftplugin/python.vim that try to force -" PEP8 conventions on every python file, but these conflict with Google's -" indentation guidelines. As a workaround, we explicitly source the system -" ftplugin, but save indentation settings beforehand and restore them after. -let s:save_expandtab = &l:expandtab -let s:save_shiftwidth = &l:shiftwidth -let s:save_softtabstop = &l:softtabstop -let s:save_tabstop = &l:tabstop - -" NOTE: Vim versions before 7.3.511 had a ftplugin/python.vim that was broken -" for compatible mode. -let s:save_cpo = &cpo -set cpo&vim - -" Load base python ftplugin (also defines b:did_ftplugin). -source $VIMRUNTIME/ftplugin/python.vim - -" NOTE: Vim versions before 7.4.104 and later set this in ftplugin/python.vim. -setlocal comments=b:#,fb:- - -" Restore pre-existing indentation settings. -let &l:expandtab = s:save_expandtab -let &l:shiftwidth = s:save_shiftwidth -let &l:softtabstop = s:save_softtabstop -let &l:tabstop = s:save_tabstop - -setlocal formatoptions-=t - -" Initially defined in the python ftplugin sourced above -let b:undo_ftplugin .= " | setlocal fo<" - -" Make gf work with imports in BUILD files. -setlocal includeexpr=substitute(v:fname,'//','','') - -" Enable syntax-based folding, if specified. -if get(g:, 'ft_bzl_fold', 0) - setlocal foldmethod=syntax - setlocal foldtext=BzlFoldText() - let b:undo_ftplugin .= " | setlocal fdm< fdt<" -endif - -if exists('*BzlFoldText') - let &cpo = s:save_cpo - unlet s:save_cpo - finish -endif - -function BzlFoldText() abort - let l:start_num = nextnonblank(v:foldstart) - let l:end_num = prevnonblank(v:foldend) - - if l:end_num <= l:start_num + 1 - " If the fold is empty, don't print anything for the contents. - let l:content = '' - else - " Otherwise look for something matching the content regex. - " And if nothing matches, print an ellipsis. - let l:content = '...' - for l:line in getline(l:start_num + 1, l:end_num - 1) - let l:content_match = matchstr(l:line, '\m\C^\s*name = \zs.*\ze,$') - if !empty(l:content_match) - let l:content = l:content_match - break - endif - endfor - endif - - " Enclose content with start and end - let l:start_text = getline(l:start_num) - let l:end_text = substitute(getline(l:end_num), '^\s*', '', '') - let l:text = l:start_text . ' ' . l:content . ' ' . l:end_text - - " Compute the available width for the displayed text. - let l:width = winwidth(0) - &foldcolumn - (&number ? &numberwidth : 0) - let l:lines_folded = ' ' . string(1 + v:foldend - v:foldstart) . ' lines' - - " Expand tabs, truncate, pad, and concatenate - let l:text = substitute(l:text, '\t', repeat(' ', &tabstop), 'g') - let l:text = strpart(l:text, 0, l:width - len(l:lines_folded)) - let l:padding = repeat(' ', l:width - len(l:lines_folded) - len(l:text)) - return l:text . l:padding . l:lines_folded -endfunction - -let &cpo = s:save_cpo -unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/c.mnv b/uvim/runtime/ftplugin/c.mnv new file mode 100644 index 0000000000..a2ad5ece51 --- /dev/null +++ b/uvim/runtime/ftplugin/c.mnv @@ -0,0 +1,93 @@ +" MNV filetype plugin file +" Language: C +" Maintainer: The MNV Project +" Last Change: 2026 Feb 3 +" Former Maintainer: Bram Moolenaar + +" 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 + +" Using line continuation here. +let s:cpo_save = &cpo +set cpo-=C + +let b:undo_ftplugin = "setl fo< com< ofu< cms< def< inc< | if has('vms') | setl isk< | endif" + +" Set 'formatoptions' to break comment lines but not other lines, +" and insert the comment leader when hitting or using "o". +setlocal fo-=t fo+=croql + +" These options have the right value as default, but the user may have +" overruled that. +setlocal commentstring=/*\ %s\ */ define& include& + +" Set completion with CTRL-X CTRL-O to autoloaded function. +if exists('&ofu') && has("mnv9script") + setlocal ofu=ccomplete#Complete +endif + +" Set 'comments' to format dashed lists in comments. +" Also include ///, used for Doxygen. +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// + +" In VMS C keywords contain '$' characters. +if has("vms") + setlocal iskeyword+=$ +endif + +" Use terminal window for gui +if has('gui_running') && exists(':terminal') == 2 && executable("man") + setlocal keywordprg=:CKeywordPrg + + command! -buffer -nargs=1 -count CKeywordPrg call s:CKeywordPrg(, ) + + function! s:CKeywordPrg(arg, count) abort + if a:count > 0 + exe printf('term ++close man -s %d %s', a:count, a:arg) + else + exe printf('term ++close man %s', a:arg) + endif + endfunction + + let b:undo_ftplugin .= ' | setl kp< | sil! delc -buffer CKeywordPrg' +endif + +" When the matchit plugin is loaded, this makes the % command skip parens and +" braces in comments properly. +if !exists("b:match_words") + let b:match_words = '^\s*#\s*if\%(\|def\|ndef\)\>:^\s*#\s*elif\%(\|def\|ndef\)\>:^\s*#\s*else\>:^\s*#\s*endif\>' + let b:match_skip = 's:comment\|string\|character\|special' + let b:undo_ftplugin ..= " | unlet! b:match_skip b:match_words" +endif + +" Win32 and GTK can filter files in the browse dialog +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + if &ft == "cpp" + let b:browsefilter = "C++ Source Files (*.cpp, *.c++)\t*.cpp;*.c++\n" .. + \ "C Header Files (*.h)\t*.h\n" .. + \ "C Source Files (*.c)\t*.c\n" + elseif &ft == "ch" + let b:browsefilter = "Ch Source Files (*.ch, *.chf)\t*.ch;*.chf\n" .. + \ "C Header Files (*.h)\t*.h\n" .. + \ "C Source Files (*.c)\t*.c\n" + else + let b:browsefilter = "C Source Files (*.c)\t*.c\n" .. + \ "C Header Files (*.h)\t*.h\n" .. + \ "Ch Source Files (*.ch, *.chf)\t*.ch;*.chf\n" .. + \ "C++ Source Files (*.cpp, *.c++)\t*.cpp;*.c++\n" + endif + if has("win32") + let b:browsefilter ..= "All Files (*.*)\t*\n" + else + let b:browsefilter ..= "All Files (*)\t*\n" + endif + let b:undo_ftplugin ..= " | unlet! b:browsefilter" +endif + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/c.vim b/uvim/runtime/ftplugin/c.vim deleted file mode 100644 index 97111121c3..0000000000 --- a/uvim/runtime/ftplugin/c.vim +++ /dev/null @@ -1,93 +0,0 @@ -" Vim filetype plugin file -" Language: C -" Maintainer: The Vim Project -" Last Change: 2026 Feb 3 -" Former Maintainer: Bram Moolenaar - -" 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 - -" Using line continuation here. -let s:cpo_save = &cpo -set cpo-=C - -let b:undo_ftplugin = "setl fo< com< ofu< cms< def< inc< | if has('vms') | setl isk< | endif" - -" Set 'formatoptions' to break comment lines but not other lines, -" and insert the comment leader when hitting or using "o". -setlocal fo-=t fo+=croql - -" These options have the right value as default, but the user may have -" overruled that. -setlocal commentstring=/*\ %s\ */ define& include& - -" Set completion with CTRL-X CTRL-O to autoloaded function. -if exists('&ofu') && has("vim9script") - setlocal ofu=ccomplete#Complete -endif - -" Set 'comments' to format dashed lists in comments. -" Also include ///, used for Doxygen. -setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// - -" In VMS C keywords contain '$' characters. -if has("vms") - setlocal iskeyword+=$ -endif - -" Use terminal window for gui -if has('gui_running') && exists(':terminal') == 2 && executable("man") - setlocal keywordprg=:CKeywordPrg - - command! -buffer -nargs=1 -count CKeywordPrg call s:CKeywordPrg(, ) - - function! s:CKeywordPrg(arg, count) abort - if a:count > 0 - exe printf('term ++close man -s %d %s', a:count, a:arg) - else - exe printf('term ++close man %s', a:arg) - endif - endfunction - - let b:undo_ftplugin .= ' | setl kp< | sil! delc -buffer CKeywordPrg' -endif - -" When the matchit plugin is loaded, this makes the % command skip parens and -" braces in comments properly. -if !exists("b:match_words") - let b:match_words = '^\s*#\s*if\%(\|def\|ndef\)\>:^\s*#\s*elif\%(\|def\|ndef\)\>:^\s*#\s*else\>:^\s*#\s*endif\>' - let b:match_skip = 's:comment\|string\|character\|special' - let b:undo_ftplugin ..= " | unlet! b:match_skip b:match_words" -endif - -" Win32 and GTK can filter files in the browse dialog -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - if &ft == "cpp" - let b:browsefilter = "C++ Source Files (*.cpp, *.c++)\t*.cpp;*.c++\n" .. - \ "C Header Files (*.h)\t*.h\n" .. - \ "C Source Files (*.c)\t*.c\n" - elseif &ft == "ch" - let b:browsefilter = "Ch Source Files (*.ch, *.chf)\t*.ch;*.chf\n" .. - \ "C Header Files (*.h)\t*.h\n" .. - \ "C Source Files (*.c)\t*.c\n" - else - let b:browsefilter = "C Source Files (*.c)\t*.c\n" .. - \ "C Header Files (*.h)\t*.h\n" .. - \ "Ch Source Files (*.ch, *.chf)\t*.ch;*.chf\n" .. - \ "C++ Source Files (*.cpp, *.c++)\t*.cpp;*.c++\n" - endif - if has("win32") - let b:browsefilter ..= "All Files (*.*)\t*\n" - else - let b:browsefilter ..= "All Files (*)\t*\n" - endif - let b:undo_ftplugin ..= " | unlet! b:browsefilter" -endif - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/c3.mnv b/uvim/runtime/ftplugin/c3.mnv new file mode 100644 index 0000000000..4bd5abfccd --- /dev/null +++ b/uvim/runtime/ftplugin/c3.mnv @@ -0,0 +1,14 @@ +" MNV filetype plugin +" Language: C3 +" Maintainer: Turiiya <34311583+ttytm@users.noreply.github.com> +" Last Change: 2024 Nov 24 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// +setl commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/c3.vim b/uvim/runtime/ftplugin/c3.vim deleted file mode 100644 index 6db665a03a..0000000000 --- a/uvim/runtime/ftplugin/c3.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Vim filetype plugin -" Language: C3 -" Maintainer: Turiiya <34311583+ttytm@users.noreply.github.com> -" Last Change: 2024 Nov 24 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setl comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// -setl commentstring=//\ %s - -let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/cabal.mnv b/uvim/runtime/ftplugin/cabal.mnv new file mode 100644 index 0000000000..a1a70c6315 --- /dev/null +++ b/uvim/runtime/ftplugin/cabal.mnv @@ -0,0 +1,18 @@ +" MNV filetype plugin file +" Language: Haskell Cabal Build file +" Maintainer: Riley Bruins +" Last Change: 2024 Jul 06 +" 2026 Jan 13 by MNV project: set compiler #19152 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +compiler cabal + +let b:undo_ftplugin = 'compiler make' + +setl comments=:-- commentstring=--\ %s + +let b:undo_ftplugin .= '| setl com< cms<' diff --git a/uvim/runtime/ftplugin/cabal.vim b/uvim/runtime/ftplugin/cabal.vim deleted file mode 100644 index e7e4ab18a9..0000000000 --- a/uvim/runtime/ftplugin/cabal.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Vim filetype plugin file -" Language: Haskell Cabal Build file -" Maintainer: Riley Bruins -" Last Change: 2024 Jul 06 -" 2026 Jan 13 by Vim project: set compiler #19152 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -compiler cabal - -let b:undo_ftplugin = 'compiler make' - -setl comments=:-- commentstring=--\ %s - -let b:undo_ftplugin .= '| setl com< cms<' diff --git a/uvim/runtime/ftplugin/calendar.mnv b/uvim/runtime/ftplugin/calendar.mnv new file mode 100644 index 0000000000..1452b2ce74 --- /dev/null +++ b/uvim/runtime/ftplugin/calendar.mnv @@ -0,0 +1,21 @@ +" MNV filetype plugin file +" Language: calendar(1) input file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 +" 2024-06-02 by Riley Bruins ('commentstring') + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< inc< fo<" + +setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */ include& +setlocal formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/calendar.vim b/uvim/runtime/ftplugin/calendar.vim deleted file mode 100644 index c4e683acf6..0000000000 --- a/uvim/runtime/ftplugin/calendar.vim +++ /dev/null @@ -1,21 +0,0 @@ -" Vim filetype plugin file -" Language: calendar(1) input file -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 -" 2024-06-02 by Riley Bruins ('commentstring') - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< inc< fo<" - -setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */ include& -setlocal formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cdrdaoconf.mnv b/uvim/runtime/ftplugin/cdrdaoconf.mnv new file mode 100644 index 0000000000..49c324a33f --- /dev/null +++ b/uvim/runtime/ftplugin/cdrdaoconf.mnv @@ -0,0 +1,18 @@ +" MNV filetype plugin file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2007-12-04 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cdrdaoconf.vim b/uvim/runtime/ftplugin/cdrdaoconf.vim deleted file mode 100644 index 563bb8f5f1..0000000000 --- a/uvim/runtime/ftplugin/cdrdaoconf.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Vim filetype plugin file -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2007-12-04 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< fo<" - -setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cedar.mnv b/uvim/runtime/ftplugin/cedar.mnv new file mode 100644 index 0000000000..6a11f6a249 --- /dev/null +++ b/uvim/runtime/ftplugin/cedar.mnv @@ -0,0 +1,13 @@ +" MNV filetype plugin +" Language: Cedar +" Maintainer: Riley Bruins +" Last Change: 2024 Jul 4 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:// commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/cedar.vim b/uvim/runtime/ftplugin/cedar.vim deleted file mode 100644 index 74a1903b46..0000000000 --- a/uvim/runtime/ftplugin/cedar.vim +++ /dev/null @@ -1,13 +0,0 @@ -" Vim filetype plugin -" Language: Cedar -" Maintainer: Riley Bruins -" Last Change: 2024 Jul 4 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setl comments=:// commentstring=//\ %s - -let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/cfg.mnv b/uvim/runtime/ftplugin/cfg.mnv new file mode 100644 index 0000000000..4074f2a9fd --- /dev/null +++ b/uvim/runtime/ftplugin/cfg.mnv @@ -0,0 +1,19 @@ +" MNV filetype plugin file +" Language: Configuration File +" Maintainer: Christian Brabandt +" Latest Revision: 2018-12-24 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl cms< fo<" + +setlocal commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cfg.vim b/uvim/runtime/ftplugin/cfg.vim deleted file mode 100644 index b5835ba7a9..0000000000 --- a/uvim/runtime/ftplugin/cfg.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Vim filetype plugin file -" Language: Configuration File -" Maintainer: Christian Brabandt -" Latest Revision: 2018-12-24 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl cms< fo<" - -setlocal commentstring=#\ %s formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cgdbrc.mnv b/uvim/runtime/ftplugin/cgdbrc.mnv new file mode 100644 index 0000000000..947d778aa8 --- /dev/null +++ b/uvim/runtime/ftplugin/cgdbrc.mnv @@ -0,0 +1,22 @@ +" MNV filetype plugin file +" Language: cgdbrc +" Maintainer: Wu, Zhenyu +" Documentation: https://cgdb.github.io/docs/Configuring-CGDB.html +" Latest Revision: 2024-04-09 +" 2024-05-23 by Riley Bruins ('commentstring') + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpoptions = &cpoptions +set cpoptions&mnv + +let b:undo_ftplugin = 'setl com< cms<' + +setlocal commentstring=#\ %s +setlocal comments=:# + +let &cpoptions = s:save_cpoptions +unlet s:save_cpoptions diff --git a/uvim/runtime/ftplugin/cgdbrc.vim b/uvim/runtime/ftplugin/cgdbrc.vim deleted file mode 100644 index 99f9702d26..0000000000 --- a/uvim/runtime/ftplugin/cgdbrc.vim +++ /dev/null @@ -1,22 +0,0 @@ -" Vim filetype plugin file -" Language: cgdbrc -" Maintainer: Wu, Zhenyu -" Documentation: https://cgdb.github.io/docs/Configuring-CGDB.html -" Latest Revision: 2024-04-09 -" 2024-05-23 by Riley Bruins ('commentstring') - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -let s:save_cpoptions = &cpoptions -set cpoptions&vim - -let b:undo_ftplugin = 'setl com< cms<' - -setlocal commentstring=#\ %s -setlocal comments=:# - -let &cpoptions = s:save_cpoptions -unlet s:save_cpoptions diff --git a/uvim/runtime/ftplugin/ch.mnv b/uvim/runtime/ftplugin/ch.mnv new file mode 100644 index 0000000000..7aa0781900 --- /dev/null +++ b/uvim/runtime/ftplugin/ch.mnv @@ -0,0 +1,17 @@ +" MNV filetype plugin file +" Language: Ch +" Maintainer: SoftIntegration, Inc. +" URL: http://www.softintegration.com/download/mnv/ftplugin/ch.mnv +" Last change: 2004 May 16 +" Created based on cpp.mnv +" +" Ch is a C/C++ interpreter with many high level extensions +" + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" Behaves just like C +runtime! ftplugin/c.mnv ftplugin/c_*.mnv ftplugin/c/*.mnv diff --git a/uvim/runtime/ftplugin/ch.vim b/uvim/runtime/ftplugin/ch.vim deleted file mode 100644 index ed09003b1c..0000000000 --- a/uvim/runtime/ftplugin/ch.vim +++ /dev/null @@ -1,17 +0,0 @@ -" Vim filetype plugin file -" Language: Ch -" Maintainer: SoftIntegration, Inc. -" URL: http://www.softintegration.com/download/vim/ftplugin/ch.vim -" Last change: 2004 May 16 -" Created based on cpp.vim -" -" Ch is a C/C++ interpreter with many high level extensions -" - -" Only do this when not done yet for this buffer -if exists("b:did_ftplugin") - finish -endif - -" Behaves just like C -runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim diff --git a/uvim/runtime/ftplugin/changelog.mnv b/uvim/runtime/ftplugin/changelog.mnv new file mode 100644 index 0000000000..cdccc7e1ad --- /dev/null +++ b/uvim/runtime/ftplugin/changelog.mnv @@ -0,0 +1,313 @@ +" MNV filetype plugin file +" Language: generic Changelog file +" Maintainer: Martin Florian +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2021-10-17 +" Variables: +" g:changelog_timeformat (deprecated: use g:changelog_dateformat instead) - +" description: the timeformat used in ChangeLog entries. +" default: "%Y-%m-%d". +" g:changelog_dateformat - +" description: the format sent to strftime() to generate a date string. +" default: "%Y-%m-%d". +" g:changelog_username - +" description: the username to use in ChangeLog entries +" default: try to deduce it from environment variables and system files. +" Local Mappings: +" o - +" adds a new changelog entry for the current user for the current date. +" Global Mappings: +" o - +" switches to the ChangeLog buffer opened for the current directory, or +" opens it in a new buffer if it exists in the current directory. Then +" it does the same as the local o described above. +" Notes: +" run 'runtime ftplugin/changelog.mnv' to enable the global mapping for +" changelog files. +" TODO: +" should we perhaps open the ChangeLog file even if it doesn't exist already? +" Problem is that you might end up with ChangeLog files all over the place. + +" If 'filetype' isn't "changelog", we must have been to add ChangeLog opener +if &filetype == 'changelog' + if exists('b:did_ftplugin') + finish + endif + let b:did_ftplugin = 1 + + let s:cpo_save = &cpo + set cpo&mnv + + " Set up the format used for dates. + if !exists('g:changelog_dateformat') + if exists('g:changelog_timeformat') + let g:changelog_dateformat = g:changelog_timeformat + else + let g:changelog_dateformat = "%Y-%m-%d" + endif + endif + + function! s:username() + if exists('g:changelog_username') + return g:changelog_username + elseif $EMAIL != "" + return $EMAIL + elseif $EMAIL_ADDRESS != "" + return $EMAIL_ADDRESS + endif + let s:default_login = 'unknown' + + " Disabled by default for security reasons. + if dist#mnv#IsSafeExecutable('changelog', 'whoami') + let login = s:login() + else + let login = s:default_login + endif + return printf('%s <%s@%s>', s:name(login), login, s:hostname()) + endfunction + + function! s:login() + return s:trimmed_system_with_default('whoami', s:default_login) + endfunction + + function! s:trimmed_system_with_default(command, default) + return s:first_line(s:system_with_default(a:command, a:default)) + endfunction + + function! s:system_with_default(command, default) + let output = system(a:command) + if v:shell_error + return a:default + endif + return output + endfunction + + function! s:first_line(string) + return substitute(a:string, '\n.*$', "", "") + endfunction + + function! s:name(login) + for name in [s:gecos_name(a:login), $NAME, s:capitalize(a:login)] + if name != "" + return name + endif + endfor + endfunction + + function! s:gecos_name(login) + for line in s:try_reading_file('/etc/passwd') + if line =~ '^' . a:login . ':' + return substitute(s:passwd_field(line, 5), '&', s:capitalize(a:login), "") + endif + endfor + return "" + endfunction + + function! s:try_reading_file(path) + try + return readfile(a:path) + catch + return [] + endtry + endfunction + + function! s:passwd_field(line, field) + let fields = split(a:line, ':', 1) + if len(fields) < a:field + return "" + endif + return fields[a:field - 1] + endfunction + + function! s:capitalize(word) + return toupper(a:word[0]) . strpart(a:word, 1) + endfunction + + function! s:hostname() + return s:trimmed_system_with_default('hostname', 'localhost') + endfunction + + " Format used for new date entries. + if !exists('g:changelog_new_date_format') + let g:changelog_new_date_format = "%d %u\n\n\t* %p%c\n\n" + endif + + " Format used for new entries to current date entry. + if !exists('g:changelog_new_entry_format') + let g:changelog_new_entry_format = "\t* %p%c" + endif + + " Regular expression used to find a given date entry. + if !exists('g:changelog_date_entry_search') + let g:changelog_date_entry_search = '^\s*%d\_s*%u' + endif + + " Regular expression used to find the end of a date entry + if !exists('g:changelog_date_end_entry_search') + let g:changelog_date_end_entry_search = '^\s*$' + endif + + + " Substitutes specific items in new date-entry formats and search strings. + " Can be done with substitute of course, but unclean, and need \@! then. + function! s:substitute_items(str, date, user, prefix) + let str = a:str + let middles = {'%': '%', 'd': a:date, 'u': a:user, 'p': a:prefix, 'c': '{cursor}'} + let i = stridx(str, '%') + while i != -1 + let inc = 0 + if has_key(middles, str[i + 1]) + let mid = middles[str[i + 1]] + let str = strpart(str, 0, i) . mid . strpart(str, i + 2) + let inc = strlen(mid) - 1 + endif + let i = stridx(str, '%', i + 1 + inc) + endwhile + return str + endfunction + + " Position the cursor once we've done all the funky substitution. + function! s:position_cursor() + if search('{cursor}') > 0 + let lnum = line('.') + let line = getline(lnum) + let cursor = stridx(line, '{cursor}') + call setline(lnum, substitute(line, '{cursor}', '', '')) + endif + startinsert + endfunction + + " Internal function to create a new entry in the ChangeLog. + function! s:new_changelog_entry(prefix) + " Deal with 'paste' option. + let save_paste = &paste + let &paste = 1 + call cursor(1, 1) + " Look for an entry for today by our user. + let date = strftime(g:changelog_dateformat) + let search = s:substitute_items(g:changelog_date_entry_search, date, + \ s:username(), a:prefix) + if search(search) > 0 + " Ok, now we look for the end of the date entry, and add an entry. + call cursor(nextnonblank(line('.') + 1), 1) + if search(g:changelog_date_end_entry_search, 'W') > 0 + let p = (line('.') == line('$')) ? line('.') : line('.') - 1 + else + let p = line('.') + endif + let ls = split(s:substitute_items(g:changelog_new_entry_format, '', '', a:prefix), + \ '\n') + call append(p, ls) + call cursor(p + 1, 1) + else + " Flag for removing empty lines at end of new ChangeLogs. + let remove_empty = line('$') == 1 + + " No entry today, so create a date-user header and insert an entry. + let todays_entry = s:substitute_items(g:changelog_new_date_format, + \ date, s:username(), a:prefix) + " Make sure we have a cursor positioning. + if stridx(todays_entry, '{cursor}') == -1 + let todays_entry = todays_entry . '{cursor}' + endif + + " Now do the work. + call append(0, split(todays_entry, '\n')) + + " Remove empty lines at end of file. + if remove_empty + $-/^\s*$/-1,$delete + endif + + " Reposition cursor once we're done. + call cursor(1, 1) + endif + + call s:position_cursor() + + " And reset 'paste' option + let &paste = save_paste + endfunction + + let b:undo_ftplugin = "setl com< fo< et< ai<" + + setlocal comments= + setlocal formatoptions+=t + setlocal noexpandtab + setlocal autoindent + + if &textwidth == 0 + setlocal textwidth=78 + let b:undo_ftplugin .= " tw<" + endif + + if !exists("no_plugin_maps") && !exists("no_changelog_maps") && exists(":NewChangelogEntry") != 2 + nnoremap o :call new_changelog_entry('') + xnoremap o :call new_changelog_entry('') + command! -buffer -nargs=0 NewChangelogEntry call s:new_changelog_entry('') + let b:undo_ftplugin .= " | sil! exe 'nunmap o'" . + \ " | sil! exe 'vunmap o'" . + \ " | sil! delc NewChangelogEntry" + endif + + let &cpo = s:cpo_save + unlet s:cpo_save +else + let s:cpo_save = &cpo + set cpo&mnv + + if !exists("no_plugin_maps") && !exists("no_changelog_maps") + " Add the Changelog opening mapping + nnoremap o :call open_changelog() + let b:undo_ftplugin .= " | silent! exe 'nunmap o" + endif + + function! s:open_changelog() + let path = expand('%:p:h') + if exists('b:changelog_path') + let changelog = b:changelog_path + else + if exists('b:changelog_name') + let name = b:changelog_name + else + let name = 'ChangeLog' + endif + while isdirectory(path) + let changelog = path . '/' . name + if filereadable(changelog) + break + endif + let parent = substitute(path, '/\+[^/]*$', "", "") + if path == parent + break + endif + let path = parent + endwhile + endif + if !filereadable(changelog) + return + endif + + if exists('b:changelog_entry_prefix') + let prefix = call(b:changelog_entry_prefix, []) + else + let prefix = substitute(strpart(expand('%:p'), strlen(path)), '^/\+', "", "") + endif + + let buf = bufnr(changelog) + if buf != -1 + if bufwinnr(buf) != -1 + execute bufwinnr(buf) . 'wincmd w' + else + execute 'sbuffer' buf + endif + else + execute 'split' fnameescape(changelog) + endif + + call s:new_changelog_entry(prefix) + endfunction + + let &cpo = s:cpo_save + unlet s:cpo_save +endif diff --git a/uvim/runtime/ftplugin/changelog.vim b/uvim/runtime/ftplugin/changelog.vim deleted file mode 100644 index ab73949be5..0000000000 --- a/uvim/runtime/ftplugin/changelog.vim +++ /dev/null @@ -1,313 +0,0 @@ -" Vim filetype plugin file -" Language: generic Changelog file -" Maintainer: Martin Florian -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2021-10-17 -" Variables: -" g:changelog_timeformat (deprecated: use g:changelog_dateformat instead) - -" description: the timeformat used in ChangeLog entries. -" default: "%Y-%m-%d". -" g:changelog_dateformat - -" description: the format sent to strftime() to generate a date string. -" default: "%Y-%m-%d". -" g:changelog_username - -" description: the username to use in ChangeLog entries -" default: try to deduce it from environment variables and system files. -" Local Mappings: -" o - -" adds a new changelog entry for the current user for the current date. -" Global Mappings: -" o - -" switches to the ChangeLog buffer opened for the current directory, or -" opens it in a new buffer if it exists in the current directory. Then -" it does the same as the local o described above. -" Notes: -" run 'runtime ftplugin/changelog.vim' to enable the global mapping for -" changelog files. -" TODO: -" should we perhaps open the ChangeLog file even if it doesn't exist already? -" Problem is that you might end up with ChangeLog files all over the place. - -" If 'filetype' isn't "changelog", we must have been to add ChangeLog opener -if &filetype == 'changelog' - if exists('b:did_ftplugin') - finish - endif - let b:did_ftplugin = 1 - - let s:cpo_save = &cpo - set cpo&vim - - " Set up the format used for dates. - if !exists('g:changelog_dateformat') - if exists('g:changelog_timeformat') - let g:changelog_dateformat = g:changelog_timeformat - else - let g:changelog_dateformat = "%Y-%m-%d" - endif - endif - - function! s:username() - if exists('g:changelog_username') - return g:changelog_username - elseif $EMAIL != "" - return $EMAIL - elseif $EMAIL_ADDRESS != "" - return $EMAIL_ADDRESS - endif - let s:default_login = 'unknown' - - " Disabled by default for security reasons. - if dist#vim#IsSafeExecutable('changelog', 'whoami') - let login = s:login() - else - let login = s:default_login - endif - return printf('%s <%s@%s>', s:name(login), login, s:hostname()) - endfunction - - function! s:login() - return s:trimmed_system_with_default('whoami', s:default_login) - endfunction - - function! s:trimmed_system_with_default(command, default) - return s:first_line(s:system_with_default(a:command, a:default)) - endfunction - - function! s:system_with_default(command, default) - let output = system(a:command) - if v:shell_error - return a:default - endif - return output - endfunction - - function! s:first_line(string) - return substitute(a:string, '\n.*$', "", "") - endfunction - - function! s:name(login) - for name in [s:gecos_name(a:login), $NAME, s:capitalize(a:login)] - if name != "" - return name - endif - endfor - endfunction - - function! s:gecos_name(login) - for line in s:try_reading_file('/etc/passwd') - if line =~ '^' . a:login . ':' - return substitute(s:passwd_field(line, 5), '&', s:capitalize(a:login), "") - endif - endfor - return "" - endfunction - - function! s:try_reading_file(path) - try - return readfile(a:path) - catch - return [] - endtry - endfunction - - function! s:passwd_field(line, field) - let fields = split(a:line, ':', 1) - if len(fields) < a:field - return "" - endif - return fields[a:field - 1] - endfunction - - function! s:capitalize(word) - return toupper(a:word[0]) . strpart(a:word, 1) - endfunction - - function! s:hostname() - return s:trimmed_system_with_default('hostname', 'localhost') - endfunction - - " Format used for new date entries. - if !exists('g:changelog_new_date_format') - let g:changelog_new_date_format = "%d %u\n\n\t* %p%c\n\n" - endif - - " Format used for new entries to current date entry. - if !exists('g:changelog_new_entry_format') - let g:changelog_new_entry_format = "\t* %p%c" - endif - - " Regular expression used to find a given date entry. - if !exists('g:changelog_date_entry_search') - let g:changelog_date_entry_search = '^\s*%d\_s*%u' - endif - - " Regular expression used to find the end of a date entry - if !exists('g:changelog_date_end_entry_search') - let g:changelog_date_end_entry_search = '^\s*$' - endif - - - " Substitutes specific items in new date-entry formats and search strings. - " Can be done with substitute of course, but unclean, and need \@! then. - function! s:substitute_items(str, date, user, prefix) - let str = a:str - let middles = {'%': '%', 'd': a:date, 'u': a:user, 'p': a:prefix, 'c': '{cursor}'} - let i = stridx(str, '%') - while i != -1 - let inc = 0 - if has_key(middles, str[i + 1]) - let mid = middles[str[i + 1]] - let str = strpart(str, 0, i) . mid . strpart(str, i + 2) - let inc = strlen(mid) - 1 - endif - let i = stridx(str, '%', i + 1 + inc) - endwhile - return str - endfunction - - " Position the cursor once we've done all the funky substitution. - function! s:position_cursor() - if search('{cursor}') > 0 - let lnum = line('.') - let line = getline(lnum) - let cursor = stridx(line, '{cursor}') - call setline(lnum, substitute(line, '{cursor}', '', '')) - endif - startinsert - endfunction - - " Internal function to create a new entry in the ChangeLog. - function! s:new_changelog_entry(prefix) - " Deal with 'paste' option. - let save_paste = &paste - let &paste = 1 - call cursor(1, 1) - " Look for an entry for today by our user. - let date = strftime(g:changelog_dateformat) - let search = s:substitute_items(g:changelog_date_entry_search, date, - \ s:username(), a:prefix) - if search(search) > 0 - " Ok, now we look for the end of the date entry, and add an entry. - call cursor(nextnonblank(line('.') + 1), 1) - if search(g:changelog_date_end_entry_search, 'W') > 0 - let p = (line('.') == line('$')) ? line('.') : line('.') - 1 - else - let p = line('.') - endif - let ls = split(s:substitute_items(g:changelog_new_entry_format, '', '', a:prefix), - \ '\n') - call append(p, ls) - call cursor(p + 1, 1) - else - " Flag for removing empty lines at end of new ChangeLogs. - let remove_empty = line('$') == 1 - - " No entry today, so create a date-user header and insert an entry. - let todays_entry = s:substitute_items(g:changelog_new_date_format, - \ date, s:username(), a:prefix) - " Make sure we have a cursor positioning. - if stridx(todays_entry, '{cursor}') == -1 - let todays_entry = todays_entry . '{cursor}' - endif - - " Now do the work. - call append(0, split(todays_entry, '\n')) - - " Remove empty lines at end of file. - if remove_empty - $-/^\s*$/-1,$delete - endif - - " Reposition cursor once we're done. - call cursor(1, 1) - endif - - call s:position_cursor() - - " And reset 'paste' option - let &paste = save_paste - endfunction - - let b:undo_ftplugin = "setl com< fo< et< ai<" - - setlocal comments= - setlocal formatoptions+=t - setlocal noexpandtab - setlocal autoindent - - if &textwidth == 0 - setlocal textwidth=78 - let b:undo_ftplugin .= " tw<" - endif - - if !exists("no_plugin_maps") && !exists("no_changelog_maps") && exists(":NewChangelogEntry") != 2 - nnoremap o :call new_changelog_entry('') - xnoremap o :call new_changelog_entry('') - command! -buffer -nargs=0 NewChangelogEntry call s:new_changelog_entry('') - let b:undo_ftplugin .= " | sil! exe 'nunmap o'" . - \ " | sil! exe 'vunmap o'" . - \ " | sil! delc NewChangelogEntry" - endif - - let &cpo = s:cpo_save - unlet s:cpo_save -else - let s:cpo_save = &cpo - set cpo&vim - - if !exists("no_plugin_maps") && !exists("no_changelog_maps") - " Add the Changelog opening mapping - nnoremap o :call open_changelog() - let b:undo_ftplugin .= " | silent! exe 'nunmap o" - endif - - function! s:open_changelog() - let path = expand('%:p:h') - if exists('b:changelog_path') - let changelog = b:changelog_path - else - if exists('b:changelog_name') - let name = b:changelog_name - else - let name = 'ChangeLog' - endif - while isdirectory(path) - let changelog = path . '/' . name - if filereadable(changelog) - break - endif - let parent = substitute(path, '/\+[^/]*$', "", "") - if path == parent - break - endif - let path = parent - endwhile - endif - if !filereadable(changelog) - return - endif - - if exists('b:changelog_entry_prefix') - let prefix = call(b:changelog_entry_prefix, []) - else - let prefix = substitute(strpart(expand('%:p'), strlen(path)), '^/\+', "", "") - endif - - let buf = bufnr(changelog) - if buf != -1 - if bufwinnr(buf) != -1 - execute bufwinnr(buf) . 'wincmd w' - else - execute 'sbuffer' buf - endif - else - execute 'split' fnameescape(changelog) - endif - - call s:new_changelog_entry(prefix) - endfunction - - let &cpo = s:cpo_save - unlet s:cpo_save -endif diff --git a/uvim/runtime/ftplugin/chatito.mnv b/uvim/runtime/ftplugin/chatito.mnv new file mode 100644 index 0000000000..90f0f5b0e3 --- /dev/null +++ b/uvim/runtime/ftplugin/chatito.mnv @@ -0,0 +1,15 @@ +" MNV filetype plugin +" Language: Chatito +" Maintainer: ObserverOfTime +" Last Change: 2022 Sep 19 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:#,:// commentstring=#\ %s +" indent of 4 spaces is mandated by the spec +setlocal expandtab softtabstop=4 shiftwidth=4 + +let b:undo_ftplugin = 'setl com< cms< et< sts< sw<' diff --git a/uvim/runtime/ftplugin/chatito.vim b/uvim/runtime/ftplugin/chatito.vim deleted file mode 100644 index af212e9581..0000000000 --- a/uvim/runtime/ftplugin/chatito.vim +++ /dev/null @@ -1,15 +0,0 @@ -" Vim filetype plugin -" Language: Chatito -" Maintainer: ObserverOfTime -" Last Change: 2022 Sep 19 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setlocal comments=:#,:// commentstring=#\ %s -" indent of 4 spaces is mandated by the spec -setlocal expandtab softtabstop=4 shiftwidth=4 - -let b:undo_ftplugin = 'setl com< cms< et< sts< sw<' diff --git a/uvim/runtime/ftplugin/chicken.mnv b/uvim/runtime/ftplugin/chicken.mnv new file mode 100644 index 0000000000..0778b95e9a --- /dev/null +++ b/uvim/runtime/ftplugin/chicken.mnv @@ -0,0 +1,55 @@ +" CHICKEN-specific MNV customizations +" Last Change: 2024 Jun 21 +" Author: Evan Hanson +" Maintainer: Evan Hanson +" Repository: https://git.foldling.org/mnv-scheme.git +" URL: https://foldling.org/mnv/ftplugin/chicken.mnv +" Notes: These are supplemental settings, to be loaded after the +" core Scheme ftplugin file (ftplugin/scheme.mnv). Enable +" it by setting b:is_chicken=1 and filetype=scheme. + +if !exists('b:did_scheme_ftplugin') + finish +endif + +setl keywordprg=chicken-doc + +setl lispwords+=and-let* +setl lispwords+=compiler-typecase +setl lispwords+=condition-case +setl lispwords+=define-compiler-syntax +setl lispwords+=define-constant +setl lispwords+=define-external +setl lispwords+=define-for-syntax +setl lispwords+=define-foreign-type +setl lispwords+=define-inline +setl lispwords+=define-location +setl lispwords+=define-record +setl lispwords+=define-record-printer +setl lispwords+=define-specialization +setl lispwords+=fluid-let +setl lispwords+=foreign-lambda* +setl lispwords+=foreign-primitive +setl lispwords+=foreign-safe-lambda* +setl lispwords+=functor +setl lispwords+=handle-exceptions +setl lispwords+=let-compiler-syntax +setl lispwords+=let-location +setl lispwords+=let-optionals +setl lispwords+=let-optionals* +setl lispwords+=letrec-values +setl lispwords+=match +setl lispwords+=match-let +setl lispwords+=match-let* +setl lispwords+=match-letrec +setl lispwords+=module +setl lispwords+=receive +setl lispwords+=set!-values +setl lispwords+=test-group + +let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<' + +if exists('g:loaded_matchit') && !exists('b:match_words') + let b:match_words = '#>:<#' + let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words' +endif diff --git a/uvim/runtime/ftplugin/chicken.vim b/uvim/runtime/ftplugin/chicken.vim deleted file mode 100644 index b12b264f6e..0000000000 --- a/uvim/runtime/ftplugin/chicken.vim +++ /dev/null @@ -1,55 +0,0 @@ -" CHICKEN-specific Vim customizations -" Last Change: 2024 Jun 21 -" Author: Evan Hanson -" Maintainer: Evan Hanson -" 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 b:is_chicken=1 and filetype=scheme. - -if !exists('b:did_scheme_ftplugin') - finish -endif - -setl keywordprg=chicken-doc - -setl lispwords+=and-let* -setl lispwords+=compiler-typecase -setl lispwords+=condition-case -setl lispwords+=define-compiler-syntax -setl lispwords+=define-constant -setl lispwords+=define-external -setl lispwords+=define-for-syntax -setl lispwords+=define-foreign-type -setl lispwords+=define-inline -setl lispwords+=define-location -setl lispwords+=define-record -setl lispwords+=define-record-printer -setl lispwords+=define-specialization -setl lispwords+=fluid-let -setl lispwords+=foreign-lambda* -setl lispwords+=foreign-primitive -setl lispwords+=foreign-safe-lambda* -setl lispwords+=functor -setl lispwords+=handle-exceptions -setl lispwords+=let-compiler-syntax -setl lispwords+=let-location -setl lispwords+=let-optionals -setl lispwords+=let-optionals* -setl lispwords+=letrec-values -setl lispwords+=match -setl lispwords+=match-let -setl lispwords+=match-let* -setl lispwords+=match-letrec -setl lispwords+=module -setl lispwords+=receive -setl lispwords+=set!-values -setl lispwords+=test-group - -let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<' - -if exists('g:loaded_matchit') && !exists('b:match_words') - let b:match_words = '#>:<#' - let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words' -endif diff --git a/uvim/runtime/ftplugin/clojure.mnv b/uvim/runtime/ftplugin/clojure.mnv new file mode 100644 index 0000000000..8830295c84 --- /dev/null +++ b/uvim/runtime/ftplugin/clojure.mnv @@ -0,0 +1,85 @@ +" MNV filetype plugin file +" Language: Clojure +" Maintainer: Alex Vear +" Former Maintainers: Sung Pae +" Meikel Brandmeyer +" URL: https://github.com/clojure-mnv/clojure.mnv +" License: MNV (see :h license) +" Last Change: 2022-03-24 +" 2024 Jan 14 by MNV Project (browsefilter) + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = 'setlocal iskeyword< define< formatoptions< comments< commentstring< lispwords<' + +setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.,:,$,%,&,\| + +" There will be false positives, but this is better than missing the whole set +" of user-defined def* definitions. +setlocal define=\\v[(/]def(ault)@!\\S* + +" Remove 't' from 'formatoptions' to avoid auto-wrapping code. +setlocal formatoptions-=t + +" Lisp comments are routinely nested (e.g. ;;; SECTION HEADING) +setlocal comments=n:; +setlocal commentstring=;\ %s + +" Specially indented symbols from clojure.core and clojure.test. +" +" Clojure symbols are indented in the defn style when they: +" +" * Define vars and anonymous functions +" * Create new lexical scopes or scopes with altered environments +" * Create conditional branches from a predicate function or value +" +" The arglists for these functions are generally in the form of [x & body]; +" Functions that accept a flat list of forms do not treat the first argument +" specially and hence are not indented specially. +" +" -*- LISPWORDS -*- +" Generated from https://github.com/clojure-mnv/clojure.mnv/blob/fd280e33e84c88e97860930557dba3ff80b1a82d/clj/src/mnv_clojure_static/generate.clj +setlocal lispwords=as->,binding,bound-fn,case,catch,cond->,cond->>,condp,def,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftest,deftest-,deftype,doseq,dotimes,doto,extend,extend-protocol,extend-type,fn,for,if,if-let,if-not,if-some,let,letfn,locking,loop,ns,proxy,reify,set-test,testing,when,when-first,when-let,when-not,when-some,while,with-bindings,with-in-str,with-local-vars,with-open,with-precision,with-redefs,with-redefs-fn,with-test + +" Provide insert mode completions for special forms and clojure.core. As +" 'omnifunc' is set by popular Clojure REPL client plugins, we also set +" 'completefunc' so that the user has some form of completion available when +" 'omnifunc' is set and no REPL connection exists. +for s:setting in ['omnifunc', 'completefunc'] + if exists('&' . s:setting) && empty(eval('&' . s:setting)) + execute 'setlocal ' . s:setting . '=clojurecomplete#Complete' + let b:undo_ftplugin .= ' | setlocal ' . s:setting . '<' + endif +endfor + +" Skip brackets in ignored syntax regions when using the % command +if exists('loaded_matchit') + let b:match_words = &matchpairs + let b:match_skip = 's:comment\|string\|regex\|character' + let b:undo_ftplugin .= ' | unlet! b:match_words b:match_skip' +endif + +" Filter files in the browse dialog +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "Clojure Files\t*.clj;*.cljc;*.cljs;*.cljx\n" . + \ "EDN Files\t*.edn\n" . + \ "Java Files\t*.java\n" + if has("win32") + let b:browsefilter .= "All Files (*.*)\t*\n" + else + let b:browsefilter .= "All Files (*)\t*\n" + endif + let b:undo_ftplugin .= ' | unlet! b:browsefilter' +endif + +let &cpo = s:cpo_save + +unlet! s:cpo_save s:setting s:dir + +" mnv:sts=8:sw=8:ts=8:noet diff --git a/uvim/runtime/ftplugin/clojure.vim b/uvim/runtime/ftplugin/clojure.vim deleted file mode 100644 index 4da7554d85..0000000000 --- a/uvim/runtime/ftplugin/clojure.vim +++ /dev/null @@ -1,85 +0,0 @@ -" Vim filetype plugin file -" Language: Clojure -" Maintainer: Alex Vear -" Former Maintainers: Sung Pae -" Meikel Brandmeyer -" URL: https://github.com/clojure-vim/clojure.vim -" License: Vim (see :h license) -" Last Change: 2022-03-24 -" 2024 Jan 14 by Vim Project (browsefilter) - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = 'setlocal iskeyword< define< formatoptions< comments< commentstring< lispwords<' - -setlocal iskeyword+=?,-,*,!,+,/,=,<,>,.,:,$,%,&,\| - -" There will be false positives, but this is better than missing the whole set -" of user-defined def* definitions. -setlocal define=\\v[(/]def(ault)@!\\S* - -" Remove 't' from 'formatoptions' to avoid auto-wrapping code. -setlocal formatoptions-=t - -" Lisp comments are routinely nested (e.g. ;;; SECTION HEADING) -setlocal comments=n:; -setlocal commentstring=;\ %s - -" Specially indented symbols from clojure.core and clojure.test. -" -" Clojure symbols are indented in the defn style when they: -" -" * Define vars and anonymous functions -" * Create new lexical scopes or scopes with altered environments -" * Create conditional branches from a predicate function or value -" -" The arglists for these functions are generally in the form of [x & body]; -" Functions that accept a flat list of forms do not treat the first argument -" specially and hence are not indented specially. -" -" -*- LISPWORDS -*- -" Generated from https://github.com/clojure-vim/clojure.vim/blob/fd280e33e84c88e97860930557dba3ff80b1a82d/clj/src/vim_clojure_static/generate.clj -setlocal lispwords=as->,binding,bound-fn,case,catch,cond->,cond->>,condp,def,definline,definterface,defmacro,defmethod,defmulti,defn,defn-,defonce,defprotocol,defrecord,defstruct,deftest,deftest-,deftype,doseq,dotimes,doto,extend,extend-protocol,extend-type,fn,for,if,if-let,if-not,if-some,let,letfn,locking,loop,ns,proxy,reify,set-test,testing,when,when-first,when-let,when-not,when-some,while,with-bindings,with-in-str,with-local-vars,with-open,with-precision,with-redefs,with-redefs-fn,with-test - -" Provide insert mode completions for special forms and clojure.core. As -" 'omnifunc' is set by popular Clojure REPL client plugins, we also set -" 'completefunc' so that the user has some form of completion available when -" 'omnifunc' is set and no REPL connection exists. -for s:setting in ['omnifunc', 'completefunc'] - if exists('&' . s:setting) && empty(eval('&' . s:setting)) - execute 'setlocal ' . s:setting . '=clojurecomplete#Complete' - let b:undo_ftplugin .= ' | setlocal ' . s:setting . '<' - endif -endfor - -" Skip brackets in ignored syntax regions when using the % command -if exists('loaded_matchit') - let b:match_words = &matchpairs - let b:match_skip = 's:comment\|string\|regex\|character' - let b:undo_ftplugin .= ' | unlet! b:match_words b:match_skip' -endif - -" Filter files in the browse dialog -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "Clojure Files\t*.clj;*.cljc;*.cljs;*.cljx\n" . - \ "EDN Files\t*.edn\n" . - \ "Java Files\t*.java\n" - if has("win32") - let b:browsefilter .= "All Files (*.*)\t*\n" - else - let b:browsefilter .= "All Files (*)\t*\n" - endif - let b:undo_ftplugin .= ' | unlet! b:browsefilter' -endif - -let &cpo = s:cpo_save - -unlet! s:cpo_save s:setting s:dir - -" vim:sts=8:sw=8:ts=8:noet diff --git a/uvim/runtime/ftplugin/cmake.mnv b/uvim/runtime/ftplugin/cmake.mnv new file mode 100644 index 0000000000..90755359f4 --- /dev/null +++ b/uvim/runtime/ftplugin/cmake.mnv @@ -0,0 +1,37 @@ +" MNV filetype plugin +" Language: CMake +" Maintainer: Keith Smiley +" Last Change: 2018 Aug 30 +" 2024 Apr 20 - add include and suffixadd (MNV Project) + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" save 'cpo' for restoration at the end of this file +let s:cpo_save = &cpo +set cpo&mnv + +" Don't load another plugin for this buffer +let b:did_ftplugin = 1 + +let b:undo_ftplugin = "setl inc< sua< commentstring<" + +if exists('loaded_matchit') + let b:match_words = '\:\\|\:\' + \ . ',\\|\:\:\\|\' + \ . ',\:\' + \ . ',\:\' + let b:match_ignorecase = 1 + + let b:undo_ftplugin .= "| unlet b:match_words" +endif + +setlocal include=\s*include +setlocal suffixesadd=.cmake,-config.cmake +setlocal commentstring=#\ %s + +" restore 'cpo' and clean up buffer variable +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cmake.vim b/uvim/runtime/ftplugin/cmake.vim deleted file mode 100644 index 9fcf87a759..0000000000 --- a/uvim/runtime/ftplugin/cmake.vim +++ /dev/null @@ -1,37 +0,0 @@ -" Vim filetype plugin -" Language: CMake -" Maintainer: Keith Smiley -" Last Change: 2018 Aug 30 -" 2024 Apr 20 - add include and suffixadd (Vim Project) - -" Only do this when not done yet for this buffer -if exists("b:did_ftplugin") - finish -endif - -" save 'cpo' for restoration at the end of this file -let s:cpo_save = &cpo -set cpo&vim - -" Don't load another plugin for this buffer -let b:did_ftplugin = 1 - -let b:undo_ftplugin = "setl inc< sua< commentstring<" - -if exists('loaded_matchit') - let b:match_words = '\:\\|\:\' - \ . ',\\|\:\:\\|\' - \ . ',\:\' - \ . ',\:\' - let b:match_ignorecase = 1 - - let b:undo_ftplugin .= "| unlet b:match_words" -endif - -setlocal include=\s*include -setlocal suffixesadd=.cmake,-config.cmake -setlocal commentstring=#\ %s - -" restore 'cpo' and clean up buffer variable -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/cmakecache.mnv b/uvim/runtime/ftplugin/cmakecache.mnv new file mode 100644 index 0000000000..40cb35407c --- /dev/null +++ b/uvim/runtime/ftplugin/cmakecache.mnv @@ -0,0 +1,13 @@ +" MNV filetype plugin +" Language: cmakecache - CMakeCache.txt files generated by CMake +" Maintainer: Riley Bruins +" Last Change: 2024 Jul 06 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:#,:// commentstring=//\ %s + +let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/cmakecache.vim b/uvim/runtime/ftplugin/cmakecache.vim deleted file mode 100644 index 6753cd284a..0000000000 --- a/uvim/runtime/ftplugin/cmakecache.vim +++ /dev/null @@ -1,13 +0,0 @@ -" Vim filetype plugin -" Language: cmakecache - CMakeCache.txt files generated by CMake -" Maintainer: Riley Bruins -" Last Change: 2024 Jul 06 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setl comments=:#,:// commentstring=//\ %s - -let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/cobol.mnv b/uvim/runtime/ftplugin/cobol.mnv new file mode 100644 index 0000000000..74be3b1f09 --- /dev/null +++ b/uvim/runtime/ftplugin/cobol.mnv @@ -0,0 +1,274 @@ +" MNV filetype plugin file +" Language: cobol +" Maintainer: Ankit Jain +" (formerly Tim Pope ) +" Last Update: By Ankit Jain (add gtk support) on 15.08.2020 +" 2024 Jan 14 by MNV Project (browsefilter) + +" Insert mode mappings: +" Normal mode mappings: < > << >> [[ ]] [] ][ +" Visual mode mappings: < > + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +setlocal commentstring=\ \ \ \ \ \ *%s +setlocal comments=:* +setlocal fo+=croqlt +setlocal expandtab +setlocal textwidth=72 + +" matchit support +if exists("loaded_matchit") + let s:ordot = '\|\ze\.\%( \@=\|$\)' + let b:match_ignorecase=1 + "let b:match_skip = 'getline(".") =~ "^.\\{6\\}[*/C]"' + let b:match_words= + \ '\$if\>:$else\>:\$endif\>,' . + \ '[$-]\@:\<\%(then\|else\)\>:\'.s:ordot.',' . + \ '-\@:\'.s:ordot . ',' . + \ '-\@:\<\%(when\)\>:\' .s:ordot . ',' . + \ '-\@\%(.*\(\%$\|\%(\n\%(\%(\s*\|.\{6\}\)[*/].*\n\)*\)\=\s*\%(not\s\+\)\=on\s\+size\s\+error\>\)\)\@=:\%(\:\' .s:ordot . ',' . + \ '-\@\%(.*\(\%$\|\%(\n\%(\%(\s*\|.\{6\}\)[*/].*\n\)*\)\=\s*\%(not\s\+\)\=on\s\+\%(overflow\|exception\)\>\)\)\@=:\%(\:\' .s:ordot . ',' . + \ '-\@\%(.*\(\%$\|\%(\n\%(\%(\s*\|.\{6\}\)[*/].*\n\)*\)\=\s*\%(invalid\s\+key\|at\s\+end\|no\s\+data\|at\s\+end-of-page\)\>\)\)\@=:\%(\:\' .s:ordot +endif + +" add gtk support +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter = "COBOL Source Files (*.cbl, *.cob)\t*.cbl;*.cob;*.lib\n" + if has("win32") + let b:browsefilter .= "All Files (*.*)\t*\n" + else + let b:browsefilter .= "All Files (*)\t*\n" + endif +endif + +let b:undo_ftplugin = "setlocal com< cms< fo< et< tw<" . + \ " | unlet! b:browsefilter b:match_words b:match_ignorecase b:match_skip" +if !exists("g:no_plugin_maps") && !exists("g:no_cobol_maps") + let b:undo_ftplugin = b:undo_ftplugin . + \ " | sil! exe 'nunmap <'" . + \ " | sil! exe 'nunmap >'" . + \ " | sil! exe 'nunmap <<'" . + \ " | sil! exe 'nunmap >>'" . + \ " | sil! exe 'vunmap <'" . + \ " | sil! exe 'vunmap >'" . + \ " | sil! exe 'iunmap '" . + \ " | sil! exe 'iunmap '" . + \ " | sil! exe 'iunmap '" . + \ " | sil! exe 'nunmap Traditional'" . + \ " | sil! exe 'nunmap Comment'" . + \ " | sil! exe 'nunmap DeComment'" . + \ " | sil! exe 'vunmap VisualTraditional'" . + \ " | sil! exe 'vunmap VisualComment'" . + \ " | sil! exe 'iunmap VisualDeComment'" . + \ " | sil! exe 'unmap [['" . + \ " | sil! exe 'unmap ]]'" . + \ " | sil! exe 'unmap []'" . + \ " | sil! exe 'unmap ]['" +endif + +if !exists("g:no_plugin_maps") && !exists("g:no_cobol_maps") + if version >= 700 + nnoremap > :set opfunc=IncreaseFuncg@ + nnoremap < :set opfunc=DecreaseFuncg@ + endif + nnoremap >> :call CobolIndentBlock(1) + nnoremap << :call CobolIndentBlock(-1) + vnoremap > :call CobolIndentBlock(v:count1) + vnoremap < :call CobolIndentBlock(-v:count1) + inoremap =IncreaseIndent()=RestoreShiftwidth() + inoremap =DecreaseIndent()=RestoreShiftwidth() + if !maparg("","i") + inoremap =Tab()=RestoreShiftwidth() + endif + noremap [[ m':call search('\c^\%(\s*\.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\section\)\s*\.','bW') + noremap ]] m':call search('\c^\%(\s*\.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\section\)\.','W') + noremap [] m':call toend('b') + noremap ][ m':call toend('') + " For EnhancedCommentify + noremap Traditional :call Comment('t') + noremap Comment :call Comment('c') + noremap DeComment :call Comment('u') + noremap VisualTraditional :'<,'>call Comment('t') + noremap VisualComment :'<,'>call Comment('c') + noremap VisualDeComment :'<,'>call Comment('u') +endif + +let &cpo = s:cpo_save +unlet s:cpo_save + +if exists("g:did_cobol_ftplugin_functions") + finish +endif +let g:did_cobol_ftplugin_functions = 1 + +function! s:repeat(str,count) + let i = 0 + let ret = "" + while i < a:count + let ret = ret . a:str + let i = i + 1 + endwhile + return ret +endfunction + +function! s:increase(...) + let lnum = '.' + let sw = shiftwidth() + let i = a:0 ? a:1 : indent(lnum) + if i >= 11 + return sw - (i - 11) % sw + elseif i >= 7 + return 11-i + elseif i == 6 + return 1 + else + return 6-i + endif +endfunction + +function! s:decrease(...) + let lnum = '.' + let sw = shiftwidth() + let i = indent(a:0 ? a:1 : lnum) + if i >= 11 + sw + return 1 + (i + 12) % sw + elseif i > 11 + return i-11 + elseif i > 7 + return i-7 + elseif i == 7 + return 1 + else + return i + endif +endfunction + +function! CobolIndentBlock(shift) + let head = strpart(getline('.'),0,7) + let tail = strpart(getline('.'),7) + let indent = match(tail,'[^ ]') + let sw = shiftwidth() + let shift = a:shift + if shift > 0 + if indent < 4 + let tail = s:repeat(" ",4-indent).tail + let shift = shift - 1 + endif + let tail = s:repeat(" ",shift*sw).tail + let shift = 0 + elseif shift < 0 + if (indent-4) > -shift * sw + let tail = strpart(tail,-shift * sw) + elseif (indent-4) > (-shift-1) * sw + let tail = strpart(tail,indent - 4) + else + let tail = strpart(tail,indent) + endif + endif + call setline('.',head.tail) +endfunction + +function! s:IncreaseFunc(type) + '[,']call CobolIndentBlock(1) +endfunction + +function! s:DecreaseFunc(type) + '[,']call CobolIndentBlock(-1) +endfunction + +function! s:IncreaseIndent() + let c = "\" + if exists("*InsertCtrlTWrapper") + let key = InsertCtrlTWrapper() + if key != c + return key + endif + endif + let interval = s:increase() + let b:cobol_shiftwidth = &shiftwidth + let &shiftwidth = 1 + let lastchar = strpart(getline('.'),col('.')-2,1) + if lastchar == '0' || lastchar == '^' + return "\".lastchar.c + else + return s:repeat(c,interval) + endif +endfunction + +function! s:DecreaseIndent() + let c = "\" + if exists("*InsertCtrlDWrapper") + " I hack Ctrl-D to delete when not at the end of the line. + let key = InsertCtrlDWrapper() + if key != c + return key + endif + endif + let interval = s:decrease() + let b:cobol_shiftwidth = &shiftwidth + let &shiftwidth = 1 + return s:repeat(c,interval) +endfunction + +function! s:RestoreShiftwidth() + if exists("b:cobol_shiftwidth") + let &shiftwidth=b:cobol_shiftwidth + unlet b:cobol_shiftwidth + endif + return "" +endfunction + +function! s:Tab() + if (strpart(getline('.'),0,col('.')-1) =~ '^\s*$' && &sta) + return s:IncreaseIndent() + " &softtabstop < 0: &softtabstop follows &shiftwidth + elseif (&sts < 0 || &sts == shiftwidth()) && &sts != 8 && &et + return s:repeat(" ",s:increase(col('.')-1)) + else + return "\" + endif +endfunction + +function! s:Comment(arg) + " For EnhancedCommentify + let line = getline('.') + if (line =~ '^.\{6\}[*/C]' || a:arg == 'c') && a:arg != 'u' + let line = substitute(line,'^.\{6\}\zs.',' ','') + else + let line = substitute(line,'^.\{6\}\zs.','*','') + endif + call setline('.',line) +endfunction + +function! s:toend(direction) + let ignore = '^\(\s*\|.\{6\}\)\%([*/]\|\s*$\)' + let keep = line('.') + keepjumps + + while line('.') < line('$') && getline('.') =~ ignore + keepjumps + + endwhile + let res = search('\c^\%(\s*\|.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\|section\)\s*\.',a:direction.'W') + if a:direction != 'b' && !res + let res = line('$') + keepjumps $ + elseif res + keepjumps - + endif + if res + while line('.') > 1 && getline('.') =~ ignore + keepjumps - + endwhile + if line('.') == 1 && getline('.') =~ ignore + exe "keepjumps ".keep + endif + else + exe "keepjumps ".keep + endif +endfunction diff --git a/uvim/runtime/ftplugin/cobol.vim b/uvim/runtime/ftplugin/cobol.vim deleted file mode 100644 index 5e52702fd5..0000000000 --- a/uvim/runtime/ftplugin/cobol.vim +++ /dev/null @@ -1,274 +0,0 @@ -" Vim filetype plugin file -" Language: cobol -" Maintainer: Ankit Jain -" (formerly Tim Pope ) -" Last Update: By Ankit Jain (add gtk support) on 15.08.2020 -" 2024 Jan 14 by Vim Project (browsefilter) - -" Insert mode mappings: -" Normal mode mappings: < > << >> [[ ]] [] ][ -" Visual mode mappings: < > - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -setlocal commentstring=\ \ \ \ \ \ *%s -setlocal comments=:* -setlocal fo+=croqlt -setlocal expandtab -setlocal textwidth=72 - -" matchit support -if exists("loaded_matchit") - let s:ordot = '\|\ze\.\%( \@=\|$\)' - let b:match_ignorecase=1 - "let b:match_skip = 'getline(".") =~ "^.\\{6\\}[*/C]"' - let b:match_words= - \ '\$if\>:$else\>:\$endif\>,' . - \ '[$-]\@:\<\%(then\|else\)\>:\'.s:ordot.',' . - \ '-\@:\'.s:ordot . ',' . - \ '-\@:\<\%(when\)\>:\' .s:ordot . ',' . - \ '-\@\%(.*\(\%$\|\%(\n\%(\%(\s*\|.\{6\}\)[*/].*\n\)*\)\=\s*\%(not\s\+\)\=on\s\+size\s\+error\>\)\)\@=:\%(\:\' .s:ordot . ',' . - \ '-\@\%(.*\(\%$\|\%(\n\%(\%(\s*\|.\{6\}\)[*/].*\n\)*\)\=\s*\%(not\s\+\)\=on\s\+\%(overflow\|exception\)\>\)\)\@=:\%(\:\' .s:ordot . ',' . - \ '-\@\%(.*\(\%$\|\%(\n\%(\%(\s*\|.\{6\}\)[*/].*\n\)*\)\=\s*\%(invalid\s\+key\|at\s\+end\|no\s\+data\|at\s\+end-of-page\)\>\)\)\@=:\%(\:\' .s:ordot -endif - -" add gtk support -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "COBOL Source Files (*.cbl, *.cob)\t*.cbl;*.cob;*.lib\n" - if has("win32") - let b:browsefilter .= "All Files (*.*)\t*\n" - else - let b:browsefilter .= "All Files (*)\t*\n" - endif -endif - -let b:undo_ftplugin = "setlocal com< cms< fo< et< tw<" . - \ " | unlet! b:browsefilter b:match_words b:match_ignorecase b:match_skip" -if !exists("g:no_plugin_maps") && !exists("g:no_cobol_maps") - let b:undo_ftplugin = b:undo_ftplugin . - \ " | sil! exe 'nunmap <'" . - \ " | sil! exe 'nunmap >'" . - \ " | sil! exe 'nunmap <<'" . - \ " | sil! exe 'nunmap >>'" . - \ " | sil! exe 'vunmap <'" . - \ " | sil! exe 'vunmap >'" . - \ " | sil! exe 'iunmap '" . - \ " | sil! exe 'iunmap '" . - \ " | sil! exe 'iunmap '" . - \ " | sil! exe 'nunmap Traditional'" . - \ " | sil! exe 'nunmap Comment'" . - \ " | sil! exe 'nunmap DeComment'" . - \ " | sil! exe 'vunmap VisualTraditional'" . - \ " | sil! exe 'vunmap VisualComment'" . - \ " | sil! exe 'iunmap VisualDeComment'" . - \ " | sil! exe 'unmap [['" . - \ " | sil! exe 'unmap ]]'" . - \ " | sil! exe 'unmap []'" . - \ " | sil! exe 'unmap ]['" -endif - -if !exists("g:no_plugin_maps") && !exists("g:no_cobol_maps") - if version >= 700 - nnoremap > :set opfunc=IncreaseFuncg@ - nnoremap < :set opfunc=DecreaseFuncg@ - endif - nnoremap >> :call CobolIndentBlock(1) - nnoremap << :call CobolIndentBlock(-1) - vnoremap > :call CobolIndentBlock(v:count1) - vnoremap < :call CobolIndentBlock(-v:count1) - inoremap =IncreaseIndent()=RestoreShiftwidth() - inoremap =DecreaseIndent()=RestoreShiftwidth() - if !maparg("","i") - inoremap =Tab()=RestoreShiftwidth() - endif - noremap [[ m':call search('\c^\%(\s*\.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\section\)\s*\.','bW') - noremap ]] m':call search('\c^\%(\s*\.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\section\)\.','W') - noremap [] m':call toend('b') - noremap ][ m':call toend('') - " For EnhancedCommentify - noremap Traditional :call Comment('t') - noremap Comment :call Comment('c') - noremap DeComment :call Comment('u') - noremap VisualTraditional :'<,'>call Comment('t') - noremap VisualComment :'<,'>call Comment('c') - noremap VisualDeComment :'<,'>call Comment('u') -endif - -let &cpo = s:cpo_save -unlet s:cpo_save - -if exists("g:did_cobol_ftplugin_functions") - finish -endif -let g:did_cobol_ftplugin_functions = 1 - -function! s:repeat(str,count) - let i = 0 - let ret = "" - while i < a:count - let ret = ret . a:str - let i = i + 1 - endwhile - return ret -endfunction - -function! s:increase(...) - let lnum = '.' - let sw = shiftwidth() - let i = a:0 ? a:1 : indent(lnum) - if i >= 11 - return sw - (i - 11) % sw - elseif i >= 7 - return 11-i - elseif i == 6 - return 1 - else - return 6-i - endif -endfunction - -function! s:decrease(...) - let lnum = '.' - let sw = shiftwidth() - let i = indent(a:0 ? a:1 : lnum) - if i >= 11 + sw - return 1 + (i + 12) % sw - elseif i > 11 - return i-11 - elseif i > 7 - return i-7 - elseif i == 7 - return 1 - else - return i - endif -endfunction - -function! CobolIndentBlock(shift) - let head = strpart(getline('.'),0,7) - let tail = strpart(getline('.'),7) - let indent = match(tail,'[^ ]') - let sw = shiftwidth() - let shift = a:shift - if shift > 0 - if indent < 4 - let tail = s:repeat(" ",4-indent).tail - let shift = shift - 1 - endif - let tail = s:repeat(" ",shift*sw).tail - let shift = 0 - elseif shift < 0 - if (indent-4) > -shift * sw - let tail = strpart(tail,-shift * sw) - elseif (indent-4) > (-shift-1) * sw - let tail = strpart(tail,indent - 4) - else - let tail = strpart(tail,indent) - endif - endif - call setline('.',head.tail) -endfunction - -function! s:IncreaseFunc(type) - '[,']call CobolIndentBlock(1) -endfunction - -function! s:DecreaseFunc(type) - '[,']call CobolIndentBlock(-1) -endfunction - -function! s:IncreaseIndent() - let c = "\" - if exists("*InsertCtrlTWrapper") - let key = InsertCtrlTWrapper() - if key != c - return key - endif - endif - let interval = s:increase() - let b:cobol_shiftwidth = &shiftwidth - let &shiftwidth = 1 - let lastchar = strpart(getline('.'),col('.')-2,1) - if lastchar == '0' || lastchar == '^' - return "\".lastchar.c - else - return s:repeat(c,interval) - endif -endfunction - -function! s:DecreaseIndent() - let c = "\" - if exists("*InsertCtrlDWrapper") - " I hack Ctrl-D to delete when not at the end of the line. - let key = InsertCtrlDWrapper() - if key != c - return key - endif - endif - let interval = s:decrease() - let b:cobol_shiftwidth = &shiftwidth - let &shiftwidth = 1 - return s:repeat(c,interval) -endfunction - -function! s:RestoreShiftwidth() - if exists("b:cobol_shiftwidth") - let &shiftwidth=b:cobol_shiftwidth - unlet b:cobol_shiftwidth - endif - return "" -endfunction - -function! s:Tab() - if (strpart(getline('.'),0,col('.')-1) =~ '^\s*$' && &sta) - return s:IncreaseIndent() - " &softtabstop < 0: &softtabstop follows &shiftwidth - elseif (&sts < 0 || &sts == shiftwidth()) && &sts != 8 && &et - return s:repeat(" ",s:increase(col('.')-1)) - else - return "\" - endif -endfunction - -function! s:Comment(arg) - " For EnhancedCommentify - let line = getline('.') - if (line =~ '^.\{6\}[*/C]' || a:arg == 'c') && a:arg != 'u' - let line = substitute(line,'^.\{6\}\zs.',' ','') - else - let line = substitute(line,'^.\{6\}\zs.','*','') - endif - call setline('.',line) -endfunction - -function! s:toend(direction) - let ignore = '^\(\s*\|.\{6\}\)\%([*/]\|\s*$\)' - let keep = line('.') - keepjumps + - while line('.') < line('$') && getline('.') =~ ignore - keepjumps + - endwhile - let res = search('\c^\%(\s*\|.\{6\}\s\+\)\zs[A-Za-z0-9-]\+\s\+\%(division\|section\)\s*\.',a:direction.'W') - if a:direction != 'b' && !res - let res = line('$') - keepjumps $ - elseif res - keepjumps - - endif - if res - while line('.') > 1 && getline('.') =~ ignore - keepjumps - - endwhile - if line('.') == 1 && getline('.') =~ ignore - exe "keepjumps ".keep - endif - else - exe "keepjumps ".keep - endif -endfunction diff --git a/uvim/runtime/ftplugin/codeowners.mnv b/uvim/runtime/ftplugin/codeowners.mnv new file mode 100644 index 0000000000..c2d6c75f06 --- /dev/null +++ b/uvim/runtime/ftplugin/codeowners.mnv @@ -0,0 +1,14 @@ +" MNV filetype plugin +" Language: codeowners +" Maintainer: Jon Parise +" Last Change: 2025 Sep 14 +" +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:# commentstring=#\ %s +setl formatoptions-=t formatoptions+=croql + +let b:undo_ftplugin = 'setl com< cms< fo<' diff --git a/uvim/runtime/ftplugin/codeowners.vim b/uvim/runtime/ftplugin/codeowners.vim deleted file mode 100644 index f1dad0d880..0000000000 --- a/uvim/runtime/ftplugin/codeowners.vim +++ /dev/null @@ -1,14 +0,0 @@ -" Vim filetype plugin -" Language: codeowners -" Maintainer: Jon Parise -" Last Change: 2025 Sep 14 -" -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setl comments=:# commentstring=#\ %s -setl formatoptions-=t formatoptions+=croql - -let b:undo_ftplugin = 'setl com< cms< fo<' diff --git a/uvim/runtime/ftplugin/conf.mnv b/uvim/runtime/ftplugin/conf.mnv new file mode 100644 index 0000000000..472db6a905 --- /dev/null +++ b/uvim/runtime/ftplugin/conf.mnv @@ -0,0 +1,19 @@ +" MNV filetype plugin file +" Language: generic configuration file +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/conf.vim b/uvim/runtime/ftplugin/conf.vim deleted file mode 100644 index ff2add1fa3..0000000000 --- a/uvim/runtime/ftplugin/conf.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Vim filetype plugin file -" Language: generic configuration file -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< fo<" - -setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/config.mnv b/uvim/runtime/ftplugin/config.mnv new file mode 100644 index 0000000000..1e463c223d --- /dev/null +++ b/uvim/runtime/ftplugin/config.mnv @@ -0,0 +1,49 @@ +" MNV filetype plugin file +" Language: config +" +" This runtime file is looking for a new maintainer. +" +" Former maintainer: Dan Sharp +" Last Change: 2009 Jan 20 +" 2024 Jan 14 by MNV Project (browsefilter) + +if exists("b:did_ftplugin") | finish | endif + +" Make sure the continuation lines below do not cause problems in +" compatibility mode. +let s:save_cpo = &cpo +set cpo-=C + +" Define some defaults in case the included ftplugins don't set them. +let s:undo_ftplugin = "" +let s:browsefilter = "Bourne Shell Files (*.sh)\t*.sh\n" +if has("win32") + let s:browsefilter .= "All Files (*.*)\t*\n" +else + let s:browsefilter .= "All Files (*)\t*\n" +endif +let s:match_words = "" + +runtime! ftplugin/sh.mnv ftplugin/sh_*.mnv ftplugin/sh/*.mnv +let b:did_ftplugin = 1 + +" Override our defaults if these were set by an included ftplugin. +if exists("b:undo_ftplugin") + let s:undo_ftplugin = b:undo_ftplugin +endif +if exists("b:browsefilter") + let s:browsefilter = b:browsefilter +endif + +" Change the :browse e filter to primarily show configure-related files. +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") + let b:browsefilter="Configure Scripts (configure.*, config.*)\tconfigure*;config.*\n" . + \ s:browsefilter +endif + +" Undo the stuff we changed. +let b:undo_ftplugin = "unlet! b:browsefilter | " . b:undo_ftplugin + +" Restore the saved compatibility options. +let &cpo = s:save_cpo +unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/config.vim b/uvim/runtime/ftplugin/config.vim deleted file mode 100644 index 595fc657b9..0000000000 --- a/uvim/runtime/ftplugin/config.vim +++ /dev/null @@ -1,49 +0,0 @@ -" Vim filetype plugin file -" Language: config -" -" This runtime file is looking for a new maintainer. -" -" Former maintainer: Dan Sharp -" Last Change: 2009 Jan 20 -" 2024 Jan 14 by Vim Project (browsefilter) - -if exists("b:did_ftplugin") | finish | endif - -" Make sure the continuation lines below do not cause problems in -" compatibility mode. -let s:save_cpo = &cpo -set cpo-=C - -" Define some defaults in case the included ftplugins don't set them. -let s:undo_ftplugin = "" -let s:browsefilter = "Bourne Shell Files (*.sh)\t*.sh\n" -if has("win32") - let s:browsefilter .= "All Files (*.*)\t*\n" -else - let s:browsefilter .= "All Files (*)\t*\n" -endif -let s:match_words = "" - -runtime! ftplugin/sh.vim ftplugin/sh_*.vim ftplugin/sh/*.vim -let b:did_ftplugin = 1 - -" Override our defaults if these were set by an included ftplugin. -if exists("b:undo_ftplugin") - let s:undo_ftplugin = b:undo_ftplugin -endif -if exists("b:browsefilter") - let s:browsefilter = b:browsefilter -endif - -" Change the :browse e filter to primarily show configure-related files. -if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter="Configure Scripts (configure.*, config.*)\tconfigure*;config.*\n" . - \ s:browsefilter -endif - -" Undo the stuff we changed. -let b:undo_ftplugin = "unlet! b:browsefilter | " . b:undo_ftplugin - -" Restore the saved compatibility options. -let &cpo = s:save_cpo -unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/confini.mnv b/uvim/runtime/ftplugin/confini.mnv new file mode 100644 index 0000000000..9a30c7eada --- /dev/null +++ b/uvim/runtime/ftplugin/confini.mnv @@ -0,0 +1,10 @@ +" MNV filetype plugin file +" Language: confini + +" Quit if a ftplugin file was already loaded +if exists("b:did_ftplugin") + finish +endif + +" Use the cfg plugin, it's similar enough. +runtime! ftplugin/cfg.mnv diff --git a/uvim/runtime/ftplugin/confini.vim b/uvim/runtime/ftplugin/confini.vim deleted file mode 100644 index 310e046353..0000000000 --- a/uvim/runtime/ftplugin/confini.vim +++ /dev/null @@ -1,10 +0,0 @@ -" Vim filetype plugin file -" Language: confini - -" Quit if a ftplugin file was already loaded -if exists("b:did_ftplugin") - finish -endif - -" Use the cfg plugin, it's similar enough. -runtime! ftplugin/cfg.vim diff --git a/uvim/runtime/ftplugin/context.mnv b/uvim/runtime/ftplugin/context.mnv new file mode 100644 index 0000000000..187e9278fd --- /dev/null +++ b/uvim/runtime/ftplugin/context.mnv @@ -0,0 +1,117 @@ +mnv9script + +# MNV filetype plugin file +# Language: ConTeXt typesetting engine +# Maintainer: Nicola Vitacolonna +# Former Maintainers: Nikolai Weibull +# Latest Revision: 2026 Jan 10 + +if exists("b:did_ftplugin") + finish +endif + +import autoload '../autoload/context.mnv' + +b:did_ftplugin = 1 + +b:undo_ftplugin = "setl com< cms< def< inc< sua< fo< ofu<" + +setlocal comments=b:%D,b:%C,b:%M,:% +setlocal commentstring=%\ %s +setlocal formatoptions+=tjcroql2 +setlocal omnifunc=context.Complete +setlocal suffixesadd=.tex,.mkxl,.mkvi,.mkiv,.mkii + +&l:define = '\\\%([egx]\|char\|mathchar\|count\|dimen\|muskip\|skip\|toks\)\=' +.. 'def\|\\font\|\\\%(future\)\=let' +.. '\|\\new\%(count\|dimen\|skip\|muskip\|box\|toks\|read\|write' +.. '\|fam\|insert\|if\)' + +&l:include = '^\s*\\\%(input\|component\|product\|project\|environment\)' + +if exists("g:loaded_matchit") && !exists("b:match_words") + b:match_ignorecase = 0 + b:match_skip = 'r:\\\@', + 'endsection': '\\\%(stop\)\=\%(\%(sub\)*section\|\%(sub\)*subject\|chapter\|part\|component\|product\|title\)\>', + 'beginblock': '\\\%(start\|setup\|define\)', + 'endblock': '\\\%(stop\|setup\|define\)', + } + + def UndoMap(mapping: string, modes: string) + for mode in modes + b:undo_ftplugin ..= printf(" | silent! execute '%sunmap %s'", mode, mapping) + endfor + enddef + + def MoveAround(count: number, what: string, flags: string) + search(context_regex[what], flags .. 's') # 's' sets previous context mark + var i = 2 + while i <= count + search(context_regex[what], flags) + i += 1 + endwhile + enddef + + # Macros to move around + nnoremap [[ MoveAround(v:count1, "beginsection", "bW") + vnoremap [[ MoveAround(v:count1, "beginsection", "bW") + nnoremap ]] MoveAround(v:count1, "beginsection", "W") + vnoremap ]] MoveAround(v:count1, "beginsection", "W") + nnoremap [] MoveAround(v:count1, "endsection", "bW") + vnoremap [] MoveAround(v:count1, "endsection", "bW") + nnoremap ][ MoveAround(v:count1, "endsection", "W") + vnoremap ][ MoveAround(v:count1, "endsection", "W") + nnoremap [{ MoveAround(v:count1, "beginblock", "bW") + vnoremap [{ MoveAround(v:count1, "beginblock", "bW") + nnoremap ]} MoveAround(v:count1, "endblock", "W") + vnoremap ]} MoveAround(v:count1, "endblock", "W") + + for mapping in ['[[', ']]', '[]', '][', '[{', ']}'] + UndoMap(mapping, 'nv') + endfor + + # Other useful mappings + const tp_regex = '?^$\|^\s*\\\(item\|start\|stop\|blank\|\%(sub\)*section\|chapter\|\%(sub\)*subject\|title\|part\)' + + def TeXPar() + cursor(search(tp_regex, 'bcW') + 1, 1) + normal! V + cursor(search(tp_regex, 'W') - 1, 1) + enddef + + # Reflow paragraphs with mappings like gqtp ("gq TeX paragraph") + onoremap tp TeXPar() + # Select TeX paragraph + vnoremap tp TeXPar() + + # $...$ text object + onoremap i$ normal! T$vt$ + onoremap a$ normal! F$vf$ + vnoremap i$ T$ot$ + vnoremap a$ F$of$ + + for mapping in ['tp', 'i$', 'a$'] + UndoMap(mapping, 'ov') + endfor +endif + +if !exists('current_compiler') + b:undo_ftplugin ..= "| compiler make" + compiler context +endif + +b:undo_ftplugin ..= "| sil! delc -buffer ConTeXt | sil! delc -buffer ConTeXtLog | sil! delc -buffer ConTeXtJobStatus | sil! delc -buffer ConTeXtStopJobs" +# Commands for asynchronous typesetting +command! -buffer -nargs=? -complete=buffer ConTeXt context.Typeset() +command! -buffer -nargs=0 ConTeXtLog context.Log(bufname('%')) +command! -nargs=0 ConTeXtJobStatus context.JobStatus() +command! -nargs=0 ConTeXtStopJobs context.StopJobs() + +# mnv: sw=2 fdm=marker diff --git a/uvim/runtime/ftplugin/context.vim b/uvim/runtime/ftplugin/context.vim deleted file mode 100644 index 79b59723a4..0000000000 --- a/uvim/runtime/ftplugin/context.vim +++ /dev/null @@ -1,117 +0,0 @@ -vim9script - -# Vim filetype plugin file -# Language: ConTeXt typesetting engine -# Maintainer: Nicola Vitacolonna -# Former Maintainers: Nikolai Weibull -# Latest Revision: 2026 Jan 10 - -if exists("b:did_ftplugin") - finish -endif - -import autoload '../autoload/context.vim' - -b:did_ftplugin = 1 - -b:undo_ftplugin = "setl com< cms< def< inc< sua< fo< ofu<" - -setlocal comments=b:%D,b:%C,b:%M,:% -setlocal commentstring=%\ %s -setlocal formatoptions+=tjcroql2 -setlocal omnifunc=context.Complete -setlocal suffixesadd=.tex,.mkxl,.mkvi,.mkiv,.mkii - -&l:define = '\\\%([egx]\|char\|mathchar\|count\|dimen\|muskip\|skip\|toks\)\=' -.. 'def\|\\font\|\\\%(future\)\=let' -.. '\|\\new\%(count\|dimen\|skip\|muskip\|box\|toks\|read\|write' -.. '\|fam\|insert\|if\)' - -&l:include = '^\s*\\\%(input\|component\|product\|project\|environment\)' - -if exists("g:loaded_matchit") && !exists("b:match_words") - b:match_ignorecase = 0 - b:match_skip = 'r:\\\@', - 'endsection': '\\\%(stop\)\=\%(\%(sub\)*section\|\%(sub\)*subject\|chapter\|part\|component\|product\|title\)\>', - 'beginblock': '\\\%(start\|setup\|define\)', - 'endblock': '\\\%(stop\|setup\|define\)', - } - - def UndoMap(mapping: string, modes: string) - for mode in modes - b:undo_ftplugin ..= printf(" | silent! execute '%sunmap %s'", mode, mapping) - endfor - enddef - - def MoveAround(count: number, what: string, flags: string) - search(context_regex[what], flags .. 's') # 's' sets previous context mark - var i = 2 - while i <= count - search(context_regex[what], flags) - i += 1 - endwhile - enddef - - # Macros to move around - nnoremap [[ MoveAround(v:count1, "beginsection", "bW") - vnoremap [[ MoveAround(v:count1, "beginsection", "bW") - nnoremap ]] MoveAround(v:count1, "beginsection", "W") - vnoremap ]] MoveAround(v:count1, "beginsection", "W") - nnoremap [] MoveAround(v:count1, "endsection", "bW") - vnoremap [] MoveAround(v:count1, "endsection", "bW") - nnoremap ][ MoveAround(v:count1, "endsection", "W") - vnoremap ][ MoveAround(v:count1, "endsection", "W") - nnoremap [{ MoveAround(v:count1, "beginblock", "bW") - vnoremap [{ MoveAround(v:count1, "beginblock", "bW") - nnoremap ]} MoveAround(v:count1, "endblock", "W") - vnoremap ]} MoveAround(v:count1, "endblock", "W") - - for mapping in ['[[', ']]', '[]', '][', '[{', ']}'] - UndoMap(mapping, 'nv') - endfor - - # Other useful mappings - const tp_regex = '?^$\|^\s*\\\(item\|start\|stop\|blank\|\%(sub\)*section\|chapter\|\%(sub\)*subject\|title\|part\)' - - def TeXPar() - cursor(search(tp_regex, 'bcW') + 1, 1) - normal! V - cursor(search(tp_regex, 'W') - 1, 1) - enddef - - # Reflow paragraphs with mappings like gqtp ("gq TeX paragraph") - onoremap tp TeXPar() - # Select TeX paragraph - vnoremap tp TeXPar() - - # $...$ text object - onoremap i$ normal! T$vt$ - onoremap a$ normal! F$vf$ - vnoremap i$ T$ot$ - vnoremap a$ F$of$ - - for mapping in ['tp', 'i$', 'a$'] - UndoMap(mapping, 'ov') - endfor -endif - -if !exists('current_compiler') - b:undo_ftplugin ..= "| compiler make" - compiler context -endif - -b:undo_ftplugin ..= "| sil! delc -buffer ConTeXt | sil! delc -buffer ConTeXtLog | sil! delc -buffer ConTeXtJobStatus | sil! delc -buffer ConTeXtStopJobs" -# Commands for asynchronous typesetting -command! -buffer -nargs=? -complete=buffer ConTeXt context.Typeset() -command! -buffer -nargs=0 ConTeXtLog context.Log(bufname('%')) -command! -nargs=0 ConTeXtJobStatus context.JobStatus() -command! -nargs=0 ConTeXtStopJobs context.StopJobs() - -# vim: sw=2 fdm=marker diff --git a/uvim/runtime/ftplugin/cook.mnv b/uvim/runtime/ftplugin/cook.mnv new file mode 100644 index 0000000000..3ffb009bb9 --- /dev/null +++ b/uvim/runtime/ftplugin/cook.mnv @@ -0,0 +1,13 @@ +" MNV filetype plugin +" Language: Cooklang +" Maintainer: Riley Bruins +" Last Change: 2024 Nov 03 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setl comments=:-- commentstring=--\ %s + +let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/cook.vim b/uvim/runtime/ftplugin/cook.vim deleted file mode 100644 index 3697803e74..0000000000 --- a/uvim/runtime/ftplugin/cook.vim +++ /dev/null @@ -1,13 +0,0 @@ -" Vim filetype plugin -" Language: Cooklang -" Maintainer: Riley Bruins -" Last Change: 2024 Nov 03 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setl comments=:-- commentstring=--\ %s - -let b:undo_ftplugin = 'setl com< cms<' diff --git a/uvim/runtime/ftplugin/corn.mnv b/uvim/runtime/ftplugin/corn.mnv new file mode 100644 index 0000000000..15ab73a87d --- /dev/null +++ b/uvim/runtime/ftplugin/corn.mnv @@ -0,0 +1,18 @@ +" MNV filetype plugin +" Language: Corn +" Original Author: Jake Stanger (mail@jstanger.dev) +" License: MIT +" Last Change: 2023 May 28 + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +setlocal formatoptions-=t + +" Set comment (formatting) related options. +setlocal commentstring=//\ %s comments=:// + +" Let MNV know how to disable the plug-in. +let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions<' diff --git a/uvim/runtime/ftplugin/corn.vim b/uvim/runtime/ftplugin/corn.vim deleted file mode 100644 index 2259442229..0000000000 --- a/uvim/runtime/ftplugin/corn.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Vim filetype plugin -" Language: Corn -" Original Author: Jake Stanger (mail@jstanger.dev) -" License: MIT -" Last Change: 2023 May 28 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -setlocal formatoptions-=t - -" Set comment (formatting) related options. -setlocal commentstring=//\ %s comments=:// - -" Let Vim know how to disable the plug-in. -let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions<' diff --git a/uvim/runtime/ftplugin/cpp.mnv b/uvim/runtime/ftplugin/cpp.mnv new file mode 100644 index 0000000000..5c3f746359 --- /dev/null +++ b/uvim/runtime/ftplugin/cpp.mnv @@ -0,0 +1,22 @@ +" MNV filetype plugin file +" Language: C++ +" Maintainer: The MNV Project +" Last Change: 2024 Jun 06 +" Former Maintainer: Bram Moolenaar + +" Only do this when not done yet for this buffer +if exists("b:did_ftplugin") + finish +endif + +" Behaves mostly just like C +runtime! ftplugin/c.mnv ftplugin/c_*.mnv ftplugin/c/*.mnv + +" Change 'commentstring' to "C++ style"/"mono-line" comments +setlocal commentstring=//\ %s +let b:undo_ftplugin ..= ' | setl commentstring<' + +" C++ uses templates with +" Disabled, because it gives an error for typing an unmatched ">". +" set matchpairs+=<:> +" let b:undo_ftplugin ..= ' | setl matchpairs<' diff --git a/uvim/runtime/ftplugin/cpp.vim b/uvim/runtime/ftplugin/cpp.vim deleted file mode 100644 index fac3edd2ee..0000000000 --- a/uvim/runtime/ftplugin/cpp.vim +++ /dev/null @@ -1,22 +0,0 @@ -" Vim filetype plugin file -" Language: C++ -" Maintainer: The Vim Project -" Last Change: 2024 Jun 06 -" Former Maintainer: Bram Moolenaar - -" Only do this when not done yet for this buffer -if exists("b:did_ftplugin") - finish -endif - -" Behaves mostly just like C -runtime! ftplugin/c.vim ftplugin/c_*.vim ftplugin/c/*.vim - -" Change 'commentstring' to "C++ style"/"mono-line" comments -setlocal commentstring=//\ %s -let b:undo_ftplugin ..= ' | setl commentstring<' - -" C++ uses templates with -" Disabled, because it gives an error for typing an unmatched ">". -" set matchpairs+=<:> -" let b:undo_ftplugin ..= ' | setl matchpairs<' diff --git a/uvim/runtime/ftplugin/crm.mnv b/uvim/runtime/ftplugin/crm.mnv new file mode 100644 index 0000000000..010769dfe2 --- /dev/null +++ b/uvim/runtime/ftplugin/crm.mnv @@ -0,0 +1,19 @@ +" MNV filetype plugin file +" Language: CRM114 +" Previous Maintainer: Nikolai Weibull +" Latest Revision: 2008-07-09 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< fo<" + +setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/crm.vim b/uvim/runtime/ftplugin/crm.vim deleted file mode 100644 index 06baee883a..0000000000 --- a/uvim/runtime/ftplugin/crm.vim +++ /dev/null @@ -1,19 +0,0 @@ -" Vim filetype plugin file -" Language: CRM114 -" Previous Maintainer: Nikolai Weibull -" Latest Revision: 2008-07-09 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< fo<" - -setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/crontab.mnv b/uvim/runtime/ftplugin/crontab.mnv new file mode 100644 index 0000000000..901a1327cb --- /dev/null +++ b/uvim/runtime/ftplugin/crontab.mnv @@ -0,0 +1,16 @@ +" MNV filetype plugin +" Language: crontab +" Maintainer: Keith Smiley +" Last Change: 2022 Sep 11 + +" 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 = "setl commentstring<" + +setlocal commentstring=#\ %s diff --git a/uvim/runtime/ftplugin/crontab.vim b/uvim/runtime/ftplugin/crontab.vim deleted file mode 100644 index 8dac007ccc..0000000000 --- a/uvim/runtime/ftplugin/crontab.vim +++ /dev/null @@ -1,16 +0,0 @@ -" Vim filetype plugin -" Language: crontab -" Maintainer: Keith Smiley -" Last Change: 2022 Sep 11 - -" 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 = "setl commentstring<" - -setlocal commentstring=#\ %s diff --git a/uvim/runtime/ftplugin/cs.mnv b/uvim/runtime/ftplugin/cs.mnv new file mode 100644 index 0000000000..280723b6bb --- /dev/null +++ b/uvim/runtime/ftplugin/cs.mnv @@ -0,0 +1,51 @@ +" MNV filetype plugin file +" Language: C# +" Maintainer: Nick Jensen +" Former Maintainer: Johannes Zellner +" Last Change: 2025-03-14 +" License: MNV (see :h license) +" Repository: https://github.com/nickspoons/mnv-cs + +if exists('b:did_ftplugin') + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpo = &cpoptions +set cpoptions&mnv + +" Set 'formatoptions' to break comment lines but not other lines, +" and insert the comment leader when hitting or using "o". +setlocal formatoptions-=t formatoptions+=croql + +" Set 'comments' to format dashed lists in comments. +setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// +setlocal commentstring=//\ %s + +setlocal cinoptions=J1 + +let b:undo_ftplugin = 'setl com< fo< cino<' + +if exists('loaded_matchit') && !exists('b:match_words') + " #if/#endif support included by default + let b:match_ignorecase = 0 + let b:match_words = '\%(^\s*\)\@<=#\s*region\>:\%(^\s*\)\@<=#\s*endregion\>,' + let b:undo_ftplugin .= ' | unlet! b:match_ignorecase b:match_words' +endif + +if (has('gui_win32') || has('gui_gtk')) && !exists('b:browsefilter') + let b:browsefilter = "C# Source Files (*.cs, *.csx)\t*.cs;*.csx\n" . + \ "C# Project Files (*.csproj)\t*.csproj\n" . + \ "Visual Studio Solution Files (*.sln)\t*.sln\n" + if has("win32") + let b:browsefilter ..= "All Files (*.*)\t*\n" + else + let b:browsefilter ..= "All Files (*)\t*\n" + endif + let b:undo_ftplugin .= ' | unlet! b:browsefilter' +endif + +let &cpoptions = s:save_cpo +unlet s:save_cpo + +" mnv:et:sw=2:sts=2 diff --git a/uvim/runtime/ftplugin/cs.vim b/uvim/runtime/ftplugin/cs.vim deleted file mode 100644 index d40fe43ebc..0000000000 --- a/uvim/runtime/ftplugin/cs.vim +++ /dev/null @@ -1,51 +0,0 @@ -" Vim filetype plugin file -" Language: C# -" Maintainer: Nick Jensen -" Former Maintainer: Johannes Zellner -" Last Change: 2025-03-14 -" License: Vim (see :h license) -" Repository: https://github.com/nickspoons/vim-cs - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -let s:save_cpo = &cpoptions -set cpoptions&vim - -" Set 'formatoptions' to break comment lines but not other lines, -" and insert the comment leader when hitting or using "o". -setlocal formatoptions-=t formatoptions+=croql - -" Set 'comments' to format dashed lists in comments. -setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,:// -setlocal commentstring=//\ %s - -setlocal cinoptions=J1 - -let b:undo_ftplugin = 'setl com< fo< cino<' - -if exists('loaded_matchit') && !exists('b:match_words') - " #if/#endif support included by default - let b:match_ignorecase = 0 - let b:match_words = '\%(^\s*\)\@<=#\s*region\>:\%(^\s*\)\@<=#\s*endregion\>,' - let b:undo_ftplugin .= ' | unlet! b:match_ignorecase b:match_words' -endif - -if (has('gui_win32') || has('gui_gtk')) && !exists('b:browsefilter') - let b:browsefilter = "C# Source Files (*.cs, *.csx)\t*.cs;*.csx\n" . - \ "C# Project Files (*.csproj)\t*.csproj\n" . - \ "Visual Studio Solution Files (*.sln)\t*.sln\n" - if has("win32") - let b:browsefilter ..= "All Files (*.*)\t*\n" - else - let b:browsefilter ..= "All Files (*)\t*\n" - endif - let b:undo_ftplugin .= ' | unlet! b:browsefilter' -endif - -let &cpoptions = s:save_cpo -unlet s:save_cpo - -" vim:et:sw=2:sts=2 diff --git a/uvim/runtime/ftplugin/csc.mnv b/uvim/runtime/ftplugin/csc.mnv new file mode 100644 index 0000000000..d4b23da1d8 --- /dev/null +++ b/uvim/runtime/ftplugin/csc.mnv @@ -0,0 +1,29 @@ +" MNV filetype plugin file +" Language: csc +" +" This runtime file is looking for a new maintainer. +" +" Former maintainer: Dan Sharp +" Last Changed: 20 Jan 2009 + +if exists("b:did_ftplugin") | finish | endif +let b:did_ftplugin = 1 + +" Make sure the continuation lines below do not cause problems in +" compatibility mode. +let s:save_cpo = &cpo +set cpo-=C + +if exists("loaded_matchit") + let b:match_words= + \ '\:\,' . + \ '\:\:\,' . + \ '\\|\:\' +endif + +" Undo the stuff we changed. +let b:undo_ftplugin = "unlet! b:match_words" + +" Restore the saved compatibility options. +let &cpo = s:save_cpo +unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/csc.vim b/uvim/runtime/ftplugin/csc.vim deleted file mode 100644 index 7b4126a503..0000000000 --- a/uvim/runtime/ftplugin/csc.vim +++ /dev/null @@ -1,29 +0,0 @@ -" Vim filetype plugin file -" Language: csc -" -" This runtime file is looking for a new maintainer. -" -" Former maintainer: Dan Sharp -" Last Changed: 20 Jan 2009 - -if exists("b:did_ftplugin") | finish | endif -let b:did_ftplugin = 1 - -" Make sure the continuation lines below do not cause problems in -" compatibility mode. -let s:save_cpo = &cpo -set cpo-=C - -if exists("loaded_matchit") - let b:match_words= - \ '\:\,' . - \ '\:\:\,' . - \ '\\|\:\' -endif - -" Undo the stuff we changed. -let b:undo_ftplugin = "unlet! b:match_words" - -" Restore the saved compatibility options. -let &cpo = s:save_cpo -unlet s:save_cpo diff --git a/uvim/runtime/ftplugin/csh.mnv b/uvim/runtime/ftplugin/csh.mnv new file mode 100644 index 0000000000..8af49bd51d --- /dev/null +++ b/uvim/runtime/ftplugin/csh.mnv @@ -0,0 +1,82 @@ +" MNV filetype plugin file +" Language: csh +" Maintainer: Doug Kearns +" Previous Maintainer: Dan Sharp +" Contributor: Johannes Zellner +" Riley Bruins +" Last Change: 2026 Jan 16 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:save_cpo = &cpo +set cpo-=C + +setlocal comments=:# +setlocal commentstring=#\ %s +setlocal formatoptions-=t +setlocal formatoptions+=crql + +let b:undo_ftplugin = "setlocal com< cms< fo<" + +if exists("loaded_matchit") && !exists("b:match_words") + let b:match_ignorecase = 0 + let b:match_words = "CshMatchWords()" + let b:match_skip = "CshMatchSkip()" + let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_skip b:match_words" +endif + +" skip single line 'if' commands +function CshMatchSkip() + return getline(".") =~# '^\s*if\>' && !s:CshIsIfThenCommand() +endfunction + +function CshMatchWords() + let line_start = '\%(^\s*\)\@<=' + let match_words = + \ line_start .. '\%(foreach\s\+\h\w*\s*(\|while\>\):' .. + \ '\:\:' .. + \ line_start .. 'end\>,' .. + \ line_start .. 'switch\s*(:' .. + \ line_start .. 'case\s\+:' .. line_start .. 'default\>:\:' .. + \ line_start .. 'endsw\>' + + if expand("") =~# '\' && !s:CshIsIfThenCommand() + return match_words + else + return match_words .. "," .. + \ line_start .. 'if\>:' .. + \ line_start .. 'else\s\+if\>:' .. line_start .. 'else\>:' .. + \ line_start .. 'endif\>' + endif +endfunction + +function s:CshIsIfThenCommand() + let lnum = line(".") + let line = getline(lnum) + + " join continued lines + while lnum < line("$") && line =~ '^\%([^\\]\|\\\\\)*\\$' + let lnum += 1 + let line = substitute(line, '\\$', '', '') .. getline(lnum) + endwhile + + " TODO: confirm with syntax checks when the highlighting is more accurate + return line =~# '^\s*if\>.*\ -" Previous Maintainer: Dan Sharp -" Contributor: Johannes Zellner -" Riley Bruins -" Last Change: 2026 Jan 16 - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:save_cpo = &cpo -set cpo-=C - -setlocal comments=:# -setlocal commentstring=#\ %s -setlocal formatoptions-=t -setlocal formatoptions+=crql - -let b:undo_ftplugin = "setlocal com< cms< fo<" - -if exists("loaded_matchit") && !exists("b:match_words") - let b:match_ignorecase = 0 - let b:match_words = "CshMatchWords()" - let b:match_skip = "CshMatchSkip()" - let b:undo_ftplugin ..= " | unlet! b:match_ignorecase b:match_skip b:match_words" -endif - -" skip single line 'if' commands -function CshMatchSkip() - return getline(".") =~# '^\s*if\>' && !s:CshIsIfThenCommand() -endfunction - -function CshMatchWords() - let line_start = '\%(^\s*\)\@<=' - let match_words = - \ line_start .. '\%(foreach\s\+\h\w*\s*(\|while\>\):' .. - \ '\:\:' .. - \ line_start .. 'end\>,' .. - \ line_start .. 'switch\s*(:' .. - \ line_start .. 'case\s\+:' .. line_start .. 'default\>:\:' .. - \ line_start .. 'endsw\>' - - if expand("") =~# '\' && !s:CshIsIfThenCommand() - return match_words - else - return match_words .. "," .. - \ line_start .. 'if\>:' .. - \ line_start .. 'else\s\+if\>:' .. line_start .. 'else\>:' .. - \ line_start .. 'endif\>' - endif -endfunction - -function s:CshIsIfThenCommand() - let lnum = line(".") - let line = getline(lnum) - - " join continued lines - while lnum < line("$") && line =~ '^\%([^\\]\|\\\\\)*\\$' - let lnum += 1 - let line = substitute(line, '\\$', '', '') .. getline(lnum) - endwhile - - " TODO: confirm with syntax checks when the highlighting is more accurate - return line =~# '^\s*if\>.*\ +" Previous Maintainer: Nikolai Weibull +" Last Change: 2020 Dec 21 +" 2024 Jun 02 by Riley Bruins ('commentstring') + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&mnv + +let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<" + +setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */ +setlocal formatoptions-=t formatoptions+=croql +setlocal omnifunc=csscomplete#CompleteCSS +setlocal iskeyword+=- + +let &l:include = '^\s*@import\s\+\%(url(\)\=' + +let &cpo = s:cpo_save +unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/css.vim b/uvim/runtime/ftplugin/css.vim deleted file mode 100644 index 778a9e12d6..0000000000 --- a/uvim/runtime/ftplugin/css.vim +++ /dev/null @@ -1,26 +0,0 @@ -" Vim filetype plugin file -" Language: CSS -" Maintainer: Doug Kearns -" Previous Maintainer: Nikolai Weibull -" Last Change: 2020 Dec 21 -" 2024 Jun 02 by Riley Bruins ('commentstring') - -if exists("b:did_ftplugin") - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -let b:undo_ftplugin = "setl com< cms< inc< fo< ofu< isk<" - -setlocal comments=s1:/*,mb:*,ex:*/ commentstring=/*\ %s\ */ -setlocal formatoptions-=t formatoptions+=croql -setlocal omnifunc=csscomplete#CompleteCSS -setlocal iskeyword+=- - -let &l:include = '^\s*@import\s\+\%(url(\)\=' - -let &cpo = s:cpo_save -unlet s:cpo_save diff --git a/uvim/runtime/ftplugin/csv.mnv b/uvim/runtime/ftplugin/csv.mnv new file mode 100644 index 0000000000..5e76e86412 --- /dev/null +++ b/uvim/runtime/ftplugin/csv.mnv @@ -0,0 +1,23 @@ +mnv9script + +# Maintainer: Maxim Kim +# Last Update: 2024-06-18 + +if !exists("b:csv_delimiter") + # detect delimiter + var delimiters = ",;\t|" + + var max = 0 + for d in delimiters + var count = getline(1)->split(d)->len() + getline(2)->split(d)->len() + if count > max + max = count + b:csv_delimiter = d + endif + endfor +endif + +if exists("b:did_ftplugin") + finish +endif +b:did_ftplugin = 1 diff --git a/uvim/runtime/ftplugin/csv.vim b/uvim/runtime/ftplugin/csv.vim deleted file mode 100644 index f1021f83b7..0000000000 --- a/uvim/runtime/ftplugin/csv.vim +++ /dev/null @@ -1,23 +0,0 @@ -vim9script - -# Maintainer: Maxim Kim -# Last Update: 2024-06-18 - -if !exists("b:csv_delimiter") - # detect delimiter - var delimiters = ",;\t|" - - var max = 0 - for d in delimiters - var count = getline(1)->split(d)->len() + getline(2)->split(d)->len() - if count > max - max = count - b:csv_delimiter = d - endif - endfor -endif - -if exists("b:did_ftplugin") - finish -endif -b:did_ftplugin = 1 diff --git a/uvim/runtime/ftplugin/cucumber.mnv b/uvim/runtime/ftplugin/cucumber.mnv new file mode 100644 index 0000000000..2ba874bc33 --- /dev/null +++ b/uvim/runtime/ftplugin/cucumber.mnv @@ -0,0 +1,150 @@ +" MNV filetype plugin +" Language: Cucumber +" Maintainer: Tim Pope +" Last Change: 2016 Aug 29 + +" Only do this when not done yet for this buffer +if (exists("b:did_ftplugin")) + finish +endif +let b:did_ftplugin = 1 + +let s:keepcpo= &cpo +set cpo&mnv + +setlocal formatoptions-=t formatoptions+=croql +setlocal comments=:# commentstring=#\ %s +setlocal omnifunc=CucumberComplete + +let b:undo_ftplugin = "setl fo< com< cms< ofu<" + +let b:cucumber_root = expand('%:p:h:s?.*[\/]\%(features\|stories\)\zs[\/].*??') +if !exists("b:cucumber_steps_glob") + let b:cucumber_steps_glob = b:cucumber_root.'/**/*.rb' +endif + +if !exists("g:no_plugin_maps") && !exists("g:no_cucumber_maps") + cnoremap foldopen if &foldopen =~# 'tag'exe 'norm! zv'endif + nnoremap