dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5c33c19da94ebbb18ecbeea8af6d24f05f9b6a88
parent bcdf577e78c220994aaafbb13a42a8012c0f07a2
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 14 Sep 2020 12:26:43 +0200

vim: c ftplugin suffixesadd

Former-commit-id: 0145758e8d7410389e7e459ae1cbab6a6e2f28f4
Diffstat:
Mvim/after/ftplugin/c.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vim/after/ftplugin/c.vim b/vim/after/ftplugin/c.vim @@ -4,6 +4,7 @@ endif let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '') let b:undo_ftplugin .= 'nmapc <buffer>' setlocal path+=/usr/include,/usr/local/include,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include,/usr/lib,/usr/local/Cellar/gcc*/**/include/** +setlocal suffixesadd+=.c,.h let &l:include='^\s*#\s*include\s*["<]\zs.*\ze[>"]' setlocal includeexpr= let &l:define='\v^\s*(#\s*define)|((const )?(int|char|void|s?size_t) \*? ?)|(struct \ze\k+ \{)|(struct \k+ \ze\k+;)'