diff options
author | Matthias Braun <matze@braunis.de> | 2015-04-21 01:35:42 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-04-21 01:35:42 +0000 |
commit | 2718fb1d69fbba728ac636032432811aceb098d6 (patch) | |
tree | 7fff466b8b3e30a061e75e57cba0941f3484c460 /llvm/utils/vim/ftplugin/tablegen.vim | |
parent | 7091c2ca3ff63acd4671d92eedb075a100eea9b2 (diff) | |
download | bcm5719-llvm-2718fb1d69fbba728ac636032432811aceb098d6.tar.gz bcm5719-llvm-2718fb1d69fbba728ac636032432811aceb098d6.zip |
Enhanced vim support.
This brings the utils/vim folder into a more vim-like format by moving
the syntax hightlighting files into a syntax subdirectory. It adds
some minimal settings that everyone should agree on to ftdetect/ftplugin and
features a new indentation plugin for .ll files.
llvm-svn: 235369
Diffstat (limited to 'llvm/utils/vim/ftplugin/tablegen.vim')
-rw-r--r-- | llvm/utils/vim/ftplugin/tablegen.vim | 12 |
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 |