On Thursday, February 12, 2026 at 7:36:32 AM UTC-5 Marc Chantreux wrote:

Hello people, 

I saw there is a write-filetype-plugin section in a documentation and 
will read it (and maybe discuss about it) to get something I would like: 
ftplugins to provide suggestions instead of setting them (maybe it could 
be conventions on how to name the variable that can be the candidate to 
setup &mp). 

I have no time for this right now and just fixed the problem: 

find /usr/share/vim/vim91/ -name sh.vim | 
sed 'p;s!/!_!g' | 
xargs -n2 mv 

That was brutal. was there something less destructive? 
for exemple: a way yo blacklist some system filetypes? 

filetype plugin user=sh,raku # to say that I take care about those ones 
filetype plugin disable=sh,raku # to say I just don't want plugins for 
those ones 

thanks for any help and regards, 
-- 
Marc Chantreux 


No such feature exists that I'm aware of, but:

- what is it about sh.vim that you don't like?
- are you aware you can override any ftplugin with either 
~/.vim/ftplugin/sh.vim or (usually my preference, when I'm extending rather 
than replacing) ~/.vim/after/ftplugin/sh.vim? Ditto for syntax and indent, 
since that's what we ship right now.

See `:help ftplugin-overrule`, `:help 30.3` (indenting), `:help 
mysyntaxfile` (Yikes, what a documentation mess!)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_use/69190e30-e96d-41e6-a5af-ca748ce88ee9n%40googlegroups.com.

Reply via email to