From ccb2a67d464c4c4de1cd7774214064d77e878610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 15 Oct 2022 14:54:38 +0200 Subject: [PATCH] Added the mikrotik syntax colors --- .config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a79a4c5..8b7f280 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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