On 2024-10-03, Martin Krischik wrote:
>     BTW it seems your current version has the same problem (setting 
> ignorecase,
>     which should be a user setting)
> 
> But Ada is an ignore case language so that would be annoying for ada
> programmer. It would be helpful, especially for those who use multiple
> languages, if it was possible to set the ignore case depending on language.

How about using BufEnter and BufLeave autocommands to control
'ignorecase'?

BufEnter would check the 'filetype' and if "ada", then save the
current value of 'ignorecase' and set 'ignorecase'.

BufLeave would check the 'filetype' and if "ada", then restore the
saved value of 'ignorecase'.

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20241003211702.GH15474%40phoenix.

Raspunde prin e-mail lui