new lua style

This commit is contained in:
2025-04-17 21:58:34 +02:00
parent 92ec6976c5
commit 8b99910bb4
26 changed files with 109 additions and 583 deletions

View File

@ -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' },