From eda351ca897ca0270ed8b01798af3679914683a1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 10 Mar 2021 17:22:05 +0100 Subject: Update --- ftplugin/mlir.vim | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ftplugin/mlir.vim (limited to 'ftplugin/mlir.vim') diff --git a/ftplugin/mlir.vim b/ftplugin/mlir.vim new file mode 100644 index 00000000..baedaee4 --- /dev/null +++ b/ftplugin/mlir.vim @@ -0,0 +1,16 @@ +if polyglot#init#is_disabled(expand(':p'), 'llvm', 'ftplugin/mlir.vim') + finish +endif + +" Vim filetype plugin file +" Language: MLIR Assembly +" Maintainer: The MLIR team + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal softtabstop=2 shiftwidth=2 +setlocal expandtab +setlocal comments+=:// -- cgit v1.2.3