nvim: add .editorconfig to project root detection
This commit is contained in:
parent
647237145c
commit
e618f9511e
@ -94,7 +94,7 @@ function M.get_project_root()
|
||||
local path = vim.api.nvim_buf_get_name(0)
|
||||
local root_markers = {
|
||||
'.git', '.hg', '.svn', '.bzr', '_darcs',
|
||||
'.projectile', '.clang-format', '.luarc.json'
|
||||
'.projectile', '.clang-format', '.luarc.json', '.editorconfig'
|
||||
}
|
||||
local sep = '/'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user