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:
parent
3787b35c64
commit
2e6aac03df
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user