Add comments

This commit is contained in:
2026-03-15 18:10:55 +01:00
parent 6648cff3a1
commit 781b26a4d6

View File

@@ -16,8 +16,8 @@ vim.o.cursorline = true -- Highlight current line
vim.o.winborder = "single" -- Borders around popups like when you press leader for keybinds vim.o.winborder = "single" -- Borders around popups like when you press leader for keybinds
vim.opt.signcolumn = vim.opt.signcolumn =
'yes' -- TEST: Prohibit layout shifting by always showing the sign column (left of line numbers), you should see an icon there on this row. 'yes' -- TEST: Prohibit layout shifting by always showing the sign column (left of line numbers), you should see an icon there on this row.
vim.o.updatetime = 250 vim.o.updatetime = 250 -- Speed up the CursorHold autocmd event
vim.o.timeoutlen = 300 vim.o.timeoutlen = 300 -- Speed up completion of key event
-- SECTION: Globals -- SECTION: Globals
vim.g.mapleader = ' ' -- Mapping leader to space. vim.g.mapleader = ' ' -- Mapping leader to space.
vim.g.maplocalleader = ' ' -- Mapping leader to space. vim.g.maplocalleader = ' ' -- Mapping leader to space.
@@ -66,10 +66,9 @@ vim.pack.add({
'https://github.com/nvim-mini/mini.completion', -- Autocomplete, needs snippets and icons 'https://github.com/nvim-mini/mini.completion', -- Autocomplete, needs snippets and icons
'https://github.com/nvim-mini/mini.snippets', -- Snippets 'https://github.com/nvim-mini/mini.snippets', -- Snippets
'https://github.com/nvim-mini/mini.icons', -- Icons 'https://github.com/nvim-mini/mini.icons', -- Icons
'https://github.com/nvim-mini/mini.cursorword', 'https://github.com/nvim-mini/mini.cursorword', -- Highlight word under cursor
'https://github.com/nvim-mini/mini.hipatterns', 'https://github.com/nvim-mini/mini.hipatterns', -- Highlight todos and rgb colors
'https://github.com/nvim-mini/mini.statusline', 'https://github.com/nvim-mini/mini.statusline', -- Statusline at the bottom
'https://github.com/nvim-mini/mini.tabline',
'https://github.com/neovim/nvim-lspconfig', -- Language servers 'https://github.com/neovim/nvim-lspconfig', -- Language servers
'https://github.com/mason-org/mason.nvim', -- LSP deps installer 'https://github.com/mason-org/mason.nvim', -- LSP deps installer
'https://github.com/mason-org/mason-lspconfig.nvim', -- Lets you install mason tooling using lsp names 'https://github.com/mason-org/mason-lspconfig.nvim', -- Lets you install mason tooling using lsp names
@@ -77,7 +76,6 @@ vim.pack.add({
'https://github.com/folke/lazydev.nvim', -- Automatically resolve vim api paths. 'https://github.com/folke/lazydev.nvim', -- Automatically resolve vim api paths.
'https://github.com/folke/which-key.nvim', -- Shortcut hints (bar at the bottom when pressing space) 'https://github.com/folke/which-key.nvim', -- Shortcut hints (bar at the bottom when pressing space)
'https://github.com/nvim-lua/plenary.nvim', -- Helper lua functions, dep of todo-comments. 'https://github.com/nvim-lua/plenary.nvim', -- Helper lua functions, dep of todo-comments.
-- 'https://github.com/folke/todo-comments.nvim', -- Helper lua functions, dep of todo-comments.
'https://github.com/nvim-treesitter/nvim-treesitter', -- Syntax highlighting 'https://github.com/nvim-treesitter/nvim-treesitter', -- Syntax highlighting
'https://github.com/stevearc/oil.nvim', -- File explorer 'https://github.com/stevearc/oil.nvim', -- File explorer
}) })
@@ -130,7 +128,6 @@ require('mini.hipatterns').setup({
} }
}) })
require('mini.statusline').setup() require('mini.statusline').setup()
require('mini.tabline').setup()
require('oil').setup() require('oil').setup()
require('nvim-treesitter').setup({ require('nvim-treesitter').setup({