updated some configs
This commit is contained in:
@@ -17,12 +17,12 @@ opt.number = true -- Show line numbers
|
||||
opt.relativenumber = true -- Relative line numbers
|
||||
opt.signcolumn = "yes" -- Always show sign column
|
||||
opt.termguicolors = true -- True color support
|
||||
opt.wrap = false -- Disable line wrap
|
||||
opt.wrap = true -- Enable line wrap
|
||||
|
||||
-- Indentation
|
||||
opt.expandtab = true -- Use spaces instead of tabs
|
||||
opt.shiftwidth = 2 -- Size of indent
|
||||
opt.tabstop = 2 -- Number of spaces tabs count for
|
||||
opt.tabstop = 4 -- Number of spaces tabs count for
|
||||
opt.smartindent = true -- Smart indentation
|
||||
|
||||
-- Search
|
||||
|
||||
@@ -63,7 +63,7 @@ return {
|
||||
-- Go
|
||||
gopls = {
|
||||
-- Root detection: find go.work first, then go.mod, then git root
|
||||
-- root_dir = make_root_detector({ "go.work", "go.mod" }),
|
||||
root_dir = make_root_detector({ "go.work", "go.mod" }),
|
||||
settings = {
|
||||
gopls = {
|
||||
gofumpt = true,
|
||||
|
||||
Reference in New Issue
Block a user