This commit is contained in:
newbie 2024-01-16 20:05:57 +08:00
parent 4c09041e7e
commit e6d0b2d1f6
2 changed files with 29 additions and 12 deletions

View File

@ -1,8 +1,27 @@
return {
'vijaymarupudi/nvim-fzf', -- fzf
'lilydjwg/colorizer', -- 颜色识别
{
"kawre/leetcode.nvim",
build = ":TSUpdate html",
dependencies = {
"nvim-telescope/telescope.nvim",
"nvim-lua/plenary.nvim", -- telescope 所需
"MunifTanjim/nui.nvim",
-- 可选
"nvim-treesitter/nvim-treesitter",
"rcarriga/nvim-notify",
"nvim-tree/nvim-web-devicons",
},
opts = {
-- 配置放在这里
cn = {
enabled = true,
},
},
},
require('plugs.nvim-lspconfig'),
require('plugs.nvimtree'), -- nvimtree

View File

@ -1,14 +1,12 @@
{
"class": {
"prefix": "Class_Array_tree",
"prefix": "class",
"body": [
"type $1 struct {",
"id int64",
"$1Id int64",
"$1Name string",
"createTime time.Time",
"updateTime time.Time",
"$2",
" id int64",
" $2",
" createTime time.Time \/\/ 创建时间",
" updateTime time.Time \/\/ 更新时间",
"}",
"$0"
]