nvim: fix project_root_markers
This commit is contained in:
parent
123879a15f
commit
f62e5cd6b9
|
@ -70,8 +70,7 @@ vim.api.nvim_create_user_command('ModelineInsert', M.insert_modeline, {})
|
||||||
-- Files that could indicate the project's root directory
|
-- Files that could indicate the project's root directory
|
||||||
M.project_root_markers = {
|
M.project_root_markers = {
|
||||||
'.git', '.hg', '.svn', '.bzr', '_darcs',
|
'.git', '.hg', '.svn', '.bzr', '_darcs',
|
||||||
'.projectile', '.clang-format', '.luarc.json', '.editorconfig',
|
'.projectile', '.clang-format', '.luarc.json', '.editorconfig'
|
||||||
'Makefile', 'CMakeLists.txt', 'package.json'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.get_project_root()
|
function M.get_project_root()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user