nvim: add .clang-format as root marker

This commit is contained in:
tastytea 2022-08-13 00:14:51 +02:00
parent 1c361ebb4a
commit 3fe567a463
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -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
} }