Set a ruler for go files.
This commit is contained in:
parent
70fc7c6cbc
commit
77add8afaa
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ vim.g.go_template_use_pkg = 1
|
|||
-- vim.cmd("autocmd FileType go setlocal foldmethod=syntax")
|
||||
-- vim.g.go_fmt_experimental = 1
|
||||
|
||||
-- Use a ruler for go files.
|
||||
vim.cmd("autocmd FileType go setlocal colorcolumn=80")
|
||||
|
||||
|
||||
-- Highlights.
|
||||
vim.g.go_highlight_operators = 1
|
||||
vim.g.go_highlight_types = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue