diff options
Diffstat (limited to 'vimrc-common')
-rw-r--r-- | vimrc-common | 3 |
1 files changed, 1 insertions, 2 deletions
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 | |||
25 | "======================================================================================================================= | 25 | "======================================================================================================================= |
26 | " PATH -- where to search for includes (e.g. `gf` or `:find`) | 26 | " PATH -- where to search for includes (e.g. `gf` or `:find`) |
27 | "======================================================================================================================= | 27 | "======================================================================================================================= |
28 | set path+=** | " allow recursive searches for files | 28 | set path+=**4 | " allow recursive searches for files (limit depth by 4) |
29 | let &path = &path.",/usr/lib/modules/".substitute(system('uname -r'), "\n", "", "")."/build/include" | " TODO: could fail under windows (no uname) | 29 | let &path = &path.",/usr/lib/modules/".substitute(system('uname -r'), "\n", "", "")."/build/include" | " TODO: could fail under windows (no uname) |
30 | 30 | ||
31 | |||
32 | "======================================================================================================================= | 31 | "======================================================================================================================= |
33 | " SPELL_CHECKING: | 32 | " SPELL_CHECKING: |
34 | "======================================================================================================================= | 33 | "======================================================================================================================= |