summaryrefslogtreecommitdiff
path: root/.config/nvim/snippets/carbonight.nvim
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-04-29 17:29:21 +0300
committerKyren223 <Kyren223@proton.me>2025-04-29 17:30:08 +0300
commited5c4406a97b0e4a0480ef071d1d75efb22cb881 (patch)
treef1f25728d651785cb288f544ad7544ccddad2641 /.config/nvim/snippets/carbonight.nvim
parent0e692de1352504a49b7d84c736880210f2c0365b (diff)
Configured nvim blink-cmp plugin, a few notes:
Added nvim-scissors to make snippets easier to configure Added colorful-menu to make completions cooler (more like IntelliJ/vsc*de), disabled for now until carbonight has colors for it Removed nvim-cmp Installed jq for formatting json snippets
Diffstat (limited to '.config/nvim/snippets/carbonight.nvim')
-rw-r--r--.config/nvim/snippets/carbonight.nvim/lua.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/nvim/snippets/carbonight.nvim/lua.json b/.config/nvim/snippets/carbonight.nvim/lua.json
new file mode 100644
index 0000000..5697fd2
--- /dev/null
+++ b/.config/nvim/snippets/carbonight.nvim/lua.json
@@ -0,0 +1,24 @@
+{
+ "carbonight.nvim group": {
+ "body": [
+ "--[[",
+ "Copyright (C) 2024-2025 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"
+ }
+}