1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00

Use textwidth instead of 80 (#3226)

This commit is contained in:
Wang Shidong 2019-11-16 12:59:40 +08:00 committed by GitHub
parent a4c4dd93f3
commit e15da7ed54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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 配置集合,以模块的方式组织管理插件以

View File

@ -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=