summaryrefslogtreecommitdiffstats
path: root/syntax/texmf.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-09-28 22:18:09 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2017-09-28 22:18:09 +0200
commit27903c5b8656c796564ef073c1ebe77a2f0154e1 (patch)
tree2b0a3a14494d7976fb79a7517706e25d2a95d080 /syntax/texmf.vim
parentd5e38fa97bc50a93a66473d6cd7072fbcbadda57 (diff)
downloadvim-polyglot-3.0.0.tar.gz
vim-polyglot-3.0.0.zip
Revert inlining basic language packv3.0.0
Diffstat (limited to 'syntax/texmf.vim')
-rw-r--r--syntax/texmf.vim78
1 files changed, 0 insertions, 78 deletions
diff --git a/syntax/texmf.vim b/syntax/texmf.vim
deleted file mode 100644
index 78da1393..00000000
--- a/syntax/texmf.vim
+++ /dev/null
@@ -1,78 +0,0 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
-
-" Vim syntax file
-" This is a GENERATED FILE. Please always refer to source file at the URI below.
-" Language: Web2C TeX texmf.cnf configuration file
-" Maintainer: David Ne\v{c}as (Yeti) <yeti@physics.muni.cz>
-" Last Change: 2001-05-13
-" URL: http://physics.muni.cz/~yeti/download/syntax/texmf.vim
-
-" Setup
-" quit when a syntax file was already loaded
-if exists("b:current_syntax")
- finish
-endif
-
-syn case match
-
-" Comments
-syn match texmfComment "%..\+$" contains=texmfTodo
-syn match texmfComment "%\s*$" contains=texmfTodo
-syn keyword texmfTodo TODO FIXME XXX NOT contained
-
-" Constants and parameters
-syn match texmfPassedParameter "[-+]\=%\w\W"
-syn match texmfPassedParameter "[-+]\=%\w$"
-syn match texmfNumber "\<\d\+\>"
-syn match texmfVariable "\$\(\w\k*\|{\w\k*}\)"
-syn match texmfSpecial +\\"\|\\$+
-syn region texmfString start=+"+ end=+"+ skip=+\\"\\\\+ contains=texmfVariable,texmfSpecial,texmfPassedParameter
-
-" Assignments
-syn match texmfLHSStart "^\s*\w\k*" nextgroup=texmfLHSDot,texmfEquals
-syn match texmfLHSVariable "\w\k*" contained nextgroup=texmfLHSDot,texmfEquals
-syn match texmfLHSDot "\." contained nextgroup=texmfLHSVariable
-syn match texmfEquals "\s*=" contained
-
-" Specialities
-syn match texmfComma "," contained
-syn match texmfColons ":\|;"
-syn match texmfDoubleExclam "!!" contained
-
-" Catch errors caused by wrong parenthesization
-syn region texmfBrace matchgroup=texmfBraceBrace start="{" end="}" contains=ALLBUT,texmfTodo,texmfBraceError,texmfLHSVariable,texmfLHSDot transparent
-syn match texmfBraceError "}"
-
-" Define the default highlighting
-
-hi def link texmfComment Comment
-hi def link texmfTodo Todo
-
-hi def link texmfPassedParameter texmfVariable
-hi def link texmfVariable Identifier
-
-hi def link texmfNumber Number
-hi def link texmfString String
-
-hi def link texmfLHSStart texmfLHS
-hi def link texmfLHSVariable texmfLHS
-hi def link texmfLHSDot texmfLHS
-hi def link texmfLHS Type
-
-hi def link texmfEquals Normal
-
-hi def link texmfBraceBrace texmfDelimiter
-hi def link texmfComma texmfDelimiter
-hi def link texmfColons texmfDelimiter
-hi def link texmfDelimiter Preproc
-
-hi def link texmfDoubleExclam Statement
-hi def link texmfSpecial Special
-
-hi def link texmfBraceError texmfError
-hi def link texmfError Error
-
-
-let b:current_syntax = "texmf"
-
-endif