Added the mikrotik syntax colors

This commit is contained in:
Marcin Woźniak 2022-10-15 14:54:38 +02:00
parent 96dfb38bba
commit ccb2a67d46
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -153,6 +153,7 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'kyazdani42/nvim-tree.lua'
Plug 'z0mbix/vim-shfmt', { 'for': 'sh' }
Plug 'zainin/vim-mikrotik'
call plug#end()
" LUA
@ -600,6 +601,9 @@ autocmd BufWritePre *.go lua go_org_imports()
" Conf
au BufNewFile,BufRead *.conf setfiletype conf
" Mikrotik
au BufNewFile,BufRead *.mikrotik setfiletype routeros
" Automatically deletes all trailing whitespace and newlines at end of file on save.
autocmd BufWritePre * %s/\s\+$//e
autocmd BufWritepre * %s/\n\+\%$//e