diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-01 14:11:40 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-01 14:11:40 +0100 |
commit | 394227c36ba6d58bd6b9b541e550c2af9c04e552 (patch) | |
tree | 13ce7d91640887aee3b5a0068c2a2faefb813d5d | |
parent | 1faa05388185debfde1874818e2ae5739598ddef (diff) |
Fix for go filetype
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -264,6 +264,8 @@ let test#vimterminal#term_position = "belowright" " command! S :w !sudo tee % "nnoremap <Tab> % +nnoremap <C-@> :call system("wl-copy", @")<CR> +xnoremap <silent> <C-@> :w !wl-copy<CR><CR> " }}} " FZF {{{ " This is the default extra key bindings @@ -366,10 +368,10 @@ augroup END " Golang {{{ augroup golang autocmd! - au BufReadPre,BufReadPost *.go + autocmd FileType go \ set tabstop=8 | \ set softtabstop=8 | - \ set shiftwidth=8 | + \ set shiftwidth=8 augroup END " }}} " GitFZF {{{ |