Hi the list and Bram.

I suggest to add checker of using Python 2.x

Python 2 will be retire 2020, and it is not so far.
https://pythonclock.org/
To stop using Python 2.x suddenly is not easy for Vim users.
Because it is difficult to know which scripts are using Python 2.
So vim may help to detect it.

I have wrote a patch for proof of the concept.
Please check it:
https://gist.github.com/koron/90f6b56b73c211e059a3b8ab1db335a9

My patch do three things:

1. Show a waring message at only once when Python 2.x is used.
2. The warning could be suppressed by 'nopy2warn' option.
3. :py2usingfrom shows list of files which use Python 2.x

Names for command and option which I added are not good, I think.
Please replace those by better names.

Best.
-- 
MURAOKA Taro <koron.kaor...@gmail.com>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui