From a34de6ac718857082f77435fb8d8fd6dc547bfae Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 10 Sep 2023 16:58:10 -0400 Subject: [PATCH] first user change --- init.lua | 2 +- plugins/community.lua | 2 +- plugins/mason.lua | 12 ++++++++++-- plugins/treesitter.lua | 5 ++++- plugins/user.lua | 43 ++++++++++++++++++++++++++++++++---------- 5 files changed, 49 insertions(+), 15 deletions(-) diff --git a/init.lua b/init.lua index fb34405..47eb98c 100644 --- a/init.lua +++ b/init.lua @@ -18,7 +18,7 @@ return { }, -- Set colorscheme to use - colorscheme = "astrodark", + colorscheme = "tokyonight-night", -- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on diagnostics = { diff --git a/plugins/community.lua b/plugins/community.lua index 6918be5..33e2f11 100644 --- a/plugins/community.lua +++ b/plugins/community.lua @@ -4,6 +4,6 @@ return { -- example of imporing a plugin, comment out to use it or add your own -- available plugins can be found at https://github.com/AstroNvim/astrocommunity - -- { import = "astrocommunity.colorscheme.catppuccin" }, + -- { import = "astrocommunity.colorscheme.tokyonight" }, -- { import = "astrocommunity.completion.copilot-lua-cmp" }, } diff --git a/plugins/mason.lua b/plugins/mason.lua index 6566f34..5761fe5 100644 --- a/plugins/mason.lua +++ b/plugins/mason.lua @@ -7,7 +7,12 @@ return { opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, { - -- "lua_ls", + "lua_ls", + "rust_analyzer", + "omnisharp", + "taplo", + "gopls", + "tsserver", }) end, }, @@ -19,7 +24,7 @@ return { -- add more things to the ensure_installed table protecting against community packs modifying it opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, { -- "prettier", - -- "stylua", + -- "stylua" }) end, }, @@ -30,6 +35,9 @@ return { -- add more things to the ensure_installed table protecting against community packs modifying it opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, { -- "python", + "codelldb", + "node-debug2-adapter", + "go-debug-adapter", }) end, }, diff --git a/plugins/treesitter.lua b/plugins/treesitter.lua index 18c6da6..5c2db79 100644 --- a/plugins/treesitter.lua +++ b/plugins/treesitter.lua @@ -3,7 +3,10 @@ return { opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, { - -- "lua" + "lua", + "rust", + "typescript", + "javascript", }) end, } diff --git a/plugins/user.lua b/plugins/user.lua index acdbf63..ad0756d 100644 --- a/plugins/user.lua +++ b/plugins/user.lua @@ -1,12 +1,35 @@ return { - -- You can also add new plugins here as well: - -- Add plugins, the lazy syntax - -- "andweeb/presence.nvim", - -- { - -- "ray-x/lsp_signature.nvim", - -- event = "BufRead", - -- config = function() - -- require("lsp_signature").setup() - -- end, - -- }, + -- You can also add new plugins here as well, using the lazy syntax: + -- Discord rich presence plugin + { + "andweeb/presence.nvim", + config = function() + require("presence").setup({ + auto_update = true, + show_time = true, + client_id = "242049919999803395", + + editing_text = "Doing the thing on %s", + file_explorer_text = "Scratching my head in %s", + git_commit_text = "Signing my soul away", + }) + end, + }, + + -- Tokyonight colorscheme plugin + "folke/tokyonight.nvim", + + -- Todo color comments plugin + { + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = { + keywords = { + TODO = {icon = "✔️", color = "info"}, + HACK = {icon = "🔥", color = "warning"}, + WARN = {icon = "⚠️", color = "warning"}, + } + }, + lazy = false, + }, }