nvim: add Cargo.toml as project root marker
This commit is contained in:
parent
9c64eb30a9
commit
f9543edd9f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user