summaryrefslogtreecommitdiff
path: root/.config/nvim/snippets/carbonight.json
blob: 751d962d021b0f7a97cdcec9d7b98fa5aaa1d4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  "group": {
    "body": [
      "--[[",
      "Copyright (C) 2026 Kyren223",
      "This file is licensed under the GPL-3.0-or-later license, see https://fsf.org/licenses/gpl-3.0",
      "--]]",
      "",
      "local utils = require(\"carbonight.utils\")",
      "",
      "local M = {}",
      "",
      "---@param c Colors",
      "function M.get(c)",
      "    return {",
      "        ${1:}",
      "    }",
      "end",
      "",
      "return M"
    ],
    "prefix": "group",
    "scope": "lua"
  }
}