ciaranm / detectindent

Vim script for automatically detecting indent settings
173 stars 48 forks source link

Add vala to list of C style languages #19

Closed tom95 closed 9 years ago

tom95 commented 9 years ago

A lot of Vala developers are coming directly from C, so they tend to use a similar comment syntax, one example which broke detectindent:

/*
 * Copyright (C) ...
[...]
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

public class ValaPlugin : Object {
    Vala.CodeContext context;
[...]

It would be great to have this merged in.