1
0
Fork 0

nvim: fix project_root_markers

This commit is contained in:
tastytea 2022-08-17 20:07:39 +02:00
parent 123879a15f
commit f62e5cd6b9
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 2 deletions

View File

@ -70,8 +70,7 @@ vim.api.nvim_create_user_command('ModelineInsert', M.insert_modeline, {})
-- Files that could indicate the project's root directory
M.project_root_markers = {
'.git', '.hg', '.svn', '.bzr', '_darcs',
'.projectile', '.clang-format', '.luarc.json', '.editorconfig',
'Makefile', 'CMakeLists.txt', 'package.json'
'.projectile', '.clang-format', '.luarc.json', '.editorconfig'
}
function M.get_project_root()