mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 15:19:12 +08:00
feat(liquid): add liquid template support
This commit is contained in:
parent
862d65c05a
commit
047f213348
28
autoload/SpaceVim/layers/lang/liquid.vim
Normal file
28
autoload/SpaceVim/layers/lang/liquid.vim
Normal file
@ -0,0 +1,28 @@
|
||||
"=============================================================================
|
||||
" liquid.vim --- Liquid template language support for SpaceVim
|
||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||
" URL: https://spacevim.org
|
||||
" License: GPLv3
|
||||
"=============================================================================
|
||||
|
||||
""
|
||||
" @section lang#liquid, layers-lang-liquid
|
||||
" @parentsection layers
|
||||
" This layer provides syntax highlighting for liquid. To enable this
|
||||
" layer:
|
||||
" >
|
||||
" [layers]
|
||||
" name = "lang#liquid"
|
||||
" <
|
||||
|
||||
function! SpaceVim#layers#lang#liquid#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, [g:_spacevim_root_dir . 'bundle/vim-liquid', { 'merged' : 0}])
|
||||
return plugins
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#lang#liquid#health() abort
|
||||
call SpaceVim#layers#lang#liquid#plugins()
|
||||
return 1
|
||||
endfunction
|
5
bundle/README.md
vendored
5
bundle/README.md
vendored
@ -8,6 +8,7 @@ In `bundle/` directory, there are two kinds of plugins: forked plugins without c
|
||||
- [No changed plugins](#no-changed-plugins)
|
||||
- [`lang#ruby` layer](#langruby-layer)
|
||||
- [`lang#python` layer](#langpython-layer)
|
||||
- [`lang#liquid` layer](#langliquid-layer)
|
||||
- [`tmux` layer](#tmux-layer)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
@ -54,6 +55,10 @@ In `bundle/` directory, there are two kinds of plugins: forked plugins without c
|
||||
- [alfredodeza/coveragepy.vim@afcef30](https://github.com/alfredodeza/coveragepy.vim/tree/afcef301b723048c25250d2d539b9473a8e4f747)
|
||||
- [Vimjas/vim-python-pep8-indent@60ba5e](https://github.com/Vimjas/vim-python-pep8-indent/tree/60ba5e11a61618c0344e2db190210145083c91f8)
|
||||
|
||||
#### `lang#liquid` layer
|
||||
|
||||
- [tpope/vim-liquid@fd2f001](https://github.com/tpope/vim-liquid/tree/fd2f0017fbc50f214db2f57c207c34cda3aa1522)
|
||||
|
||||
#### `tmux` layer
|
||||
|
||||
- [christoomey/vim-tmux-navigator@9ca5bfe5b](https://github.com/christoomey/vim-tmux-navigator/tree/9ca5bfe5bd274051b5dd796cc150348afc993b80)
|
||||
|
2
bundle/vim-liquid/.github/FUNDING.yml
vendored
Normal file
2
bundle/vim-liquid/.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
github: tpope
|
||||
custom: ["https://www.paypal.me/vimpope"]
|
16
bundle/vim-liquid/ftdetect/liquid.vim
vendored
Normal file
16
bundle/vim-liquid/ftdetect/liquid.vim
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
" Liquid
|
||||
au BufNewFile,BufRead *.liquid set ft=liquid
|
||||
|
||||
au BufNewFile,BufRead */_layouts/*.html,*/_includes/*.html set ft=liquid
|
||||
au BufNewFile,BufRead *.html,*.xml,*.textile
|
||||
\ if getline(1) == '---' | set ft=liquid | endif
|
||||
au BufNewFile,BufRead *.markdown,*.mkd,*.mkdn,*.md
|
||||
\ if getline(1) == '---' |
|
||||
\ let b:liquid_subtype = 'markdown' |
|
||||
\ set ft=liquid |
|
||||
\ endif
|
||||
|
||||
" Set subtype for Shopify alternate templates
|
||||
au BufNewFile,BufRead */templates/**.liquid,*/layout/**.liquid,*/snippets/**.liquid
|
||||
\ let b:liquid_subtype = 'html' |
|
||||
\ set ft=liquid |
|
61
bundle/vim-liquid/ftplugin/liquid.vim
vendored
Normal file
61
bundle/vim-liquid/ftplugin/liquid.vim
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Liquid
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" Last Change: 2010 May 21
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('g:liquid_default_subtype')
|
||||
let g:liquid_default_subtype = 'html'
|
||||
endif
|
||||
|
||||
if !exists('b:liquid_subtype')
|
||||
let s:lines = getline(1)."\n".getline(2)."\n".getline(3)."\n".getline(4)."\n".getline(5)."\n".getline("$")
|
||||
let b:liquid_subtype = matchstr(s:lines,'liquid_subtype=\zs\w\+')
|
||||
if b:liquid_subtype == ''
|
||||
let b:liquid_subtype = matchstr(&filetype,'^liquid\.\zs\w\+')
|
||||
endif
|
||||
if b:liquid_subtype == ''
|
||||
let b:liquid_subtype = matchstr(substitute(expand('%:t'),'\c\%(\.liquid\)\+$','',''),'\.\zs\w\+$')
|
||||
endif
|
||||
if b:liquid_subtype == ''
|
||||
let b:liquid_subtype = g:liquid_default_subtype
|
||||
endif
|
||||
endif
|
||||
|
||||
if exists('b:liquid_subtype') && b:liquid_subtype != ''
|
||||
exe 'runtime! ftplugin/'.b:liquid_subtype.'.vim ftplugin/'.b:liquid_subtype.'_*.vim ftplugin/'.b:liquid_subtype.'/*.vim'
|
||||
else
|
||||
runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
if exists('b:undo_ftplugin')
|
||||
let b:undo_ftplugin .= '|'
|
||||
else
|
||||
let b:undo_ftplugin = ''
|
||||
endif
|
||||
if exists('b:browsefilter')
|
||||
let b:browsefilter = "\n".b:browsefilter
|
||||
else
|
||||
let b:browsefilter = ''
|
||||
endif
|
||||
if exists('b:match_words')
|
||||
let b:match_words .= ','
|
||||
elseif exists('loaded_matchit')
|
||||
let b:match_words = ''
|
||||
endif
|
||||
|
||||
if has('gui_win32')
|
||||
let b:browsefilter="Liquid Files (*.liquid)\t*.liquid" . b:browsefilter
|
||||
endif
|
||||
|
||||
if exists('loaded_matchit')
|
||||
let b:match_words .= '\<\%(if\w*\|unless\|case\)\>:\<\%(elsif\|else\|when\)\>:\<end\%(if\w*\|unless\|case\)\>,\<\%(for\|tablerow\)\>:\%({%\s*\)\@<=empty\>:\<end\%(for\|tablerow\)\>,\<\(capture\|comment\|highlight\)\>:\<end\1\>'
|
||||
endif
|
||||
|
||||
setlocal commentstring={%\ comment\ %}%s{%\ endcomment\ %}
|
||||
|
||||
let b:undo_ftplugin .= 'setl cms< | unlet! b:browsefilter b:match_words'
|
66
bundle/vim-liquid/indent/liquid.vim
vendored
Normal file
66
bundle/vim-liquid/indent/liquid.vim
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
" Vim indent file
|
||||
" Language: Liquid
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" Last Change: 2017 Jun 13
|
||||
|
||||
if exists('b:did_indent')
|
||||
finish
|
||||
endif
|
||||
|
||||
set indentexpr=
|
||||
if exists('b:liquid_subtype')
|
||||
exe 'runtime! indent/'.b:liquid_subtype.'.vim'
|
||||
else
|
||||
runtime! indent/html.vim
|
||||
endif
|
||||
unlet! b:did_indent
|
||||
|
||||
if &l:indentexpr == ''
|
||||
if &l:cindent
|
||||
let &l:indentexpr = 'cindent(v:lnum)'
|
||||
else
|
||||
let &l:indentexpr = 'indent(prevnonblank(v:lnum-1))'
|
||||
endif
|
||||
endif
|
||||
let b:liquid_subtype_indentexpr = &l:indentexpr
|
||||
|
||||
let b:did_indent = 1
|
||||
|
||||
setlocal indentexpr=GetLiquidIndent()
|
||||
setlocal indentkeys=o,O,*<Return>,<>>,{,},0),0],o,O,!^F,=end,=endif,=endunless,=endifchanged,=endcase,=endfor,=endtablerow,=endcapture,=else,=elsif,=when,=empty
|
||||
|
||||
let b:undo_indent = "setl inde< indk<"
|
||||
|
||||
" Only define the function once.
|
||||
if exists('*GetLiquidIndent')
|
||||
finish
|
||||
endif
|
||||
|
||||
function! s:count(string, pattern) abort
|
||||
let string = substitute(a:string,'\C'.a:pattern,"\n",'g')
|
||||
return strlen(substitute(string,"[^\n]",'','g'))
|
||||
endfunction
|
||||
|
||||
function! GetLiquidIndent(...) abort
|
||||
if a:0 && a:1 == '.'
|
||||
let v:lnum = line('.')
|
||||
elseif a:0 && a:1 =~ '^\d'
|
||||
let v:lnum = a:1
|
||||
endif
|
||||
let vcol = col('.')
|
||||
call cursor(v:lnum,1)
|
||||
exe "let ind = ".b:liquid_subtype_indentexpr
|
||||
let lnum = prevnonblank(v:lnum-1)
|
||||
let line = getline(lnum)
|
||||
let cline = getline(v:lnum)
|
||||
let line = substitute(line,'\C^\%(\s*{%-\=\s*end\w*\s*-\=%}\)\+','','')
|
||||
let line = substitute(line,'\C\%(\s*{%-\=\s*if.\+-\=%}.\+{%-\=\s*endif\s*-\=%}\)\+','','g')
|
||||
let line .= matchstr(cline,'\C^\%(\s*{%-\=\s*end\w*\s*-\=%}\)\+')
|
||||
let cline = substitute(cline,'\C^\%(\s*{%-\=\s*end\w*\s*-\=%}\)\+','','')
|
||||
let sw = shiftwidth()
|
||||
let ind += sw * s:count(line,'{%-\=\s*\%(if\|elsif\|else\|unless\|ifchanged\|case\|when\|for\|empty\|tablerow\|capture\)\>')
|
||||
let ind -= sw * s:count(line,'{%-\=\s*end\%(if\|unless\|ifchanged\|case\|for\|tablerow\|capture\)\>')
|
||||
let ind -= sw * s:count(cline,'{%-\=\s*\%(elsif\|else\|when\|empty\)\>')
|
||||
let ind -= sw * s:count(cline,'{%-\=\s*end\w*$')
|
||||
return ind
|
||||
endfunction
|
138
bundle/vim-liquid/syntax/liquid.vim
vendored
Normal file
138
bundle/vim-liquid/syntax/liquid.vim
vendored
Normal file
@ -0,0 +1,138 @@
|
||||
" Vim syntax file
|
||||
" Language: Liquid
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" Filenames: *.liquid
|
||||
" Last Change: 2010 May 21
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists('main_syntax')
|
||||
let main_syntax = 'liquid'
|
||||
endif
|
||||
|
||||
if !exists('g:liquid_default_subtype')
|
||||
let g:liquid_default_subtype = 'html'
|
||||
endif
|
||||
|
||||
if !exists('b:liquid_subtype') && main_syntax == 'liquid'
|
||||
let s:lines = getline(1)."\n".getline(2)."\n".getline(3)."\n".getline(4)."\n".getline(5)."\n".getline("$")
|
||||
let b:liquid_subtype = matchstr(s:lines,'liquid_subtype=\zs\w\+')
|
||||
if b:liquid_subtype == ''
|
||||
let b:liquid_subtype = matchstr(&filetype,'^liquid\.\zs\w\+')
|
||||
endif
|
||||
if b:liquid_subtype == ''
|
||||
let b:liquid_subtype = matchstr(substitute(expand('%:t'),'\c\%(\.liquid\)\+$','',''),'\.\zs\w\+$')
|
||||
endif
|
||||
if b:liquid_subtype == ''
|
||||
let b:liquid_subtype = g:liquid_default_subtype
|
||||
endif
|
||||
endif
|
||||
|
||||
if exists('b:liquid_subtype') && b:liquid_subtype != ''
|
||||
exe 'runtime! syntax/'.b:liquid_subtype.'.vim'
|
||||
unlet! b:current_syntax
|
||||
endif
|
||||
|
||||
syn case match
|
||||
|
||||
if exists('b:liquid_subtype') && b:liquid_subtype != 'yaml'
|
||||
" YAML Front Matter
|
||||
syn include @liquidYamlTop syntax/yaml.vim
|
||||
unlet! b:current_syntax
|
||||
syn region liquidYamlHead start="\%^---$" end="^---\s*$" keepend contains=@liquidYamlTop,@Spell
|
||||
endif
|
||||
|
||||
if !exists('g:liquid_highlight_types')
|
||||
let g:liquid_highlight_types = []
|
||||
endif
|
||||
|
||||
if !exists('s:subtype')
|
||||
let s:subtype = exists('b:liquid_subtype') ? b:liquid_subtype : ''
|
||||
|
||||
for s:type in map(copy(g:liquid_highlight_types),'matchstr(v:val,"[^=]*$")')
|
||||
if s:type =~ '\.'
|
||||
let b:{matchstr(s:type,'[^.]*')}_subtype = matchstr(s:type,'\.\zs.*')
|
||||
endif
|
||||
exe 'syn include @liquidHighlight'.substitute(s:type,'\.','','g').' syntax/'.matchstr(s:type,'[^.]*').'.vim'
|
||||
unlet! b:current_syntax
|
||||
endfor
|
||||
unlet! s:type
|
||||
|
||||
if s:subtype == ''
|
||||
unlet! b:liquid_subtype
|
||||
else
|
||||
let b:liquid_subtype = s:subtype
|
||||
endif
|
||||
unlet s:subtype
|
||||
endif
|
||||
|
||||
syn region liquidStatement matchgroup=liquidDelimiter start="{%-\=" end="-\=%}" contains=@liquidStatement containedin=ALLBUT,@liquidExempt keepend
|
||||
syn region liquidExpression matchgroup=liquidDelimiter start="{{-\=" end="-\=}}" contains=@liquidExpression containedin=ALLBUT,@liquidExempt keepend
|
||||
syn region liquidComment matchgroup=liquidDelimiter start="{%-\=\s*comment\s*-\=%}" end="{%-\=\s*endcomment\s*-\=%}" contains=liquidTodo,@Spell containedin=ALLBUT,@liquidExempt keepend
|
||||
syn region liquidRaw matchgroup=liquidDelimiter start="{%-\=\s*raw\s*-\=%}" end="{%-\=\s*endraw\s*-\=%}" contains=TOP,@liquidExempt containedin=ALLBUT,@liquidExempt keepend
|
||||
|
||||
syn cluster liquidExempt contains=liquidStatement,liquidExpression,liquidComment,liquidRaw,@liquidStatement,liquidYamlHead
|
||||
syn cluster liquidStatement contains=liquidConditional,liquidRepeat,liquidKeyword,@liquidExpression
|
||||
syn cluster liquidExpression contains=liquidOperator,liquidString,liquidNumber,liquidFloat,liquidBoolean,liquidNull,liquidEmpty,liquidPipe,liquidForloop
|
||||
|
||||
syn keyword liquidKeyword highlight nextgroup=liquidTypeHighlight skipwhite contained
|
||||
syn keyword liquidKeyword endhighlight contained
|
||||
syn region liquidHighlight start="{%-\=\s*highlight\s\+\w\+\s*-\=%}" end="{%-\= endhighlight -\=%}" keepend
|
||||
|
||||
for s:type in g:liquid_highlight_types
|
||||
exe 'syn match liquidTypeHighlight "\<'.matchstr(s:type,'[^=]*').'\>" contained'
|
||||
exe 'syn region liquidHighlight'.substitute(matchstr(s:type,'[^=]*$'),'\..*','','').' start="{%-\=\s*highlight\s\+'.matchstr(s:type,'[^=]*').'\s*-\=%}" end="{%-\= endhighlight -\=%}" keepend contains=@liquidHighlight'.substitute(matchstr(s:type,'[^=]*$'),'\.','','g')
|
||||
endfor
|
||||
unlet! s:type
|
||||
|
||||
syn region liquidString matchgroup=liquidQuote start=+"+ end=+"+ contained
|
||||
syn region liquidString matchgroup=liquidQuote start=+'+ end=+'+ contained
|
||||
syn match liquidNumber "-\=\<\d\+\>" contained
|
||||
syn match liquidFloat "-\=\<\d\+\>\.\.\@!\%(\d\+\>\)\=" contained
|
||||
syn keyword liquidBoolean true false contained
|
||||
syn keyword liquidNull null nil blank contained
|
||||
syn match liquidEmpty "\<empty\>" contained
|
||||
|
||||
syn keyword liquidOperator and or not contained
|
||||
syn match liquidPipe '|' contained skipwhite nextgroup=liquidFilter
|
||||
|
||||
syn keyword liquidFilter date capitalize downcase upcase escape escape_once first last join sort size where uniq strip_html strip_newlines newline_to_br replace replace_first remove remove_first slice split strip truncate truncatewords prepend append url_encode url_decode abs at_most at_least ceil divided_by floor minus plus round times modulo contained
|
||||
|
||||
syn keyword liquidConditional if elsif else endif unless endunless case when endcase ifchanged endifchanged contained
|
||||
syn keyword liquidRepeat for endfor tablerow endtablerow in break continue limit offset reversed contained
|
||||
syn match liquidRepeat "\%({%-\=\s*\)\@<=empty\>" contained
|
||||
syn keyword liquidKeyword assign capture endcapture increasement decreasement cycle include with render contained
|
||||
|
||||
syn keyword liquidForloop forloop nextgroup=liquidForloopDot contained
|
||||
syn match liquidForloopDot "\." nextgroup=liquidForloopAttribute contained
|
||||
syn keyword liquidForloopAttribute length index index0 rindex rindex0 first last contained
|
||||
|
||||
syn keyword liquidTablerowloop tablerowloop nextgroup=liquidTablerowloopDot contained
|
||||
syn match liquidTablerowloopDot "\." nextgroup=liquidTableForloopAttribute contained
|
||||
syn keyword liquidTablerowloopAttribute length index index0 col col0 index0 rindex rindex0 first last col_first col_last contained
|
||||
|
||||
hi def link liquidDelimiter PreProc
|
||||
hi def link liquidComment Comment
|
||||
hi def link liquidTypeHighlight Type
|
||||
hi def link liquidConditional Conditional
|
||||
hi def link liquidRepeat Repeat
|
||||
hi def link liquidKeyword Keyword
|
||||
hi def link liquidOperator Operator
|
||||
hi def link liquidString String
|
||||
hi def link liquidQuote Delimiter
|
||||
hi def link liquidNumber Number
|
||||
hi def link liquidFloat Float
|
||||
hi def link liquidEmpty liquidNull
|
||||
hi def link liquidNull liquidBoolean
|
||||
hi def link liquidBoolean Boolean
|
||||
hi def link liquidFilter Function
|
||||
hi def link liquidForloop Identifier
|
||||
hi def link liquidForloopAttribute Identifier
|
||||
|
||||
let b:current_syntax = 'liquid'
|
||||
|
||||
if exists('main_syntax') && main_syntax == 'liquid'
|
||||
unlet main_syntax
|
||||
endif
|
142
doc/SpaceVim.txt
142
doc/SpaceVim.txt
@ -168,72 +168,73 @@ CONTENTS *SpaceVim-contents*
|
||||
73. lang#julia..............................|SpaceVim-layers-lang-julia|
|
||||
74. lang#kotlin............................|SpaceVim-layers-lang-kotlin|
|
||||
75. lang#latex..............................|SpaceVim-layers-lang-latex|
|
||||
76. lang#lisp................................|SpaceVim-layers-lang-lisp|
|
||||
77. lang#livescript....................|SpaceVim-layers-lang-livescript|
|
||||
78. lang#lua..................................|SpaceVim-layers-lang-lua|
|
||||
79. lang#markdown........................|SpaceVim-layers-lang-markdown|
|
||||
80. lang#moonscript....................|SpaceVim-layers-lang-moonscript|
|
||||
81. lang#nim..................................|SpaceVim-layers-lang-nim|
|
||||
82. lang#nix..................................|SpaceVim-layers-lang-nix|
|
||||
83. lang#ocaml..............................|SpaceVim-layers-lang-ocaml|
|
||||
84. lang#octave............................|SpaceVim-layers-lang-octave|
|
||||
85. lang#pact................................|SpaceVim-layers-lang-pact|
|
||||
86. lang#pascal............................|SpaceVim-layers-lang-pascal|
|
||||
87. lang#perl................................|SpaceVim-layers-lang-perl|
|
||||
88. lang#php..................................|SpaceVim-layers-lang-php|
|
||||
89. lang#plantuml........................|SpaceVim-layers-lang-plantuml|
|
||||
90. lang#pony................................|SpaceVim-layers-lang-pony|
|
||||
91. lang#postscript....................|SpaceVim-layers-lang-postscript|
|
||||
92. lang#processing....................|SpaceVim-layers-lang-processing|
|
||||
93. lang#prolog............................|SpaceVim-layers-lang-prolog|
|
||||
94. lang#puppet............................|SpaceVim-layers-lang-puppet|
|
||||
95. lang#purescript....................|SpaceVim-layers-lang-purescript|
|
||||
96. lang#python............................|SpaceVim-layers-lang-python|
|
||||
97. lang#racket............................|SpaceVim-layers-lang-racket|
|
||||
98. lang#racket...............................|SpaceVim-layers-lang-red|
|
||||
99. lang#reason............................|SpaceVim-layers-lang-reason|
|
||||
100. lang#ring..................................|SpaceVim-layers-lang-r|
|
||||
101. lang#ring...............................|SpaceVim-layers-lang-ring|
|
||||
102. lang#ruby...............................|SpaceVim-layers-lang-ruby|
|
||||
103. lang#rust...............................|SpaceVim-layers-lang-rust|
|
||||
104. lang#scala.............................|SpaceVim-layers-lang-scala|
|
||||
105. lang#scheme...........................|SpaceVim-layers-lang-scheme|
|
||||
106. lang#sh...................................|SpaceVim-layers-lang-sh|
|
||||
107. lang#smalltalk.....................|SpaceVim-layers-lang-smalltalk|
|
||||
108. lang#sml.................................|SpaceVim-layers-lang-sml|
|
||||
109. lang#swig..............................|SpaceVim-layers-lang-swift|
|
||||
110. lang#swig...............................|SpaceVim-layers-lang-swig|
|
||||
111. lang#tcl.................................|SpaceVim-layers-lang-tcl|
|
||||
112. lang#teal...............................|SpaceVim-layers-lang-teal|
|
||||
113. lang#toml...............................|SpaceVim-layers-lang-toml|
|
||||
114. lang#typescript...................|SpaceVim-layers-lang-typescript|
|
||||
115. lang#v.....................................|SpaceVim-layers-lang-v|
|
||||
116. lang#vala...............................|SpaceVim-layers-lang-vala|
|
||||
117. lang#vbnet.............................|SpaceVim-layers-lang-vbnet|
|
||||
118. lang#verilog.........................|SpaceVim-layers-lang-verilog|
|
||||
119. lang#vim.................................|SpaceVim-layers-lang-vim|
|
||||
120. lang#vue.................................|SpaceVim-layers-lang-vue|
|
||||
121. lang#wdl.................................|SpaceVim-layers-lang-wdl|
|
||||
122. lang#wolfram.........................|SpaceVim-layers-lang-wolfram|
|
||||
123. lang#xml.................................|SpaceVim-layers-lang-xml|
|
||||
124. lang#xquery...........................|SpaceVim-layers-lang-xquery|
|
||||
125. lang#yang...............................|SpaceVim-layers-lang-yang|
|
||||
126. lang#zig.................................|SpaceVim-layers-lang-zig|
|
||||
127. language server protocol......................|SpaceVim-layers-lsp|
|
||||
128. leaderf...................................|SpaceVim-layers-leaderf|
|
||||
129. mail.........................................|SpaceVim-layers-mail|
|
||||
130. operator.................................|SpaceVim-layers-operator|
|
||||
131. shell.......................................|SpaceVim-layers-shell|
|
||||
132. ssh...........................................|SpaceVim-layers-ssh|
|
||||
133. telescope...............................|SpaceVim-layers-telescope|
|
||||
134. test.........................................|SpaceVim-layers-test|
|
||||
135. tmux.........................................|SpaceVim-layers-tmux|
|
||||
136. tools#dash.............................|SpaceVim-layers-tools-dash|
|
||||
137. tools#mpv...............................|SpaceVim-layers-tools-mpv|
|
||||
138. tools#zeal.............................|SpaceVim-layers-tools-zeal|
|
||||
139. treesitter.............................|SpaceVim-layers-treesitter|
|
||||
140. ui.............................................|SpaceVim-layers-ui|
|
||||
141. unite.......................................|SpaceVim-layers-unite|
|
||||
76. lang#liquid............................|SpaceVim-layers-lang-liquid|
|
||||
77. lang#lisp................................|SpaceVim-layers-lang-lisp|
|
||||
78. lang#livescript....................|SpaceVim-layers-lang-livescript|
|
||||
79. lang#lua..................................|SpaceVim-layers-lang-lua|
|
||||
80. lang#markdown........................|SpaceVim-layers-lang-markdown|
|
||||
81. lang#moonscript....................|SpaceVim-layers-lang-moonscript|
|
||||
82. lang#nim..................................|SpaceVim-layers-lang-nim|
|
||||
83. lang#nix..................................|SpaceVim-layers-lang-nix|
|
||||
84. lang#ocaml..............................|SpaceVim-layers-lang-ocaml|
|
||||
85. lang#octave............................|SpaceVim-layers-lang-octave|
|
||||
86. lang#pact................................|SpaceVim-layers-lang-pact|
|
||||
87. lang#pascal............................|SpaceVim-layers-lang-pascal|
|
||||
88. lang#perl................................|SpaceVim-layers-lang-perl|
|
||||
89. lang#php..................................|SpaceVim-layers-lang-php|
|
||||
90. lang#plantuml........................|SpaceVim-layers-lang-plantuml|
|
||||
91. lang#pony................................|SpaceVim-layers-lang-pony|
|
||||
92. lang#postscript....................|SpaceVim-layers-lang-postscript|
|
||||
93. lang#processing....................|SpaceVim-layers-lang-processing|
|
||||
94. lang#prolog............................|SpaceVim-layers-lang-prolog|
|
||||
95. lang#puppet............................|SpaceVim-layers-lang-puppet|
|
||||
96. lang#purescript....................|SpaceVim-layers-lang-purescript|
|
||||
97. lang#python............................|SpaceVim-layers-lang-python|
|
||||
98. lang#racket............................|SpaceVim-layers-lang-racket|
|
||||
99. lang#racket...............................|SpaceVim-layers-lang-red|
|
||||
100. lang#reason...........................|SpaceVim-layers-lang-reason|
|
||||
101. lang#ring..................................|SpaceVim-layers-lang-r|
|
||||
102. lang#ring...............................|SpaceVim-layers-lang-ring|
|
||||
103. lang#ruby...............................|SpaceVim-layers-lang-ruby|
|
||||
104. lang#rust...............................|SpaceVim-layers-lang-rust|
|
||||
105. lang#scala.............................|SpaceVim-layers-lang-scala|
|
||||
106. lang#scheme...........................|SpaceVim-layers-lang-scheme|
|
||||
107. lang#sh...................................|SpaceVim-layers-lang-sh|
|
||||
108. lang#smalltalk.....................|SpaceVim-layers-lang-smalltalk|
|
||||
109. lang#sml.................................|SpaceVim-layers-lang-sml|
|
||||
110. lang#swig..............................|SpaceVim-layers-lang-swift|
|
||||
111. lang#swig...............................|SpaceVim-layers-lang-swig|
|
||||
112. lang#tcl.................................|SpaceVim-layers-lang-tcl|
|
||||
113. lang#teal...............................|SpaceVim-layers-lang-teal|
|
||||
114. lang#toml...............................|SpaceVim-layers-lang-toml|
|
||||
115. lang#typescript...................|SpaceVim-layers-lang-typescript|
|
||||
116. lang#v.....................................|SpaceVim-layers-lang-v|
|
||||
117. lang#vala...............................|SpaceVim-layers-lang-vala|
|
||||
118. lang#vbnet.............................|SpaceVim-layers-lang-vbnet|
|
||||
119. lang#verilog.........................|SpaceVim-layers-lang-verilog|
|
||||
120. lang#vim.................................|SpaceVim-layers-lang-vim|
|
||||
121. lang#vue.................................|SpaceVim-layers-lang-vue|
|
||||
122. lang#wdl.................................|SpaceVim-layers-lang-wdl|
|
||||
123. lang#wolfram.........................|SpaceVim-layers-lang-wolfram|
|
||||
124. lang#xml.................................|SpaceVim-layers-lang-xml|
|
||||
125. lang#xquery...........................|SpaceVim-layers-lang-xquery|
|
||||
126. lang#yang...............................|SpaceVim-layers-lang-yang|
|
||||
127. lang#zig.................................|SpaceVim-layers-lang-zig|
|
||||
128. language server protocol......................|SpaceVim-layers-lsp|
|
||||
129. leaderf...................................|SpaceVim-layers-leaderf|
|
||||
130. mail.........................................|SpaceVim-layers-mail|
|
||||
131. operator.................................|SpaceVim-layers-operator|
|
||||
132. shell.......................................|SpaceVim-layers-shell|
|
||||
133. ssh...........................................|SpaceVim-layers-ssh|
|
||||
134. telescope...............................|SpaceVim-layers-telescope|
|
||||
135. test.........................................|SpaceVim-layers-test|
|
||||
136. tmux.........................................|SpaceVim-layers-tmux|
|
||||
137. tools#dash.............................|SpaceVim-layers-tools-dash|
|
||||
138. tools#mpv...............................|SpaceVim-layers-tools-mpv|
|
||||
139. tools#zeal.............................|SpaceVim-layers-tools-zeal|
|
||||
140. treesitter.............................|SpaceVim-layers-treesitter|
|
||||
141. ui.............................................|SpaceVim-layers-ui|
|
||||
142. unite.......................................|SpaceVim-layers-unite|
|
||||
7. Usage....................................................|SpaceVim-usage|
|
||||
1. alternate file........................|SpaceVim-usage-alternate-file|
|
||||
2. buffers-and-files..................|SpaceVim-usage-buffers-and-files|
|
||||
@ -3748,6 +3749,15 @@ KEY BINDINGS
|
||||
normal SPC l s vimtex-toggle-main
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
LANG#LIQUID *SpaceVim-layers-lang-liquid*
|
||||
|
||||
This layer provides syntax highlighting for liquid. To enable this layer:
|
||||
>
|
||||
[layers]
|
||||
name = "lang#liquid"
|
||||
<
|
||||
|
||||
==============================================================================
|
||||
LANG#LISP *SpaceVim-layers-lang-lisp*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user