new lua style
This commit is contained in:
@ -17,9 +17,7 @@ return {
|
||||
'hrsh7th/cmp-nvim-lsp-signature-help',
|
||||
},
|
||||
config = function()
|
||||
local t = function(str)
|
||||
return vim.api.nvim_replace_termcodes(str, true, true, true)
|
||||
end
|
||||
local t = function(str) return vim.api.nvim_replace_termcodes(str, true, true, true) end
|
||||
|
||||
local cmp = require('cmp')
|
||||
local lspkind = require('lspkind')
|
||||
@ -96,9 +94,7 @@ return {
|
||||
{
|
||||
name = 'buffer',
|
||||
option = {
|
||||
get_bufnrs = function()
|
||||
return vim.api.nvim_list_bufs()
|
||||
end,
|
||||
get_bufnrs = function() return vim.api.nvim_list_bufs() end,
|
||||
},
|
||||
},
|
||||
{ name = 'path' },
|
||||
|
Reference in New Issue
Block a user