mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:40:06 +08:00
Use textwidth instead of 80 (#3226)
This commit is contained in:
parent
a4c4dd93f3
commit
e15da7ed54
@ -20,13 +20,13 @@ scriptencoding utf-8
|
||||
|
||||
" 这是所有 ID 小于上一次 release ID,并且还未被合并的 ID,在新的release
|
||||
" 之后,需要把已经合并了的删除!
|
||||
let s:unmerged_prs_since_last_release = [2014, 2218, 2232, 2242, 2307,
|
||||
\ 2390, 2396, 2407, 2446, 2447, 2541, 2627, 2655, 2664,
|
||||
\ 2732,]
|
||||
let s:unmerged_prs_since_last_release = [2014, 2232, 2242, 2307,
|
||||
\ 2390, 2396, 2407, 2447, 2627, 2655, 2664,
|
||||
\ ]
|
||||
" these options can be changed when going to release new tag
|
||||
let s:last_release_number = 2947
|
||||
let s:last_release_number = 3213
|
||||
" 当要新建一个 release 时,修改为该release 的ID,通常为 -1。
|
||||
let s:current_release_number = 3213
|
||||
let s:current_release_number = -1
|
||||
" this is a list of pull request number which > last_release_number and <
|
||||
" current_release_number
|
||||
" next time when I release v1.1.0, only need to update following option
|
||||
|
@ -4,7 +4,7 @@
|
||||
[![Build Status](https://travis-ci.org/SpaceVim/SpaceVim.svg?branch=dev)](https://travis-ci.org/SpaceVim/SpaceVim)
|
||||
[![Build status](https://ci.appveyor.com/api/projects/status/eh3t5oph70abp665/branch/dev?svg=true)](https://ci.appveyor.com/project/wsdjeg/spacevim/branch/master)
|
||||
[![codecov](https://codecov.io/gh/SpaceVim/SpaceVim/branch/dev/graph/badge.svg)](https://codecov.io/gh/SpaceVim/SpaceVim/branch/master)
|
||||
[![Version](https://img.shields.io/badge/version-1.2.0-8700FF.svg)](https://github.com/SpaceVim/SpaceVim/releases)
|
||||
[![Version](https://img.shields.io/badge/version-1.4.0--dev-8700FF.svg)](https://github.com/SpaceVim/SpaceVim/releases)
|
||||
[![GPLv3 License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://github.com/SpaceVim/SpaceVim/blob/master/LICENSE)
|
||||
|
||||
SpaceVim 是一个社区驱动的模块化 Vim/Neovim 配置集合,以模块的方式组织管理插件以
|
||||
|
@ -188,9 +188,10 @@ function! s:toggle_colorcolumn() abort
|
||||
endfunction
|
||||
|
||||
let s:fcflag = 0
|
||||
" use &textwidth option instead of 80
|
||||
function! s:toggle_fill_column() abort
|
||||
if !s:fcflag
|
||||
let &colorcolumn=join(range(80,999),',')
|
||||
let &colorcolumn=join(range(&textwidth + 1,999),',')
|
||||
let s:fcflag = 1
|
||||
else
|
||||
set cc=
|
||||
|
Loading…
Reference in New Issue
Block a user