Merge pull request #300 from dmitmel/master

[pull] master from dmitmel:master
This commit is contained in:
pull[bot] 2021-06-28 10:21:58 +00:00 committed by GitHub
commit f57de72142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

@ -419,3 +419,9 @@
hi! link zshFunction Function
hi! link zshVariable Variable
" }}}
" Assembly {{{
hi! def link riscvRegister Variable
hi! def link riscvCSRegister Special
hi! def link riscvLabel Function
" }}}

View file

@ -60,6 +60,7 @@
Plug 'sheerun/vim-polyglot'
Plug 'chikamichi/mediawiki.vim'
Plug 'ron-rs/ron.vim'
Plug 'kylelaker/riscv.vim'
if g:vim_ide
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
Plug 'dag/vim2hs'

View file

@ -272,9 +272,11 @@ set commentstring=//%s
" Make an alias for the comment text object
omap <silent> gc ac
let g:tcomment#ignore_comment_def = ['asm']
let g:tcomment#commentstring_c = '// %s'
call tcomment#type#Define('asm', '# %s')
call tcomment#type#Define('riscv', '# %s')
" }}}