diff --git a/autoload/SpaceVim/layers/lang/go.vim b/autoload/SpaceVim/layers/lang/go.vim index a35090986..042b90ff8 100644 --- a/autoload/SpaceVim/layers/lang/go.vim +++ b/autoload/SpaceVim/layers/lang/go.vim @@ -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 diff --git a/wiki/en/Following-HEAD.md b/wiki/en/Following-HEAD.md index a03f3f101..718172b0c 100644 --- a/wiki/en/Following-HEAD.md +++ b/wiki/en/Following-HEAD.md @@ -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