diff options
author | dv <wdv4758h@gmail.com> | 2019-03-04 18:05:07 +0800 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 11:05:07 +0100 |
commit | 65f090faeff36d9b523196bd96ee7f149c441f63 (patch) | |
tree | 65415f7ea7cdceab937444610272d37ec449056d /ftplugin | |
parent | 58f9b8cd02ecb2a753d418627f57f917f5f748a9 (diff) | |
download | vim-polyglot-65f090faeff36d9b523196bd96ee7f149c441f63.tar.gz vim-polyglot-65f090faeff36d9b523196bd96ee7f149c441f63.zip |
Add LLVM support (#376)
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/llvm.vim | 16 | ||||
-rw-r--r-- | ftplugin/tablegen.vim | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/ftplugin/llvm.vim b/ftplugin/llvm.vim new file mode 100644 index 00000000..0006c288 --- /dev/null +++ b/ftplugin/llvm.vim @@ -0,0 +1,16 @@ +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'llvm') != -1 + finish +endif + +" Vim filetype plugin file +" Language: LLVM Assembly +" Maintainer: The LLVM team, http://llvm.org/ + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +setlocal softtabstop=2 shiftwidth=2 +setlocal expandtab +setlocal comments+=:; diff --git a/ftplugin/tablegen.vim b/ftplugin/tablegen.vim new file mode 100644 index 00000000..94909ef5 --- /dev/null +++ b/ftplugin/tablegen.vim @@ -0,0 +1,16 @@ +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'llvm') != -1 + finish +endif + +" 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 |