summaryrefslogtreecommitdiff
path: root/uvim/runtime/syntax/gitattributes.vim
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-03 22:21:25 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-04 00:23:03 +0300
commit2eae5db069dc171f74cd863487655f6a88e5384d (patch)
tree2d9d05e09978a2a44acbfbb8d651f240df3ca052 /uvim/runtime/syntax/gitattributes.vim
parent473d922faed49241a5d29d9e37dc4819cd512006 (diff)
downloadProject-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.tar.gz
Project-Tick-2eae5db069dc171f74cd863487655f6a88e5384d.zip
NOISSUE rebrand vim to MNV's not Vim
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'uvim/runtime/syntax/gitattributes.vim')
-rw-r--r--uvim/runtime/syntax/gitattributes.vim63
1 files changed, 0 insertions, 63 deletions
diff --git a/uvim/runtime/syntax/gitattributes.vim b/uvim/runtime/syntax/gitattributes.vim
deleted file mode 100644
index b6d997f45d..0000000000
--- a/uvim/runtime/syntax/gitattributes.vim
+++ /dev/null
@@ -1,63 +0,0 @@
-" Vim syntax file
-" Language: git attributes
-" Maintainer: ObserverOfTime <chronobserver@disroot.org>
-" Filenames: .gitattributes, *.git/info/attributes
-" Last Change: 2022 Sep 09
-
-if exists('b:current_syntax')
- finish
-endif
-
-let s:cpo_save = &cpoptions
-set cpoptions&vim
-
-" Comment
-syn keyword gitattributesTodo contained TODO FIXME XXX
-syn match gitattributesComment /^\s*#.*/ contains=gitattributesTodo
-
-" Pattern
-syn match gitattributesPattern /^\s*#\@!\(".\+"\|\S\+\)/ skipwhite
- \ nextgroup=gitattributesAttrPrefixed,gitattributesAttrAssigned skipwhite
- \ contains=gitattributesGlob,gitattributesRange,gitattributesSeparator
-syn match gitattributesGlob /\\\@1<![?*]/ contained
-syn match gitattributesRange /\\\@1<!\[.\{-}\]/ contained
-syn match gitattributesSeparator '/' contained
-
-" Attribute
-syn match gitattributesAttrPrefixed /[!-]\?[A-Za-z0-9_.][-A-Za-z0-9_.]*/
- \ transparent contained skipwhite
- \ nextgroup=gitattributesAttrPrefixed,gitattributesAttrAssigned
- \ contains=gitattributesPrefix,gitattributesName
-syn match gitattributesAttrAssigned /[A-Za-z0-9_.][-A-Za-z0-9_.]*=\S\+/
- \ transparent contained skipwhite
- \ nextgroup=gitattributesAttrPrefixed,gitattributesAttrAssigned
- \ contains=gitattributesName,gitattributesAssign,gitattributesBoolean,gitattributesString
-syn match gitattributesName /[A-Za-z0-9_.][-A-Za-z0-9_.]*/
- \ contained nextgroup=gitattributesAssign
-syn match gitattributesPrefix /[!-]/ contained
- \ nextgroup=gitAttributesName
-syn match gitattributesAssign '=' contained
- \ nextgroup=gitattributesBoolean,gitattributesString
-syn match gitattributesString /=\@1<=\S\+/ contained
-syn keyword gitattributesBoolean true false contained
-
-" Macro
-syn match gitattributesMacro /^\s*\[attr\]\s*\S\+/
- \ nextgroup=gitattributesAttribute skipwhite
-
-hi def link gitattributesAssign Operator
-hi def link gitattributesBoolean Boolean
-hi def link gitattributesComment Comment
-hi def link gitattributesGlob Special
-hi def link gitattributesMacro Define
-hi def link gitattributesName Identifier
-hi def link gitattributesPrefix SpecialChar
-hi def link gitattributesRange Special
-hi def link gitattributesSeparator Delimiter
-hi def link gitattributesString String
-hi def link gitattributesTodo Todo
-
-let b:current_syntax = 'gitattributes'
-
-let &cpoptions = s:cpo_save
-unlet s:cpo_save