From f62e5cd6b94a6037d7b88892380ccb36775e79ee Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 17 Aug 2022 20:07:39 +0200 Subject: [PATCH] nvim: fix project_root_markers --- .config/nvim/lua/my/functions.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/nvim/lua/my/functions.lua b/.config/nvim/lua/my/functions.lua index 2220701..f141b05 100644 --- a/.config/nvim/lua/my/functions.lua +++ b/.config/nvim/lua/my/functions.lua @@ -70,8 +70,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', '.clang-format', '.luarc.json', '.editorconfig', - 'Makefile', 'CMakeLists.txt', 'package.json' + '.projectile', '.clang-format', '.luarc.json', '.editorconfig' } function M.get_project_root()