sample init.lua updates

pull/394/head
ray-x 7 months ago
parent 1098869546
commit 13d48f9950

@ -47,8 +47,8 @@ local function load_plugins()
'theHamsta/nvim-dap-virtual-text',
'ray-x/guihua.lua',
},
config = function()
require('go').setup({
config = true,
opts = {
verbose = true,
lsp_cfg = {
handlers = {
@ -59,8 +59,7 @@ local function load_plugins()
),
},
}, -- false: do nothing
})
end,
}
},
}
end

@ -5,6 +5,7 @@ import (
"sync"
)
// FindAllSubStr function 
func FindAllSubStr(stack, niddle string) (result []int) {
stack = strings.ToLower(stack)
niddle = strings.ToLower(niddle)
@ -17,6 +18,7 @@ func FindAllSubStr(stack, niddle string) (result []int) {
return result
}
// FindSubStr function 
func FindSubStr(stack, niddle string) (result int) {
stack = strings.ToLower(stack)
niddle = strings.ToLower(niddle)

Loading…
Cancel
Save