rename from gocoverage_sign_priority to sign_priority

pull/196/head
ray-x 2 years ago
parent 4c1ee0ddeb
commit 7fea49e79f

@ -644,7 +644,7 @@ require('go').setup({
gopls_cmd = nil, -- if you need to specify gopls path and cmd, e.g {"/home/user/lsp/gopls", "-logfile","/var/log/gopls.log" }
gopls_remote_auto = true, -- add -remote=auto to gopls
gocoverage_sign = "█",
gocoverage_sign_priority = 5, -- change to a higher number to override other signs
sign_priority = 5, -- change to a higher number to override other signs
dap_debug = true, -- set to false to disable dap
dap_debug_keymap = true, -- true: use keymap for debugger defined in go/dap.lua
-- false: do not use keymap in go/dap.lua. you must define your own.

@ -91,7 +91,6 @@ _GO_NVIM_CFG = {
gopls_cmd = nil, --- you can provide gopls path and cmd if it not in PATH, e.g. cmd = { "/home/ray/.local/nvim/data/lspinstall/go/gopls" }
gopls_remote_auto = true,
gocoverage_sign = "",
gocoverage_sign_priority = 7,
launch_json = nil, -- the launch.json file path, default to .vscode/launch.json
-- launch_json = vfn.getcwd() .. "/.vscode/launch.json",
dap_debug = true,

@ -95,7 +95,7 @@ function M.add(bufnr, signs)
name = stype,
buffer = bufnr,
lnum = lnum,
priority = _GO_NVIM_CFG.gocoverage_sign_priority,
priority = _GO_NVIM_CFG.sign_priority,
}
end
end

@ -9,7 +9,7 @@ return {
max_line_len = 120,
tag_transform = false,
test_dir = "",
gocoverage_sign_priority = 5,
sign_priority = 5,
launch_json = nil, -- the launch.json file path, default to .vscode/launch.json
-- launch_json = vfn.getcwd() .. "/.vscode/launch.json",

Loading…
Cancel
Save