vim: Create ftdetect for arm + auto plugin loading

This commit is contained in:
2020-12-24 02:42:54 +01:00
parent 7c6909c0bf
commit d9971b7672
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1 @@
autocmd BufNewFile,BufRead *.s,*.S set filetype=arm

View File

@@ -0,0 +1 @@
../opt/arm-syntax-vim/

View File

@@ -2,8 +2,6 @@
" Load all plugins in pack/*/start
packloadall
" ARM assembly syntax highlighting
autocmd BufNewFile,BufRead *.s,*.S packadd! arm-syntax-vim | set filetype=arm
" Auto completion
" needs vim >= 8.1.1719 to support features like popup and text property.
if (has('patch-8.1.1719') || has('nvim'))