1
0
mirror of https://github.com/amix/vimrc synced 2025-07-01 12:45:00 +08:00

Updated plugins

This commit is contained in:
Amir
2022-08-08 15:45:56 +02:00
parent b41536726f
commit 765adb9da3
216 changed files with 4784 additions and 2112 deletions

View File

@ -2,6 +2,7 @@
Before:
source ../after/ftplugin/markdown.vim
setlocal foldtext=foldtext()
After:
setlocal foldexpr=0

View File

@ -146,8 +146,8 @@ Given markdown;
b
Execute (]c):
Execute (]h):
normal! 3G
AssertEqual line('.'), 3
normal ]c
normal ]h
AssertEqual line('.'), 1

View File

@ -31,7 +31,7 @@ end
[a]( b
"c" )
a (`a`) b. Fix: <https://github.com/plasticboy/vim-markdown/issues/113>
a (`a`) b. Fix: <https://github.com/preservim/vim-markdown/issues/113>
Escaped:

View File

@ -30,6 +30,19 @@ Expect (table is not modified):
|---|---|
| c | d |
Given markdown (indented table);
| a | b |
|---|---|
| c | d |
Execute (format well formatted, indented table):
TableFormat
Expect (table is not modified):
| a | b |
|---|---|
| c | d |
Given markdown;
| left |right| center ||
| :- | --: |:---:|:|
@ -42,3 +55,16 @@ Expect (preserve colons to align text):
| left | right | center | |
|:-----|------:|:------:|:--|
| left | right | center | |
Given markdown (indented table with colons);
| left |right| center ||
| :- | --: |:---:|:|
| left |right| center ||
Execute (format indented table with colons):
TableFormat
Expect (preserve colons to align text):
| left | right | center | |
|:-----|------:|:------:|:--|
| left | right | center | |

View File

@ -1,16 +1,17 @@
set nocompatible
set rtp+=../
set rtp+=../build/tabular/
set rtp+=../build/vim-toml/
set rtp+=../build/vim-json/
set rtp+=../build/vader.vim/
set rtp-=~/.vim
set rtp-=~/.vim/after
let $LANG='en_US'
filetype off
set runtimepath+=../
set runtimepath+=../build/tabular/
set runtimepath+=../build/vim-toml/
set runtimepath+=../build/vim-json/
set runtimepath+=../build/vader.vim/
filetype on
filetype plugin on
filetype indent on
syntax on
filetype plugin indent on
syntax enable
function! Markdown_GetScriptID(fname) abort
let l:snlist = ''
@ -24,6 +25,7 @@ function! Markdown_GetScriptID(fname) abort
endif
endfor
endfunction
function! Markdown_GetFunc(fname, funcname) abort
return function('<SNR>' . Markdown_GetScriptID(a:fname) . '_' . a:funcname)
endfunction