mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 10:40:04 +08:00
Move lcs to go layer
This commit is contained in:
parent
a7cf243844
commit
1e7cc8bd11
@ -55,6 +55,12 @@ 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:\┊\
|
||||
augroup END
|
||||
endfunction
|
||||
|
||||
function! s:go_to_def() abort
|
||||
|
@ -34,10 +34,6 @@ function! SpaceVim#layers#ui#config() abort
|
||||
else
|
||||
let g:indentLine_color_gui = get(g:, 'indentLine_color_gui', '#d5c4a1')
|
||||
endif
|
||||
|
||||
" Add indentation level to tab-indentated files.
|
||||
" Note: there is a blank space at the end of the late backslash
|
||||
autocmd FileType go set list lcs=tab:\┊\
|
||||
let g:indentLine_char = get(g:, 'indentLine_char', '┊')
|
||||
let g:indentLine_concealcursor = 'niv'
|
||||
let g:indentLine_conceallevel = 2
|
||||
|
Loading…
Reference in New Issue
Block a user