update
This commit is contained in:
parent
7c52a3c538
commit
6d0417c208
9
init.lua
9
init.lua
@ -30,10 +30,7 @@ if G.g.vscode then
|
||||
require('vscode')
|
||||
else
|
||||
require("options")
|
||||
require("lazy").setup({
|
||||
require('plugs')
|
||||
})
|
||||
require("lazy").setup(
|
||||
require('plugs'), { lockfile = G.fn.stdpath("data") .. "/lazy/lazy-lock.json" }
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
@ -217,7 +217,7 @@ return {
|
||||
formatting = {
|
||||
fields = { "kind", "abbr", "menu" },
|
||||
format = function(entry, vim_item)
|
||||
local kind = require("lspkind").cmp_format({ mode = "symbol_text", maxwidth = 5, })(entry, vim_item)
|
||||
local kind = require("lspkind").cmp_format({ mode = "symbol_text", maxwidth = 50, })(entry, vim_item)
|
||||
local strings = vim.split(kind.kind, "%s", { trimempty = true })
|
||||
kind.kind = " " .. (strings[1] or "") .. " "
|
||||
kind.menu = " (" .. (strings[2] or "") .. ")"
|
||||
|
Loading…
Reference in New Issue
Block a user