Remove pattern for nvim init

This commit is contained in:
doylet 2024-07-04 22:11:28 +10:00
parent 213e416461
commit 954f91a4ef

View File

@ -184,7 +184,6 @@ lua <<EOF
-- Per-Project Bindings /////////////////////////////////////////////////////////////////////////////
-- Automatically load project file on buffer enter
vim.api.nvim_create_autocmd({"BufEnter"}, {
pattern = {"*.c", "*.h"},
callback = function(ev)
local project_file = vim.fn.expand('%:p:h') .. '/project_nvim.lua'
if vim.fn.filereadable(project_file) == 1 then