On 2019-12-19, skywind3000 wrote:
> Please provide a standard way to locate project root directory.

This is an attractive idea, but there is no standard way to locate
a project root directory.

I have a plugin that attempts to do this.  It has evolved over many
years and contains several different methods for identifying project
root directories.  Each company I have worked for has had different
ideas of how project directories should be structured and where they
should be put.  For company, open-source and personal projects, some
have VCS files in the project root and some don't.  For a project
using git submodules, is a submodule a project or does the top-level
directory contain the project?

I want to be able to identify a project even if it is not my own
directory and the owner doesn't use vim, so putting a file such as
.vim_project in the root directory is out.  Also, I really don't
want dot files cluttering every directory that I consider a project.
(My own plugin uses heuristics and a database of exceptions that
resides under ~/.vim.)

We can't impose a standard on the world's projects and personal
requirements and preferences vary a lot, so I think this problem is
best solved by using plugins, not by adding something to the Vim
executable.

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20191219212445.GA13464%40phoenix.

Raspunde prin e-mail lui