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.relativenumber = true -- Relative line numbers
|
||||||
opt.signcolumn = "yes" -- Always show sign column
|
opt.signcolumn = "yes" -- Always show sign column
|
||||||
opt.termguicolors = true -- True color support
|
opt.termguicolors = true -- True color support
|
||||||
opt.wrap = false -- Disable line wrap
|
opt.wrap = true -- Enable line wrap
|
||||||
|
|
||||||
-- Indentation
|
-- Indentation
|
||||||
opt.expandtab = true -- Use spaces instead of tabs
|
opt.expandtab = true -- Use spaces instead of tabs
|
||||||
opt.shiftwidth = 2 -- Size of indent
|
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
|
opt.smartindent = true -- Smart indentation
|
||||||
|
|
||||||
-- Search
|
-- Search
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ return {
|
|||||||
-- Go
|
-- Go
|
||||||
gopls = {
|
gopls = {
|
||||||
-- Root detection: find go.work first, then go.mod, then git root
|
-- 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 = {
|
settings = {
|
||||||
gopls = {
|
gopls = {
|
||||||
gofumpt = true,
|
gofumpt = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user