Remove pattern for nvim init
This commit is contained in:
parent
213e416461
commit
954f91a4ef
@ -184,7 +184,6 @@ lua <<EOF
|
|||||||
-- Per-Project Bindings /////////////////////////////////////////////////////////////////////////////
|
-- Per-Project Bindings /////////////////////////////////////////////////////////////////////////////
|
||||||
-- Automatically load project file on buffer enter
|
-- Automatically load project file on buffer enter
|
||||||
vim.api.nvim_create_autocmd({"BufEnter"}, {
|
vim.api.nvim_create_autocmd({"BufEnter"}, {
|
||||||
pattern = {"*.c", "*.h"},
|
|
||||||
callback = function(ev)
|
callback = function(ev)
|
||||||
local project_file = vim.fn.expand('%:p:h') .. '/project_nvim.lua'
|
local project_file = vim.fn.expand('%:p:h') .. '/project_nvim.lua'
|
||||||
if vim.fn.filereadable(project_file) == 1 then
|
if vim.fn.filereadable(project_file) == 1 then
|
||||||
|
Loading…
Reference in New Issue
Block a user