From 811187fedac2596dbe0c690ed8bec48a76a19968 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 27 Jan 2023 14:42:44 +0100 Subject: minor improvements --- vimrc-common | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vimrc-common') diff --git a/vimrc-common b/vimrc-common index f650dad..c7d450d 100644 --- a/vimrc-common +++ b/vimrc-common @@ -25,10 +25,9 @@ set hlsearch incsearch | " highlight pattern while entering i "======================================================================================================================= " PATH -- where to search for includes (e.g. `gf` or `:find`) "======================================================================================================================= -set path+=** | " allow recursive searches for files +set path+=**4 | " allow recursive searches for files (limit depth by 4) let &path = &path.",/usr/lib/modules/".substitute(system('uname -r'), "\n", "", "")."/build/include" | " TODO: could fail under windows (no uname) - "======================================================================================================================= " SPELL_CHECKING: "======================================================================================================================= -- cgit v1.2.3