mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 07:01:36 +01:00
added codition to only highlight .dia files
This commit is contained in:
4
vim/rc
4
vim/rc
@@ -91,7 +91,7 @@ nnoremap l $
|
||||
"general use
|
||||
inoremap jk <esc>
|
||||
nnoremap U CTRL-r
|
||||
nnoremap <F4> :nohlsearch<CR>
|
||||
nnoremap <F8> :nohlsearch<CR>
|
||||
"u is normal undo
|
||||
|
||||
"inoremap <esc> <nop>
|
||||
@@ -104,7 +104,7 @@ nnoremap <leader>s :mksession<CR>
|
||||
"save session, resume with vim -S
|
||||
|
||||
"highlighting for .dia
|
||||
if 1 == 1
|
||||
if @% =~ ".*.dia"
|
||||
syntax match nodeID "N.*:"
|
||||
syntax match leaveID "[A-MO-Z]\+.*:"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user