forked from aniani/vim
Update runtime files
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
" License: VIM License
|
||||
" Maintainer: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
|
||||
" Liam Beguin <liambeguin@gmail.com>
|
||||
" Last Change: 2021 Aug 16
|
||||
" Last Change: 2023 May 27
|
||||
" Credits: Zvezdan Petkovic <zpetkovic@acm.org>
|
||||
" Neil Schemenauer <nas@meson.ca>
|
||||
" Dmitry Vasiliev
|
||||
@@ -68,6 +68,7 @@ syn keyword mesonBuiltin
|
||||
\ add_global_link_arguments
|
||||
\ add_languages
|
||||
\ add_project_arguments
|
||||
\ add_project_dependencies
|
||||
\ add_project_link_arguments
|
||||
\ add_test_setup
|
||||
\ alias_target
|
||||
@@ -99,6 +100,7 @@ syn keyword mesonBuiltin
|
||||
\ install_headers
|
||||
\ install_man
|
||||
\ install_subdir
|
||||
\ install_symlink
|
||||
\ install_emptydir
|
||||
\ is_disabler
|
||||
\ is_variable
|
||||
@@ -115,6 +117,7 @@ syn keyword mesonBuiltin
|
||||
\ shared_library
|
||||
\ shared_module
|
||||
\ static_library
|
||||
\ structured_sources
|
||||
\ subdir
|
||||
\ subdir_done
|
||||
\ subproject
|
||||
@@ -125,6 +128,7 @@ syn keyword mesonBuiltin
|
||||
\ vcs_tag
|
||||
\ warning
|
||||
\ range
|
||||
\ debug
|
||||
|
||||
if exists("meson_space_error_highlight")
|
||||
" trailing whitespace
|
||||
@@ -146,7 +150,7 @@ hi def link mesonEscape Special
|
||||
hi def link mesonNumber Number
|
||||
hi def link mesonBuiltin Function
|
||||
hi def link mesonBoolean Boolean
|
||||
if exists("meson_space_error_higlight")
|
||||
if exists("meson_space_error_highlight")
|
||||
hi def link mesonSpaceError Error
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Structurizr DSL
|
||||
" Maintainer: Bastian Venthur <venthur@debian.org>
|
||||
" Last Change: 2022-02-15
|
||||
" Last Change: 2022-05-22
|
||||
" Remark: For a language reference, see
|
||||
" https://github.com/structurizr/dsl
|
||||
|
||||
@@ -26,6 +26,7 @@ syn keyword skeyword configuration
|
||||
syn keyword skeyword container
|
||||
syn keyword skeyword containerinstance
|
||||
syn keyword skeyword custom
|
||||
syn keyword skeyword default
|
||||
syn keyword skeyword deployment
|
||||
syn keyword skeyword deploymentenvironment
|
||||
syn keyword skeyword deploymentgroup
|
||||
@@ -40,6 +41,7 @@ syn keyword skeyword group
|
||||
syn keyword skeyword healthcheck
|
||||
syn keyword skeyword include
|
||||
syn keyword skeyword infrastructurenode
|
||||
syn keyword skeyword instances
|
||||
syn keyword skeyword model
|
||||
syn keyword skeyword person
|
||||
syn keyword skeyword perspectives
|
||||
@@ -54,6 +56,7 @@ syn keyword skeyword tags
|
||||
syn keyword skeyword technology
|
||||
syn keyword skeyword terminology
|
||||
syn keyword skeyword theme
|
||||
syn keyword skeyword themes
|
||||
syn keyword skeyword title
|
||||
syn keyword skeyword url
|
||||
syn keyword skeyword users
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
" Language: sway window manager config
|
||||
" Original Author: James Eapen <james.eapen@vai.org>
|
||||
" Maintainer: James Eapen <james.eapen@vai.org>
|
||||
" Version: 0.1.6
|
||||
" Reference version (jamespeapen/swayconfig.vim): 0.11.6
|
||||
" Last Change: 2022 Aug 08
|
||||
" Version: 0.2.1
|
||||
" Reference version (jamespeapen/swayconfig.vim): 0.12.1
|
||||
" Last Change: 2023 Mar 20
|
||||
|
||||
" References:
|
||||
" http://i3wm.org/docs/userguide.html#configuring
|
||||
@@ -58,6 +58,10 @@ syn match swayConfigClientColor /^\s*client.\w\+\s\+.*$/ contains=i3ConfigClient
|
||||
syn keyword swayConfigInputKeyword input contained
|
||||
syn match swayConfigInput /^\s*input\s\+.*$/ contains=swayConfigInputKeyword
|
||||
|
||||
" Seat config
|
||||
syn keyword swayConfigSeatKeyword seat contained
|
||||
syn match swayConfigSeat /^\s*seat\s\+.*$/ contains=swayConfigSeatKeyword
|
||||
|
||||
" set display outputs
|
||||
syn match swayConfigOutput /^\s*output\s\+.*$/ contains=i3ConfigOutput
|
||||
|
||||
@@ -66,6 +70,10 @@ syn keyword swayConfigFocusKeyword focus contained
|
||||
syn keyword swayConfigFocusType output contained
|
||||
syn match swayConfigFocus /^\s*focus\soutput\s.*$/ contains=swayConfigFocusKeyword,swayConfigFocusType
|
||||
|
||||
" mouse warping
|
||||
syn keyword swayConfigMouseWarpingType container contained
|
||||
syn match swayConfigMouseWarping /^\s*mouse_warping\s\+\(output\|container\|none\)\s\?$/ contains=i3ConfigMouseWarpingKeyword,i3ConfigMouseWarpingType,swayConfigMouseWarpingType
|
||||
|
||||
" focus follows mouse
|
||||
syn clear i3ConfigFocusFollowsMouseType
|
||||
syn clear i3ConfigFocusFollowsMouse
|
||||
@@ -80,7 +88,7 @@ syn match swayConfigXwaylandModifier /^\s*xwayland\s\+\(enable\|disable\|force\)
|
||||
|
||||
" Group mode/bar
|
||||
syn clear i3ConfigBlock
|
||||
syn region swayConfigBlock start=+.*s\?{$+ end=+^}$+ contains=i3ConfigBlockKeyword,i3ConfigString,i3ConfigBind,i3ConfigInitializeKeyword,i3ConfigComment,i3ConfigFont,i3ConfigFocusWrappingType,i3ConfigColor,i3ConfigVariable,swayConfigInputKeyword,i3ConfigOutput transparent keepend extend
|
||||
syn region swayConfigBlock start=+.*s\?{$+ end=+^}$+ contains=i3ConfigBlockKeyword,i3ConfigString,i3ConfigBind,i3ConfigInitializeKeyword,i3ConfigComment,i3ConfigFont,i3ConfigFocusWrappingType,i3ConfigColor,i3ConfigVariable,swayConfigInputKeyword,swayConfigSeatKeyword,i3ConfigOutput transparent keepend extend
|
||||
|
||||
"hi def link swayConfigError Error
|
||||
hi def link i3ConfigFloating Error
|
||||
@@ -89,6 +97,8 @@ hi def link swayConfigFloatingMouseAction Type
|
||||
hi def link swayConfigFocusKeyword Type
|
||||
hi def link swayConfigSmartBorderKeyword Type
|
||||
hi def link swayConfigInputKeyword Type
|
||||
hi def link swayConfigSeatKeyword Type
|
||||
hi def link swayConfigMouseWarpingType Type
|
||||
hi def link swayConfigFocusFollowsMouseType Type
|
||||
hi def link swayConfigBindGestureCommand Identifier
|
||||
hi def link swayConfigBindGestureDirection Constant
|
||||
|
||||
14
runtime/syntax/urlshortcut.vim
Normal file
14
runtime/syntax/urlshortcut.vim
Normal file
@@ -0,0 +1,14 @@
|
||||
" Vim syntax file
|
||||
" Language: MS Windows URL shortcut file
|
||||
" Maintainer: ObserverOfTime <chronobserver@disroot.org>
|
||||
" LastChange: 2023-06-04
|
||||
|
||||
" Quit when a syntax file was already loaded.
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Just use the dosini syntax for now
|
||||
runtime! syntax/dosini.vim
|
||||
|
||||
let b:current_syntax = "urlshortcut"
|
||||
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: X Pixmap
|
||||
" Maintainer: Ronald Schild <rs@scutum.de>
|
||||
" Last Change: 2023 May 11
|
||||
" Last Change: 2023 May 24
|
||||
" Version: 5.4n.2
|
||||
" Jemma Nelson added termguicolors support
|
||||
" Dominique Pellé fixed spelling support
|
||||
@@ -42,7 +42,7 @@ def s:CreateSyntax(): void
|
||||
var values = split(s[1 : -2])
|
||||
|
||||
# Values string invalid, bail out
|
||||
if len(values) != 4
|
||||
if len(values) != 4 && len(values) != 6 && len(values) != 7
|
||||
return
|
||||
endif
|
||||
|
||||
@@ -100,8 +100,8 @@ def s:CreateSyntax(): void
|
||||
endif
|
||||
|
||||
# escape meta characters in patterns
|
||||
s = escape(s, '/\*^$.~[] ')
|
||||
chars = escape(chars, '/\*^$.~[] ')
|
||||
s = escape(s, '/\*^$.~[]')
|
||||
chars = escape(chars, '/\*^$.~[]')
|
||||
|
||||
# now create syntax items
|
||||
# highlight the color string as normal string (no pixel string)
|
||||
|
||||
Reference in New Issue
Block a user