Compare commits

..

2 Commits

Author SHA1 Message Date
eaa475b08e Подсветка для LyX 2022-06-17 13:39:24 +03:00
176d2b15db gitignore 2022-06-17 13:39:11 +03:00
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.netrwhist .netrwhist
plugged plugged
spell/ru.utf-8.add.spl spell/ru.utf-8.add.spl
autoload/plug.vim.old

17
syntax/lyx.vim Normal file
View File

@ -0,0 +1,17 @@
syntax clear
syntax keyword lyxCommand \\layout
syntax keyword lyxCommand \\the_end
syntax keyword lyxKey LatexCommand ERT Graphics Float FloatList
syntax keyword lyxKey status Open Closed
syntax keyword lyxKey wide collapsed
syntax keyword lyxBinary true false
syntax keyword lyxBinary Open Close
syntax region lyxInset start=/\\begin_inset/ end=/\\end_inset/ contains=ALL fold
syntax region lyxString start=/"/ end=/"/
highlight link lyxCommand Keyword
highlight link lyxKey Keyword
highlight link lyxString String
highlight link lyxInset Comment
highlight link lyxBinary Boolean