mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 20:13:51 -05:00
Update
This commit is contained in:
5
build
5
build
@@ -780,7 +780,10 @@ def download
|
|||||||
end
|
end
|
||||||
|
|
||||||
$i = 0
|
$i = 0
|
||||||
LYRICS = "Never gonna give you up. Never gonna let you down. Never gonna run around and desert you. Never gonna make you cry. Never gonna say goodbye. Never gonna tell a lie and hurt you....."
|
LYRICS = "Never gonna give you up. Never gonna let you down. " +
|
||||||
|
"Never gonna run around and desert you. " +
|
||||||
|
"Never gonna make you cry. Never gonna say goodbye. " +
|
||||||
|
"Never gonna tell a lie and hurt you."
|
||||||
|
|
||||||
$mutex = Mutex.new
|
$mutex = Mutex.new
|
||||||
def progress
|
def progress
|
||||||
|
|||||||
@@ -843,12 +843,11 @@ func! HtmlIndent_FindTagStart(lnum)
|
|||||||
" - a flag indicating whether we found the end of a tag.
|
" - a flag indicating whether we found the end of a tag.
|
||||||
" This method is global so that HTML-like indenters can use it.
|
" This method is global so that HTML-like indenters can use it.
|
||||||
" To avoid matching " > " or " < " inside a string require that the opening
|
" To avoid matching " > " or " < " inside a string require that the opening
|
||||||
" "<" is followed by a word character and the closing ">" comes after a
|
" "<" is followed by a word character
|
||||||
" non-white character.
|
|
||||||
let idx = match(getline(a:lnum), '\S>\s*$')
|
let idx = match(getline(a:lnum), '\S>\s*$')
|
||||||
if idx > 0
|
if idx > 0
|
||||||
call cursor(a:lnum, idx)
|
call cursor(a:lnum, idx)
|
||||||
let lnum = searchpair('<\w', '' , '\S>', 'bW', '', max([a:lnum - b:html_indent_line_limit, 0]))
|
let lnum = searchpair('<\w', '' , '>', 'bW', '', max([a:lnum - b:html_indent_line_limit, 0]))
|
||||||
if lnum > 0
|
if lnum > 0
|
||||||
return [lnum, 1]
|
return [lnum, 1]
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'log') == -1
|
|||||||
" Vim syntax file
|
" Vim syntax file
|
||||||
" Language: Generic log file
|
" Language: Generic log file
|
||||||
" Maintainer: MTDL9 <https://github.com/MTDL9>
|
" Maintainer: MTDL9 <https://github.com/MTDL9>
|
||||||
" Latest Revision: 2019-11-24
|
" Latest Revision: 2020-08-23
|
||||||
|
|
||||||
if exists('b:current_syntax')
|
if exists('b:current_syntax')
|
||||||
finish
|
finish
|
||||||
@@ -15,7 +15,7 @@ set cpoptions&vim
|
|||||||
|
|
||||||
" Operators
|
" Operators
|
||||||
"---------------------------------------------------------------------------
|
"---------------------------------------------------------------------------
|
||||||
syn match logOperator display '[;,\?\:\.\<=\>\~\/\@\&\!$\%\&\+\-\|\^(){}\*#]'
|
syn match logOperator display '[;,\?\:\.\<=\>\~\/\@\!$\%&\+\-\|\^(){}\*#]'
|
||||||
syn match logBrackets display '[\[\]]'
|
syn match logBrackets display '[\[\]]'
|
||||||
syn match logEmptyLines display '-\{3,}'
|
syn match logEmptyLines display '-\{3,}'
|
||||||
syn match logEmptyLines display '\*\{3,}'
|
syn match logEmptyLines display '\*\{3,}'
|
||||||
@@ -87,7 +87,7 @@ syn match logXmlAttribute contained "\(\n\|\s\)\(\(\w\|-\)\+:\)\?\(\w\|-\)\+\
|
|||||||
syn match logXmlNamespace contained "\(\w\|-\)\+:" contains=logOperator
|
syn match logXmlNamespace contained "\(\w\|-\)\+:" contains=logOperator
|
||||||
syn region logXmlComment start=/<!--/ end=/-->/
|
syn region logXmlComment start=/<!--/ end=/-->/
|
||||||
syn match logXmlCData /<!\[CDATA\[.*\]\]>/
|
syn match logXmlCData /<!\[CDATA\[.*\]\]>/
|
||||||
syn match logXmlEntity /\&\w\+;/
|
syn match logXmlEntity /&#\?\w\+;/
|
||||||
|
|
||||||
|
|
||||||
" Levels
|
" Levels
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ endfunction
|
|||||||
com! -nargs=* SynFold call s:run_syntax_fold(<q-args>)
|
com! -nargs=* SynFold call s:run_syntax_fold(<q-args>)
|
||||||
|
|
||||||
" Not-Top Cluster {{{1
|
" Not-Top Cluster {{{1
|
||||||
syn cluster rubyNotTop contains=@rubyCommentNotTop,@rubyStringNotTop,@rubyRegexpSpecial,@rubyDeclaration,@rubyExceptionHandler,@rubyClassOperator,rubyConditional,rubyModuleName,rubyClassName,rubySymbolDelimiter,rubyParentheses
|
syn cluster rubyNotTop contains=@rubyCommentNotTop,@rubyStringNotTop,@rubyRegexpSpecial,@rubyDeclaration,@rubyExceptionHandler,@rubyClassOperator,rubyConditional,rubyModuleName,rubyClassName,rubySymbolDelimiter,rubyParentheses,@Spell
|
||||||
|
|
||||||
" Whitespace Errors {{{1
|
" Whitespace Errors {{{1
|
||||||
if exists("ruby_space_errors")
|
if exists("ruby_space_errors")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
|
||||||
|
|
||||||
" Language: tmux(1) configuration file
|
" Language: tmux(1) configuration file
|
||||||
" Version: before-OpenBSD-lock (git-53c84fd4)
|
" Version: 3.1b (git-769ae106)
|
||||||
" URL: https://github.com/ericpruitt/tmux.vim/
|
" URL: https://github.com/ericpruitt/tmux.vim/
|
||||||
" Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
|
" Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
|
||||||
" License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
|
" License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
|
||||||
@@ -32,10 +32,10 @@ syn match tmuxVariable /\w\+=/ display
|
|||||||
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display
|
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display
|
||||||
syn match tmuxControl /%\(if\|elif\|else\|endif\)/
|
syn match tmuxControl /%\(if\|elif\|else\|endif\)/
|
||||||
|
|
||||||
syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
|
syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo,@Spell
|
||||||
|
|
||||||
syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString
|
syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString,@Spell
|
||||||
syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString
|
syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString,@Spell
|
||||||
|
|
||||||
" TODO: Figure out how escaping works inside of #(...) and #{...} blocks.
|
" TODO: Figure out how escaping works inside of #(...) and #{...} blocks.
|
||||||
syn region tmuxFormatString start=/#[#DFhHIPSTW]/ end=// contained keepend
|
syn region tmuxFormatString start=/#[#DFhHIPSTW]/ end=// contained keepend
|
||||||
|
|||||||
Reference in New Issue
Block a user