vim: Add arm syntax highlighting

This commit is contained in:
2020-12-05 01:18:47 +01:00
parent d68f6e4e34
commit b7d9bd6d9d
3 changed files with 9 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ let g:surround_no_mappings = 1
packadd! vim-surround
source $XDG_CONFIG_HOME/vim/vim-surround.vim
packadd! arm-syntax-vim
" Settings #####################################################################
" hybrid linenumbers
set number relativenumber
@@ -259,5 +261,8 @@ else
endif
endif
" ARM assembly syntax highlighting
au BufNewFile,BufRead *.s,*.S set filetype=arm
" Load filetype plugins
filetype plugin indent on

3
.gitmodules vendored
View File

@@ -61,3 +61,6 @@
[submodule ".config/vim/pack/plugins/opt/vimtex"]
path = .config/vim/pack/plugins/opt/vimtex
url = https://github.com/lervag/vimtex
[submodule ".config/vim/pack/plugins/opt/arm-syntax-vim"]
path = .config/vim/pack/plugins/opt/arm-syntax-vim
url = https://github.com/ARM9/arm-syntax-vim