From 3fe567a4635bf596402d2ca8a412acb44952d68e Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 13 Aug 2022 00:14:51 +0200 Subject: [PATCH] nvim: add .clang-format as root marker --- .config/nvim/lua/my/ui.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/my/ui.lua b/.config/nvim/lua/my/ui.lua index 756f2f3..08a4fb3 100644 --- a/.config/nvim/lua/my/ui.lua +++ b/.config/nvim/lua/my/ui.lua @@ -15,6 +15,8 @@ packer.use { vim.g.ctrlp_map = '' vim.g.ctrlp_cmd = 'CtrlP' map('n', '', ':CtrlPMRUFiles') - vim.g.ctrlp_root_markers = { '.project', '.luarc.json' } + vim.g.ctrlp_root_markers = { + '.projectile', '.luarc.json', '.clang-format' + } end }