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/mojo.vim | 48 ------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 uvim/runtime/ftplugin/mojo.vim (limited to 'uvim/runtime/ftplugin/mojo.vim') diff --git a/uvim/runtime/ftplugin/mojo.vim b/uvim/runtime/ftplugin/mojo.vim deleted file mode 100644 index c7f3b6b41e..0000000000 --- a/uvim/runtime/ftplugin/mojo.vim +++ /dev/null @@ -1,48 +0,0 @@ -" Vim filetype plugin -" Language: Mojo -" Maintainer: Riley Bruins -" Last Change: 2024 Jul 07 -" 2025 Apr 16 by Vim Project (set 'cpoptions' for line continuation, #17121) - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -let s:cpo_save = &cpo -set cpo&vim - -setlocal include=^\\s*\\(from\\\|import\\) -setlocal define=^\\s*\\(\\(async\\s\\+\\)\\?def\\\|class\\) - -" For imports with leading .., append / and replace additional .s with ../ -let b:grandparent_match = '^\(.\.\)\(\.*\)' -let b:grandparent_sub = '\=submatch(1)."/".repeat("../",strlen(submatch(2)))' - -" For imports with a single leading ., replace it with ./ -let b:parent_match = '^\.\(\.\)\@!' -let b:parent_sub = './' - -" Replace any . sandwiched between word characters with / -let b:child_match = '\(\w\)\.\(\w\)' -let b:child_sub = '\1/\2' - -setlocal includeexpr=substitute(substitute(substitute( - \v:fname, - \b:grandparent_match,b:grandparent_sub,''), - \b:parent_match,b:parent_sub,''), - \b:child_match,b:child_sub,'g') - -setlocal suffixesadd=.mojo -setlocal comments=b:#,fb:- -setlocal commentstring=#\ %s - -let b:undo_ftplugin = 'setlocal include<' - \ . '|setlocal define<' - \ . '|setlocal includeexpr<' - \ . '|setlocal suffixesadd<' - \ . '|setlocal comments<' - \ . '|setlocal commentstring<' - -let &cpo = s:cpo_save -unlet s:cpo_save -- cgit 0.0.5-2-1-g0f52