summaryrefslogtreecommitdiffstats
path: root/mlir/utils/vim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/utils/vim/ftplugin')
-rw-r--r--mlir/utils/vim/ftplugin/mlir.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/mlir/utils/vim/ftplugin/mlir.vim b/mlir/utils/vim/ftplugin/mlir.vim
new file mode 100644
index 00000000000..83b07f51001
--- /dev/null
+++ b/mlir/utils/vim/ftplugin/mlir.vim
@@ -0,0 +1,12 @@
+" 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+=://
OpenPOWER on IntegriCloud