1
0
Fork 0

nvim: add Cargo.toml as project root marker

This commit is contained in:
tastytea 2023-06-29 21:30:27 +02:00
parent 9c64eb30a9
commit f9543edd9f
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,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', '.luarc.json', '.editorconfig'
'.projectile', '.luarc.json', '.editorconfig', 'Cargo.toml'
}
function M.get_project_root()