vim: Create ftdetect for arm + auto plugin loading
This commit is contained in:
1
.config/vim/ftdetect/arm.vim
Normal file
1
.config/vim/ftdetect/arm.vim
Normal file
@@ -0,0 +1 @@
|
||||
autocmd BufNewFile,BufRead *.s,*.S set filetype=arm
|
||||
1
.config/vim/pack/plugins/start/arm-syntax-vim
Symbolic link
1
.config/vim/pack/plugins/start/arm-syntax-vim
Symbolic link
@@ -0,0 +1 @@
|
||||
../opt/arm-syntax-vim/
|
||||
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user