Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
swiftgyb.vim25 linesDownload Raw Back to syntax
1" This source file is part of the Swift.org open source project2"3" Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors4" Licensed under Apache License v2.0 with Runtime Library Exception5"6" See https://swift.org/LICENSE.txt for license information7" See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors8"9" Vim syntax file10" Language: gyb on swift11"12" Vim maintainer: Emir SARI <bitigchi@me.com>13 14runtime! syntax/swift.vim15unlet b:current_syntax16 17syn include @Python syntax/python.vim18syn region pythonCode matchgroup=gybPythonCode start=+^ *%+ end=+$+ contains=@Python keepend19syn region pythonCode matchgroup=gybPythonCode start=+%{+ end=+}%+ contains=@Python keepend20syn match gybPythonCode /\${[^}]*}/21hi def link gybPythonCode CursorLineNr22 23let b:current_syntax = "swiftgyb"24 25 
codekingpro/portable-devtools · Team Ai