Add specific settings for Go files
This commit is contained in:
@@ -97,7 +97,12 @@ vim.o.termguicolors = true
|
||||
vim.o.signcolumn = "yes"
|
||||
vim.opt.fillchars:append({eob = " "})
|
||||
|
||||
vim.g.mapleader = " "
|
||||
-- Go specific settings
|
||||
vim.cmd([[
|
||||
autocmd FileType go set tabstop=4
|
||||
autocmd FileType go set shiftwidth=4
|
||||
autocmd FileType go set noexpandtab
|
||||
]])
|
||||
|
||||
vim.g.mapleader = " "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user