diff options
author | Max Christian Pohle | 2023-01-27 14:42:44 +0100 |
---|---|---|
committer | Max Christian Pohle | 2023-01-27 14:42:44 +0100 |
commit | 811187fedac2596dbe0c690ed8bec48a76a19968 (patch) | |
tree | 1dd3c74e817eeaf0b0094b7b2f1f2e6033fb1b36 /vimrc-common | |
parent | 5ec73d44d6eddb9491311f633f4be6ef609768b6 (diff) | |
download | vim-811187fedac2596dbe0c690ed8bec48a76a19968.tar.bz2 vim-811187fedac2596dbe0c690ed8bec48a76a19968.zip |
minor improvements
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 | "======================================================================================================================= |