1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-04-13 13:10:39 +08:00

Remove: recover spell and list option in go layer (#1872)

* Delelet go autocmd

* Update follow head page
This commit is contained in:
Wang Shidong 2018-06-26 21:05:01 +08:00 committed by GitHub
parent 3787b35c64
commit 2e6aac03df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View File

@ -68,17 +68,10 @@ function! SpaceVim#layers#lang#go#config() abort
call SpaceVim#mapping#gd#add('go', function('s:go_to_def'))
endif
call SpaceVim#mapping#space#regesit_lang_mappings('go', function('s:language_specified_mappings'))
augroup spacevim_layer_lang_go
autocmd!
" Add indentation level to tab-indentated files.
" Note: there is a blank space at the end of the late backslash
autocmd FileType go setl list lcs=tab:\┊\
autocmd FileType go setl spell
augroup END
endfunction
function! s:go_to_def() abort
call go#def#Jump('')
call go#def#Jump('')
endfunction
function! s:language_specified_mappings() abort

View File

@ -15,6 +15,7 @@ The next release is v0.9.0.
### Changed
- Change the option name `enable_statusline_display_mode` to `enable_statusline_mode` ([#1843](https://github.com/SpaceVim/SpaceVim/pull/1843))
- Recover spell and list option in go layer ([#1872](https://github.com/SpaceVim/SpaceVim/pull/1872))
### Removed