Репозитории ALT
Группа :: Редакторы
Пакет: vim-plugin-std_c-syntax
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: vim-plugin-std_c-syntax-12.5-alt1.patch
Скачать
Скачать
syntax/c.vim | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/syntax/c.vim b/syntax/c.vim
index 8a7b51b..98b6e12 100644
--- a/syntax/c.vim
+++ b/syntax/c.vim
@@ -142,6 +142,11 @@
" 2. Fix macro continuation \ highlighting within parens
"
+" Disabled by default
+if !exists("use_std_c_syntax")
+ finish
+endif
+
" Catch sourcing of c.vim by other syntax files and redirect to default file.
if &syntax != 'c'
source $VIMRUNTIME/syntax/c.vim