added discord + formatting + rest api + more

This commit is contained in:
devaine 2025-04-11 19:14:57 -05:00
commit f82cc2bc93
Signed by untrusted user who does not match committer: devaine
GPG key ID: 954B1DCAC6FF84EE
15 changed files with 189 additions and 70 deletions

View file

@ -5,10 +5,12 @@ return {
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-nvim-lsp",
{ "L3MON4D3/LuaSnip",
{
"L3MON4D3/LuaSnip",
build = "make install_jsregexp"
},
"saadparwaiz1/cmp_luasnip",
"saadparwaiz1/cmp_luasnip", -- luasnip autocompletion
"hrsh7th/cmp-path" -- Path finder
},
config = function()
local cmp = require("cmp")
@ -28,7 +30,8 @@ return {
}),
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
{ name = 'luasnip' }
{ name = 'luasnip' },
{ name= 'path' }
}),
formatting = {
format = require("nvim-highlight-colors").format