summaryrefslogtreecommitdiffstats
path: root/ftplugin/mlir.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/mlir.vim')
-rw-r--r--ftplugin/mlir.vim16
1 files changed, 16 insertions, 0 deletions
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('<sfile>: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+=://