Summary Files Commits Branches @commit @diff @stats
path: root / lua / plugins
diff options
context:
space:
mode:
Commite0fa240f9eb4268422a92972ef7b57ca7a73487b (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-08-05 15:09:27 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-08-05 15:09:34 +0300
Files6d0f45129bd9b5c8604559b6a112f7e328c16f4d /lua/plugins
anderson-e0fa240f9eb4268422a92972ef7b57ca7a73487b.tar
anderson-e0fa240f9eb4268422a92972ef7b57ca7a73487b.tar.gz
anderson-e0fa240f9eb4268422a92972ef7b57ca7a73487b.zip
Parent7c2d77259c3ea472048f87aac5dc06eb44bb3f94 (diff)
feat(plugins): Added comment descriptions
1 files changed, 42 insertions, 14 deletions
-rw-r--r--lua/plugins/default.lua56
diff --git a/lua/plugins/default.lua b/lua/plugins/default.lua
index e326561..36ee316 100644
--- a/lua/plugins/default.lua
+++ b/lua/plugins/default.lua
@@ -1,7 +1,7 @@
return {
--[=[ Visuals ]=]--
{
- "morhetz/gruvbox",
+ "morhetz/gruvbox", -- Color theme
lazy = false,
priority = 1000,
init = function()
@@ -15,8 +15,8 @@ return {
--[=[ Quality of life ]=]--
{
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
+ "nvim-treesitter/nvim-treesitter", -- Advanced syntax parsing
+ build = ":TSUpdate",
opts = {
ensure_installed = "all",
ignore_install = { "liquidsoap", "norg", "tlaplus", "yaml" }, -- Can't compile
@@ -29,7 +29,7 @@ return {
end,
},
{
- "preservim/nerdtree",
+ "preservim/nerdtree", -- Browse directories
dependencies = {
"ryanoasis/vim-devicons",
},
@@ -40,13 +40,31 @@ return {
vim.g.NERDTreeIgnore = { "\\.swp$", "\\~$" } -- Ignore file, ending with .swp and ~
end,
},
- { "nvim-tree/nvim-web-devicons", },
- { "numToStr/Comment.nvim", },
- { "mbbill/undotree", },
- { "godlygeek/tabular", },
- { "tpope/vim-eunuch", },
{
- "kylechui/nvim-surround",
+ "nvim-tree/nvim-web-devicons", -- NERDFont icons
+ },
+ {
+ "numToStr/Comment.nvim", -- Toggle comments
+ },
+ {
+ "mbbill/undotree", -- Easily interact with undo history
+ keys = {{ "<F5>", ":UndotreeToggle<CR>" }},
+ init = function()
+ vim.g.undotree_WindowLayout = 2
+ vim.g.undotree_ShortIndicators = 1 -- e.g. using 'd' instead of 'days' to save some space.
+ vim.g.undotree_SetFocusWhenToggle = 1 -- if set, let undotree window get focus after being opened, otherwise focus will stay in current window.
+ vim.g.undotree_TreeNodeShape = '*'
+ vim.g.undotree_DiffCommand = "diff"
+ end,
+ },
+ {
+ "godlygeek/tabular", -- Line up text to a given character
+ },
+ {
+ "tpope/vim-eunuch", -- UNIX commands in vim
+ },
+ {
+ "kylechui/nvim-surround", -- Surround text
version = "*",
event = "VeryLazy",
dependencies = {
@@ -56,10 +74,20 @@ return {
require("nvim-surround").setup(opts)
end,
},
- { "windwp/nvim-ts-autotag", },
- { "ntpeters/vim-better-whitespace", },
+ {
+ "windwp/nvim-ts-autotag", -- Auto-add and edit HTML tags
+ },
+ {
+ "ntpeters/vim-better-whitespace", -- Highlight in red trailing whitespaces
+ },
--[=[ Development-specific ]=]--
- { "zivyangll/git-blame.vim", },
- { "wakatime/vim-wakatime", lazy = false, },
+ {
+ "zivyangll/git-blame.vim", -- Show last commit on line
+ keys = {{ "<F8>", ":<C-u>call gitblame#echo()<CR>" }},
+ },
+ {
+ "wakatime/vim-wakatime", -- WakaTime tracking
+ lazy = false,
+ },
}