nvim: add .clang-format as root marker
This commit is contained in:
parent
1c361ebb4a
commit
3fe567a463
|
@ -15,6 +15,8 @@ packer.use {
|
||||||
vim.g.ctrlp_map = '<C-P>'
|
vim.g.ctrlp_map = '<C-P>'
|
||||||
vim.g.ctrlp_cmd = 'CtrlP'
|
vim.g.ctrlp_cmd = 'CtrlP'
|
||||||
map('n', '<Leader><S-b>', ':CtrlPMRUFiles<cr>')
|
map('n', '<Leader><S-b>', ':CtrlPMRUFiles<cr>')
|
||||||
vim.g.ctrlp_root_markers = { '.project', '.luarc.json' }
|
vim.g.ctrlp_root_markers = {
|
||||||
|
'.projectile', '.luarc.json', '.clang-format'
|
||||||
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user