mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:30:04 +08:00
Fix markdown format
This commit is contained in:
parent
37bde366dc
commit
1a74d45f6d
@ -18,6 +18,7 @@
|
||||
[![Percentage of issues still open](http://isitmaintained.com/badge/open/SpaceVim/SpaceVim.svg)](http://isitmaintained.com/project/SpaceVim/SpaceVim "Percentage of issues still open")
|
||||
|
||||
## About SpaceVim
|
||||
|
||||
SpaceVim is a community-driven modular vim distribution. It manages collections
|
||||
of plugins in layers, which help collect related packages together to provide IDE-like features.
|
||||
SpaceVim is not just a vimrc but an ultimate Vim configuration, It contains many built-in features.
|
||||
|
@ -6,6 +6,9 @@
|
||||
" License: GPLv3
|
||||
"=============================================================================
|
||||
|
||||
let s:SYS = SpaceVim#api#import('system')
|
||||
|
||||
|
||||
let s:md_listItemIndent = 1
|
||||
let s:md_enableWcwidth = 0
|
||||
let s:md_listItemChar = '-'
|
||||
@ -40,7 +43,11 @@ function! SpaceVim#layers#lang#markdown#config() abort
|
||||
\},
|
||||
\}
|
||||
let remarkrc = s:generate_remarkrc()
|
||||
if s:SYS.isWindows
|
||||
let g:neoformat_enabled_markdown = ['prettier']
|
||||
else
|
||||
let g:neoformat_enabled_markdown = ['remark']
|
||||
endif
|
||||
let g:neoformat_markdown_remark = {
|
||||
\ 'exe': 'remark',
|
||||
\ 'args': ['--no-color', '--silent'] + (empty(remarkrc) ? [] : ['-r', remarkrc]),
|
||||
|
@ -890,7 +890,7 @@ merged = 0
|
||||
类似于 Firefox 的 vimperator 的 `f` 键的功能。
|
||||
|
||||
| 快捷键 | 描述 |
|
||||
| ------------------------------- | ---------------- |
|
||||
| ------------------------------- | ----------------- |
|
||||
| `SPC j u`/(`o` for help buffer) | 快速跳到/打开 url |
|
||||
|
||||
#### 常用的成对快捷键
|
||||
@ -1321,7 +1321,6 @@ endfunction
|
||||
" }
|
||||
```
|
||||
|
||||
|
||||
##### 常用按键绑定
|
||||
|
||||
| Key Binding | Description |
|
||||
@ -1411,7 +1410,7 @@ endfunction
|
||||
| `SPC s r p` | rg |
|
||||
| `SPC s r P` | rg with default text |
|
||||
|
||||
**提示**: 在工程中进行搜索的话, 无需提前打开文件. 在工程保存目录中使用 `SPC p p` 和 `C-s` , 就比如 `SPC s p`.(TODO)
|
||||
**提示**: 在工程中进行搜索的话, 无需提前打开文件. 在工程保存目录中使用 `SPC p p` 和 `C-s` , 就比如 `SPC s p`.(TODO)
|
||||
|
||||
##### 后台进行工程搜索
|
||||
|
||||
|
@ -1336,7 +1336,6 @@ Notes:
|
||||
|
||||
**Beware** if you use `pt`, [TCL parser tools](https://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/apps/pt.html) also install a command line tool called `pt`.
|
||||
|
||||
|
||||
##### Custom searching tool
|
||||
|
||||
to change the option of a search tool, you need to use bootstrap function. here is an example
|
||||
@ -1366,7 +1365,6 @@ The structure of searching tool profile is:
|
||||
" }
|
||||
```
|
||||
|
||||
|
||||
##### Useful key bindings
|
||||
|
||||
| Key Binding | Description |
|
||||
@ -1708,7 +1706,7 @@ The default color for iedit is `red`/`green` which is based on the current color
|
||||
Comments are handled by [nerdcommenter](https://github.com/scrooloose/nerdcommenter), it’s bound to the following keys.
|
||||
|
||||
| Key Binding | Description |
|
||||
| ----------- | ------------------------- |
|
||||
| ----------- | -------------------------- |
|
||||
| `SPC ;` | comment operator |
|
||||
| `SPC c h` | hide/show comments |
|
||||
| `SPC c l` | comment lines |
|
||||
|
@ -56,7 +56,6 @@ Enable/Disable wcwidth for detecting the length of a table cell, default is 0. T
|
||||
|
||||
Bullet marker to use for list items (`'-'`, `'*'`, or `'+'`, default: `'-'`).
|
||||
|
||||
|
||||
## Key bindings
|
||||
|
||||
| Key | mode | description |
|
||||
|
Loading…
Reference in New Issue
Block a user