summaryrefslogtreecommitdiffstats
path: root/llvm/utils/vim/ftplugin/tablegen.vim
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/vim/ftplugin/tablegen.vim')
-rw-r--r--llvm/utils/vim/ftplugin/tablegen.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/utils/vim/ftplugin/tablegen.vim b/llvm/utils/vim/ftplugin/tablegen.vim
new file mode 100644
index 00000000000..cfae846c818
--- /dev/null
+++ b/llvm/utils/vim/ftplugin/tablegen.vim
@@ -0,0 +1,12 @@
+" Vim filetype plugin file
+" Language: LLVM TableGen
+" Maintainer: The LLVM team, http://llvm.org/
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal matchpairs+=<:>
+setlocal softtabstop=2 shiftwidth=2
+setlocal expandtab
OpenPOWER on IntegriCloud