summaryrefslogtreecommitdiffstats
path: root/ftplugin/mlir.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-03-10 17:22:05 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-03-10 17:22:05 +0100
commiteda351ca897ca0270ed8b01798af3679914683a1 (patch)
tree5340822acd25ecd12063f08b1e6d0bed4a891a82 /ftplugin/mlir.vim
parentcc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef (diff)
downloadvim-polyglot-eda351ca897ca0270ed8b01798af3679914683a1.tar.gz
vim-polyglot-eda351ca897ca0270ed8b01798af3679914683a1.zip
Update
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+=://