From f78c8dc20bb39fe721caceff3f3f0f4a1fa21c3f Mon Sep 17 00:00:00 2001 From: Xavier Valarino Date: Thu, 25 Aug 2016 16:29:18 -0700 Subject: [PATCH] Ignore multi-line comments in CSS Adds CSS to the list of languages with C style syntax. Fixes Issue #14 --- plugin/detectindent.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/detectindent.vim b/plugin/detectindent.vim index d903948..0fe2288 100644 --- a/plugin/detectindent.vim +++ b/plugin/detectindent.vim @@ -32,7 +32,7 @@ if !exists('g:detectindent_verbosity') endif fun! HasCStyleComments() - return index(["c", "cpp", "java", "javascript", "php", "vala"], &ft) != -1 + return index(["c", "cpp", "java", "javascript", "php", "vala", "css"], &ft) != -1 endfun fun! IsCommentStart(line)