]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/pack/stargrave/start/nonhumanhl/autoload/nonhumanhl.vim
Move to vim9script
[dotfiles.git] / vim / .vim / pack / stargrave / start / nonhumanhl / autoload / nonhumanhl.vim
index c2ac7fc8ae2e4096a289d4d617038d88c3e09ad8..038b8c4592ca91df0e722dcb5cccad546a3c4029 100644 (file)
@@ -1,5 +1,5 @@
-function! nonhumanhl#load()
+vim9script
+export def Load()
     highlight nonhuman ctermbg=blue ctermfg=red
-    autocmd BufReadPost * syntax match nonhuman
-        \ "[^\u0000-\u007Fа-яА-ЯёЁäÄöÖüÜßẞ]" containedin=ALL
-endfunction
+    autocmd BufReadPost * syntax match nonhuman "[^\u0000-\u007Fа-яА-ЯёЁäÄöÖüÜßẞ]" containedin=ALL
+enddef