SpaceVim 发布 v0.8.0,默认使用 toml 配置文件格式

迟来的一篇发布文章,一来是近期比较忙,而来主要是 0.8.0 发布后存在一些小问题,想把这些问题解决了再来写这篇中文介绍。

SpaceVim v0.8.0 是在6月18日发布的,到现在已经快一个月了。当时发布的英文原文链接为:

SpaceVim release v0.8.0spacevim.org

新特性

  • 使用 toml 作为默认配置文件格式 #1636#1654

在以前的版本中,一至使用 vim 脚本作为默认配置文件,虽然这比较容易让用户接受,但是这存在很多弊端,因为 vim 脚本是逐行读取并执行的,如果配置文件存在语法错误,将导致配置只被读取一半,而让排错非常困难。

  • gitcommit 编辑异步补全 #1623

编辑 commit 信息时,自动补全对应的 github 仓库信息

  • 搜索 buffer 所在文件夹 #1632

  • 添加 asyncomplete-clang #1671

  • 添加 SPC x a | 以对齐 |#1766

  • 修复 typescript auto fix 特性 #1706

  • 添加 compatible API:matchaddpos #1681

  • Add autofix feature for php with phpcbf #1652

  • Add more key bingindings #1811

  • 极简主题 #1784

新的模块

  • Add lang#r layer #1717

功能改进

  • Change filetype assert #1655

  • Imporve max_column options #1744

  • Improve system api #1780

  • Improve tags layer #1761

  • Update Go layer to reflect vim-go var name change #1719

  • Set encoding #1708

  • Enable nocompatible for vim #1690

  • Improve vimcompatible mode #1665

  • Prefer local phpmd.xml #1656

  • Only Reload when the filetype is javascript #1653

  • Remove vim-javascript due to conflicts in flow-type and in jsx #1637

  • Use stdin instead when format java file. #1634

  • Improve buffer switch key bindings #1673

  • Use bash for 24-bit-color.sh #1613

  • Change lang#c layer plugins #1619

Bug 修复

  • Fix error unknown option guifont in VimR #1651

  • Fix vimcompatible mode #1667

  • Fix SPConfig #1666

  • Fix key bindings Tab #1711

  • Fix language #1710

  • Fix windows support #1700

  • Fix lint #1699

  • Fix SPC f f key bindings #1698

  • Fix detach script #1684

  • Fix jump mappings #1680

  • Fix flygrep #1678

  • Fix install script #1677

  • Fix phpcd support #1676

  • Fix Asyncomplete support #1670

  • Fix hit-enter when using timers #1722

  • Fix custom config path #1779

  • Fix syntax highlight conflict under flow-typed js #1769

  • Fix flygrep detect script #1757

  • Fix bootstrap function #1741

  • Fix tags layer #1649

  • Fix gitcommit completion script #1624

  • Fix deoplete config #1612

  • Fix debug info #1806

  • Fix denite config #1650

  • Fix UltiSnips support #1078 #1647

  • Fix mru and buffer list key bindings #1620

  • Fix pluginmanager && autocomplete layer #1614

  • Fix detach command #1685

  • Fix loading custom plugin #1743

  • Fix undefined variable for g:_spacevim_config_path#1797

  • Fix rtp type #1787

  • Escape file name #1795

文档 wiki 改进

  • Fix grammar mistake #1611

  • Update community #1781

  • Update documentation #1765

  • Manager post tags #1762

  • Doc: improve SpaceVim doc #1758

  • Specify the exact branch for git rebase #1754

  • Type: JaveScript --> JavaScript #1753

  • Update readme && wiki #1740

  • Update lsp doc #1735

  • Wiki: update cn wiki #1752

  • Doc: update colorscheme layer doc #1747

  • Correct rubocop spelling in docs #1715

  • HTML Improvements #1707

  • Update readme #1668

  • Update quick start guide #1659#1729

  • Correct title in haskell.md #1645

  • Add toml config documentation #1721

  • Add json example #1625

  • Add doc for formatting on save #1799

  • Add search box to the website #1789

  • Add useage of statusline and tabline #1783

  • Add useage of bootstrap function #1775#1774

  • Add Ctrl-a to the vim compatibility list #1755

  • Fix typo #1813

  • Fix a typo in cn/documentation.md #1812

  • Fix doc about enable/disable guicolors #1785

  • Fix doc for colorscheme_bg && close #1737 #1739

  • Fix keys highlights, add missed #1713

  • Fix layer activation command and typo in Python layer docs #1712

  • Fix typo in documentation #1661

在这个版本发布没多久,我与几个朋友线下也见了一下,主要是聊聊他们在使用过程中哪些功能是非常常用的,哪些功能在使用过程中存在不人性化的设计。

最终,有两点在目前最新版本中做了不少改进,大家可以体验下:

SpaceVim:高效的 Vim 标签管理器

SpaceVim:高速实时代码检索及替换插件

写在最后,因为这篇文字发的比较晚,自 v0.8.0 版本发布以来已经有接近一个月了,也可以关注一些 following HEAD 页面,这里会列出自上一个版本到最新分支,所有的改动:

Following HEAD

如果有任何想反馈或交流的,可以选择合适的 SpaceVim 频道:

中文社区

猜你喜欢

转载自www.oschina.net/news/97946/spacevim-0-8-0-released